diff options
author | Ross Burton <ross.burton@intel.com> | 2017-07-29 18:23:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-31 15:13:53 +0100 |
commit | 780e9fb87796bff5445179412f69e80b9438f323 (patch) | |
tree | 17e8c69aeb1e8c818a46c4c7465169bb253731d8 /bitbake/lib/bb/parse | |
parent | 9d1faf1a6fbfa6ee854ccf2c3d0bf3accbc59f6f (diff) | |
download | poky-780e9fb87796bff5445179412f69e80b9438f323.tar.gz |
bitbake: wget: fix FusionForge workaround
My previous assertion about FusionForge appears to have been wrong, or
FusionForge has changed behaviour, or both.
FusionForge now mandates that downloads have the Accept header set, despite that
header being optional, and returns a 406 Not Acceptable error if it isn't set.
As we were pretending that 406 was actually 405 (Moved) and tried to handle it as a
redirect this results in an infinite loop until Python kills the recursion.
Delete the handling of 406 as 405, and pass Accept: */* in the headers.
(Bitbake rev: bb70ae0c9aac5ec688026d23a64ac0cac1947187)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
0 files changed, 0 insertions, 0 deletions