commit | 6f10c5f7c550b1bd6df1d9a04b5e75e03f943639 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Thu Mar 03 22:35:43 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Mon Mar 07 13:34:56 2016 -0800 |
tree | fbadd6266c6ae84e28016a7c65d96c035b1ef2a7 | |
parent | 1cfb124437d8b8d430c46ec076e21959ab6a6614 [diff] |
Parse and use extra HTTP headers when downloading the payload. Android OTA backend requires to pass an Authorization HTTP header in order to download some payload. This patch allows to specify such header when initiating a payload download from Android. Bug: 27047110 TEST=Added unittests to check the headers sent. (cherry picked from commit fdd6dec9c4be2fbd667cf874c4cc6f4ffecaeef9) Change-Id: I59d38d79a7b7a8975d105c611c692522b6c33707