-
Notifications
You must be signed in to change notification settings - Fork 93
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
Valid response header names and values #26
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
Thinking specifically about HTTP header values: From the HTTP spec:
How do we expose that opaque data to applications? |
I'm very cautious about going outside of the recommendation to limit header fields to US-ASCII. I have seen zero demand for arbitrary opaque bytes, as only the occasional usage of 8859-1 or question about utf-8. |
Currently no validation is required when setting a response HTTP header or value. Should the specification require that invalid values are rejected? Should the specification provide a mechanism for escaping header names and values? What about values that cannot be escaped such as UTF-8 values?
The text was updated successfully, but these errors were encountered: