Skip to content

fix: use 307 status for HTTP redirects#81

Merged
thesuperzapper merged 2 commits into
deployKF:mainfrom
thesuperzapper:fix-use-307-https-redirect
Jan 27, 2024
Merged

fix: use 307 status for HTTP redirects#81
thesuperzapper merged 2 commits into
deployKF:mainfrom
thesuperzapper:fix-use-307-https-redirect

Conversation

@thesuperzapper

Copy link
Copy Markdown
Member

Currently, we use a 302 redirect for HTTP -> HTTPS which is breaking non-GET requests. This PR replaces the 302 with a 307 temporary redirect which should allow POST and other operations to succeed.

References:

@thesuperzapper thesuperzapper added this to the v0.1.4 milestone Jan 23, 2024
Signed-off-by: Mathew Wicks <[email protected]>
@thesuperzapper thesuperzapper changed the title fix: use 307 for HTTPS redirect fix: use 307 for HTTP redirects Jan 27, 2024
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into an upcoming release label Jan 27, 2024
@thesuperzapper thesuperzapper changed the title fix: use 307 for HTTP redirects fix: use 307 status for HTTP redirects Jan 27, 2024
@thesuperzapper
thesuperzapper merged commit 9079708 into deployKF:main Jan 27, 2024
@thesuperzapper
thesuperzapper deleted the fix-use-307-https-redirect branch January 27, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix status/ready-to-merge status - this will be merged into an upcoming release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant