Commit 9a8f94ba authored by Pepper Lebeck-Jobe's avatar Pepper Lebeck-Jobe
Browse files

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.
parent 63f5f3ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment