mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-30 13:34:54 +02:00
Transport errors, non-2xx responses, and malformed bodies were returned as None, which the shared source runner maps to a completed run. Classify them with the shared provider_http_error convention so failures surface as failed/rate-limited outcomes and partial data is preserved: - hunter/tomba: _fetch_json returns dict or SourceExecutionReport; malformed-dict shapes still map to invalid-response - gitlab: unreachable 'if not response' guard replaced; [None] transport failures report transport-error instead of invalid-response - waybackarchive: transport errors no longer masquerade as end-of-data; _search_pattern returns explicit SourceExecutionReport outcomes and HTTP failures use provider_http_error - certspotter: transport failures distinguished from invalid responses; HTTP failures classified per the shared convention Contract tests updated to assert the resulting reports and to mock the metadata-shaped responses the shared transport actually delivers.