Skip to main content

Response HTTP headers

Scraping Fish returns it's own headers but preserves all the headers from the original website as well. The original headers are prefixed with Sf- prefix. The Content-Type header is set to original response Content-Type if it's available.

Example

If the website you want to scrape responds with the following headers:

Content-Type: text/html; charset=UTF-8
Content-Length: 1256
Server: ECS (dcb/7F84)

then in such a case Scraping Fish API will respond with headers:

<ScrapingFish headers>
Content-Type: text/html; charset=UTF-8
Sf-Content-Type: text/html; charset=UTF-8
Sf-Content-Length: 1256
Sf-Server: ECS (dcb/7F84)