You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quilt_request_header() would be even better if it specifically took (name, value, append|replace) and buffered accordingly within libquilt (with case-insensitivity on name handled properly)
Doing it that way would prevent a single function call from setting multiple values. An API as you describe should also distinguish between appending new values to an existing line delimited by commas (most headers, e.g. Vary support this) or adding as a new header line (e.g. Set-Cookie only supports one value per header due to history—the header name needs to be repeated to add more).
We also have the special status line header to consider if buffering.
The text was updated successfully, but these errors were encountered:
@nickshanks wrote in #58:
@nevali replied:
Doing it that way would prevent a single function call from setting multiple values. An API as you describe should also distinguish between appending new values to an existing line delimited by commas (most headers, e.g.
Vary
support this) or adding as a new header line (e.g.Set-Cookie
only supports one value per header due to history—the header name needs to be repeated to add more).We also have the special status line header to consider if buffering.
The text was updated successfully, but these errors were encountered: