You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hato converts the multipart parameters into a stream, which makes HttpClient to unconditionally use an InputStreamPublisher, which doesn't set content length, which results in a chunked request.
That can be problematic because e.g. Trello doesn't support it - its API returns HTTP 411 if a request doesn't have content length (and chunked requests can't have content length).
The text was updated successfully, but these errors were encountered:
…the multipart body (where appropriate)
- This introduces a new protocol called MultipartParam which can be extended to support additional
content types. By default we're matching essentially what io/input-stream does by default to
minimize any backwards incompatible changes here
- When we know the content-length of the multipart body, supply it to the HttpClient
Hato converts the multipart parameters into a stream, which makes
HttpClient
to unconditionally use anInputStreamPublisher
, which doesn't set content length, which results in a chunked request.That can be problematic because e.g. Trello doesn't support it - its API returns HTTP 411 if a request doesn't have content length (and chunked requests can't have content length).
The text was updated successfully, but these errors were encountered: