InternetHelper incorrectly sets both "Transfer-Encoding: chunked" & "Content-Length" headers #15685
Labels
Bug
Issues and pull requests that are regressions or would be considered a bug by users (e.g. crashing)
Framework
Issues and pull requests related to components in the Framework
Patch Candidate
Urgent issues that must be included in a patch following a release
Milestone
A HTTP message using any
Transfer-Encoding
other thanidentity
should not set theContent-Length
header - see HTTP protocol. This is currently done inInternetHelper::createRequest
.Servers are supposed to ignore the
Content-Length
ifTransfer-Encoding
is specified but at the time this issue was created there was an problem with the proxy servers at RAL mangling the data if both of these header fields were present. This manifests itself by not allowing:if you are on the RAL network.
To reproduce the problem (only currently reproducible at ISIS):
Mantid.user.properties
and addThe text was updated successfully, but these errors were encountered: