Skip to content

HTTPClient does not follow POST requests (feature request) #7156

Closed
@AgainPsychoX

Description

@AgainPsychoX

Feature request: HTTPClient stands for using HTTP 1.1 so it should allow to follow POST requests.

More information:
https://softwareengineering.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect

The RFC document mentioned in code require client confirmation to follow request with method other than GET and HEAD, so I propose additional flag to force follow the redirection (or extension to existing one, by enum?).

I will try to implement it tonight myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions