Skip to content

Conversation

@manikyarathore
Copy link

Added HttpToHttpsPreserveMethodFilter to ensure REST clients retain their original HTTP method when redirected from HTTP to HTTPS. The previous 302/301 redirect behavior caused browsers and clients to resend requests as GET, breaking POST/PUT operations on /webservice/* endpoints.

This fix uses an explicit 308 Permanent Redirect to preserve the method and request body. Also updated web.xml to register the new filter.

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