commit | fdd6dec9c4be2fbd667cf874c4cc6f4ffecaeef9 | [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 21:21:22 2016 +0000 |
tree | ddd62b3e4d1d037c02365771d9b94d468836bd22 | |
parent | 55c4f9ba7f5c59e3345f2c1869464433ffa8dc2b [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. Change-Id: Iece7e0ee252349bbaa9fb8545da2c34d2a76ae69