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

Added put to possible redirect message type. #470

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

kramen22
Copy link

@kramen22 kramen22 commented Jun 27, 2019

If a put is redirected currently it drops into the else block that sets getMethod to ExtendedGetMethod. Added put as an option.

I think potentially this should involve all request types and reuse the switch from createHttpMethod around line 430. Currently if you have a site that redirects and try to run a put the put flops to a get in the old else block. It looks like someone fixed it for post but never added other verbs or thought they would not be applicable. I believe all of them could redirect and drop into the followRedirects method.

If a put is redirected currently it drops into the else block that sets getMethod to ExtendedGetMethod. Added put as an option.
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

Successfully merging this pull request may close these issues.

1 participant