Skip to content

Conversation

@onyb
Copy link
Member

@onyb onyb commented Sep 11, 2025

Amazon ALB cannot handle nested 307 redirects. Call the internal route functions directly (with 200 status code) instead of returning a redirect response with 307.

I followed TDD with the unit tests. Made sure the route tests were passing before and after making the changes to app/api/nft/routes.py.

@onyb onyb self-assigned this Sep 11, 2025
@onyb onyb force-pushed the f/nft/avoid-redirect branch from 3a5da6c to 86fe5bc Compare September 11, 2025 20:37
@github-actions
Copy link

The following commits were not verified:
86fe5bc (unsigned)

Copy link
Collaborator

@hspencer77 hspencer77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@hspencer77 hspencer77 self-requested a review September 11, 2025 20:45
Copy link
Collaborator

@hspencer77 hspencer77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@hspencer77 hspencer77 enabled auto-merge (squash) September 11, 2025 20:46
@hspencer77 hspencer77 disabled auto-merge September 12, 2025 02:42
@hspencer77 hspencer77 merged commit 5e80bbe into master Sep 12, 2025
5 checks passed
@hspencer77 hspencer77 deleted the f/nft/avoid-redirect branch September 12, 2025 03:56
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.

4 participants