Skip to content

Make the HttpClient interface more compatible with fetch #3071

@janbuchar

Description

@janbuchar
  • the current state is modelled after got-scraping for backward compatibility
  • get rid of HttpRequest.responseType , add .json method instead
    • maybe a .stream one as well?
  • make sure that redirection, cookies and status code handling is done in Crawlee and not in the client implementation
    • this will simplify writing custom http clients

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions