fix: Add Auth header to individual batch requests

* Fixes an issue where the authorization HTTP header wasn't
  being applied to individual batch requests.

[pr #822, refs #817]
This commit is contained in:
Egor Vorobiev authored and Mike Moore committed 2019-08-19 12:08:44 -06:00
1 parent 71a638b85d
commit 837cf00706
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -277,13 +277,14 @@ EOF
--outer
Content-Type: application/http
Content-Id: <b1981e17-f622-49af-b2eb-203308b1b17d+0>
Content-Length: 349
Content-Length: 380
Content-Transfer-Encoding: binary
POST /upload/zoo/animals? HTTP/1.1
X-Goog-Api-Client: #{x_goog_api_client_value}
Content-Type: multipart/related; boundary=inner
X-Goog-Upload-Protocol: multipart
Authorization: Bearer a token
Host: www.googleapis.com
--inner