j0k3r / graby

Graby helps you extract article content from web pages
MIT License
362 stars 73 forks source link

Return EffectiveResponse from HttpClient #324

Closed jtojnar closed 1 year ago

jtojnar commented 1 year ago

Another step in more type-safe Graby 3.0.

HttpClient will return EffectiveResponse instead of an array, and Content will expose that, instead of having status/headers/url directly. While at it, we are using UriInterface internally instead of string.

jtojnar commented 1 year ago

I have split the primary commit into several smaller independent ones so it is easier to review commit-by-commit.