https://bz.apache.org/bugzilla/show_bug.cgi?id=61086
Alexandr Saperov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #3 from Alexandr Saperov <[email protected]> --- Still reproducable on 8.5.16-19. org.apache.coyote.http11.Http11Processor ... 1129 entityBody = false; 1130 contentDelimitation = true; 1131 if (statusCode == 205) { 1132 // RFC 7231 requires the server to explicitly signal an empty 1133 // response in this case 1134 response.setContentLength(0); 1135 } ... 1166 if (!entityBody) { 1167 response.setContentLength(-1); 1168 } Explicitly setting contentLength(0) in 1134 overrides by 1167, so response doesn't contain Content-Length header. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
