-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for informational headers #47
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #47 +/- ##
==========================================
+ Coverage 90.46% 90.86% +0.39%
==========================================
Files 18 18
Lines 2832 2779 -53
==========================================
- Hits 2562 2525 -37
+ Misses 210 194 -16
Partials 60 60 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn ! So much deletion 😂 but seems good !
This PR introduces support for informational headers (such as 103 Early Hints), by allowing preliminary headers to be sent before the final response. This feature enables applications to send hints to clients (e.g., preload assets) that improve page load performance and responsiveness. This feature is supported in the http standard library but was not handle correctly by Fox.
Example