[
https://issues.apache.org/jira/browse/AWF-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-153 to AWF-154:
-----------------------------------------
Fix Version/s: (was: 0.4.0)
Component/s: (was: Core)
Issue Type: Bug (was: New Feature)
Reporter: Niklas Gustavsson
Key: AWF-154 (was: DEFT-153)
Project: Apache AWF (was: Deft)
> Problems with PUT request
> -------------------------
>
> Key: AWF-154
> URL: https://issues.apache.org/jira/browse/AWF-154
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Niklas Gustavsson
> Assignee: Johnathan Meehan
> Attachments: deft-153_preview.patch
>
>
> Hi,
> It seems that PUT requests that contain a large body are truncated.
> Temporarily, I resolved with the following workaround in the method
> HttpRequest.of ()
> if (requestLine.contains ("POST") | | requestLine.contains ("PUT")) {
> int ContentLength = Integer.parseInt (generalHeaders.get
> ("content-length"));
> if (ContentLength> body.length ()) {
> return new PartialHttpRequest (requestLine, generalHeaders,
> body);
> }
> }
> I hope it can be helpful:)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira