Skip to content

Expose metadata of HTTP responses #20

@flaki

Description

@flaki

There is currently no way to follow HTTP redirects when fetching an URL with the http.* functions. HTTPResponse (and friends), the result type of these calls only exposes formatted bodies, but no response status (e.g. 3xx codes for redirects) or headers (Location), thus there is no way to know how to fetch the actual result if the current URL is being redirected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions