bryancall commented on a change in pull request #6794:
URL: https://github.com/apache/trafficserver/pull/6794#discussion_r425891977
##########
File path: proxy/hdrs/MIME.cc
##########
@@ -2570,8 +2570,12 @@ mime_parser_parse(MIMEParser *parser, HdrHeap *heap,
MIMEHdrImpl *mh, const char
// server MUST reject any received request message that contains
// whitespace between a header field-name and colon with a response code
// of 400 (Bad Request).
+ //A proxy MUST remove any such whitespace from a response message before
+ // fowarding the message downstream.
if (is_ws(field_name.back())) {
- return PARSE_RESULT_ERROR;
+ if (!remove_ws_from_field_name)
Review comment:
Please add braces for this if statement.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]