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

Handle HTTP 103 Early Hints #523

Closed
wants to merge 1 commit into from

Conversation

thomasjm
Copy link
Contributor

This fixes #521 by handling the 103 Early Hints header specially.

It doesn't quite fix fpco/http-reverse-proxy#44. To make the reverse proxy work properly in the present of 103 Early Hints, I think we need to separate the early hint headers from the normal headers. I don't think that can be done without changing the API. I'm thinking we can add a responseEarlyHeaders field to the Response object and put them in there instead?

@snoyberg
Copy link
Owner

I think such an addition can make sense. I think it can also be done in a mostly backwards-compatible way.

For this PR, can you add a version bump and changelog entry?

@thomasjm
Copy link
Contributor Author

Closing in favor of #524 per discussion there.

@thomasjm thomasjm closed this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants