[
https://issues.apache.org/jira/browse/KNOX-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18142293#comment-18142293
]
ASF subversion and git services commented on KNOX-3559:
-------------------------------------------------------
Commit 6d5223def135b8bdb4c6adaac8b6fb6912354e51 in knox's branch
refs/heads/master from bonampak
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=6d5223def ]
KNOX-3559: Ignore the backend Content-Length header regardless of case when
rewriting responses (#1498)
> Ignore the backend Content-Length header regardless of case when rewriting
> responses
> ------------------------------------------------------------------------------------
>
> Key: KNOX-3559
> URL: https://issues.apache.org/jira/browse/KNOX-3559
> Project: Apache Knox
> Issue Type: Task
> Components: Server
> Affects Versions: 3.1.0
> Reporter: Tamás Marcinkovics
> Assignee: Tamás Marcinkovics
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> {{UrlRewriteResponse}} drops the backend {{Content-Length}} header because
> rewriting can change the body length. The header name check is case
> sensitive, so a lowercase {{content-length}} header (e.g. from OpenSearch
> Dashboards / Node.js) is passed to the response. When the rewritten body is
> longer, Jetty aborts the response (written N > M content-length) and the
> client gets a failed request.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)