View | Details | Raw Unified | Return to bug 61086
Collapse All | Expand All

(-)java/org/apache/coyote/http11/Http11Processor.java (-1 / +1 lines)
Lines 1163-1169 Link Here
1163
        }
1163
        }
1164
1164
1165
        MimeHeaders headers = response.getMimeHeaders();
1165
        MimeHeaders headers = response.getMimeHeaders();
1166
        if (!entityBody) {
1166
        if (!entityBody && statusCode != 205) {
1167
            response.setContentLength(-1);
1167
            response.setContentLength(-1);
1168
        }
1168
        }
1169
        // A SC_NO_CONTENT response may include entity headers
1169
        // A SC_NO_CONTENT response may include entity headers

Return to bug 61086