Skip to content

net/http: Client doesn't support 302/303 redirects from POST->GET #4145

Closed
@gopherbot

Description

@gopherbot

by tomjamesgillespie:

What steps will reproduce the problem?
1. Make a post request with http.Client
2. If a 30x is returned, the redirect isn't followed

What is the expected output?
http.Client should follow the redirect chain, and return the final response

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Windows 386

Which version are you using?  (run 'go version')
devel (straight from hg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions