Stop stripping newlines from batch requests
When forming a multipart/mixed HTTP request like the ones created using the BatchHttpRequest object, the request is supposed to include two trailing newlines to signify: 1. The termination of the HTTP headers for each wrapped request. 2. The empty body of the wrapped request. Without this change some implementations of API servers were rejecting requests generated by this client. Specifically requests which had an empty wrapped request body.
Loading
Please sign in to comment