diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-16 16:36:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 23:19:42 +0100 |
commit | b2e2a7426cf042de2c58356c1faec2481beb7aac (patch) | |
tree | 8d728c12c35d3129562ba2fad7793f50f914ee50 /README.hardware | |
parent | 524417d587712fdb2a997210f0cbaa1a96752dfd (diff) | |
download | poky-b2e2a7426cf042de2c58356c1faec2481beb7aac.tar.gz |
bitbake: fetch2/wget: fallback to GET if HEAD is rejected in checkstatus()
The core change here is to fall back to GET requests if HEAD is rejected in the
checkstatus() method, as you can't do a HEAD on Amazon S3 (used by Github
archives). This meant removing the monkey patch that the default method was GET
and adding a fixed redirect handler that doesn't reset to GET.
Also, change the way the opener is constructed from an if/elif cluster to a
conditionally constructed list.
(Bitbake rev: b993d96203541cd2919d688559ab802078a7a506)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6ec70d5d2e330b41b932b0a655b838a5f37df01e)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
0 files changed, 0 insertions, 0 deletions