Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forwardbody option for redirects #1183

Open
ghazel opened this issue Jul 19, 2024 · 0 comments
Open

forwardbody option for redirects #1183

ghazel opened this issue Jul 19, 2024 · 0 comments

Comments

@ghazel
Copy link

ghazel commented Jul 19, 2024

This is a feature request for a forwardbody type of feature for redirects, much like the forwardheaders option. Simply put, POST data would get re-submitted after a redirect. This plus redirect_method=:same would be roughly equivalent to curl's --post301 option.

From curl:

--post301 Tells curl to respect RFC 2616/10.3.2 and not convert POST requests into GET requests when following a 301 redirection. The non-RFC behaviour is ubiquitous in web browsers, so curl does the conversion by default to maintain consistency. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant