Skip to content

Conversation

Skyiesac
Copy link

This PR fixes a bug where missing Authorization headers in declarative endpoint syntax were incorrectly returning HTTP 400 (Bad Request) instead of the RFC-compliant HTTP 401 (Unauthorized) status code.

Closes #3235
/claim #3235

@CLAassistant
Copy link

CLAassistant commented Aug 10, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Aug 10, 2025

Deploy Preview for zio-http ready!

Name Link
🔨 Latest commit f31eeb1
🔍 Latest deploy log https://app.netlify.com/projects/zio-http/deploys/68b1db78aac7c000088f6fdb
😎 Deploy Preview https://deploy-preview-3614--zio-http.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Skyiesac
Copy link
Author

Hey @jdegoes @987Nabil @kyri-petrou @vigoo ,
Could you review this PR when you get a chance? If everything looks good, kindly merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Authorization header is reported as 400 instead of 401
2 participants