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

Error code responses #57

Merged
merged 11 commits into from
Mar 15, 2024
Merged

Error code responses #57

merged 11 commits into from
Mar 15, 2024

Conversation

jdub233
Copy link
Contributor

@jdub233 jdub233 commented Mar 13, 2024

Returns semantic error codes for 401, 403, and 404 responses.

With the correct codes, the upstream proxy is capable of supplying user friendly custom error pages. Handling user friendly responses at the proxy layer allows the Object Lambda responses to stay consistent with the standards of the S3 REST API.

so as to make it available in other parts of the script
to unauthorized requests where there is no shibboleth session
and go back to returning semantically correct error codes. We will rely on custom error handling in the upstream proxy to provide more user friendly responses.
@jdub233 jdub233 merged commit bf8d263 into main Mar 15, 2024
3 checks passed
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