iPXE discussion forum
HTTP redirect 301 support - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: HTTP redirect 301 support (/showthread.php?tid=8269)



HTTP redirect 301 support - lzap - 2016-12-22 15:41

I am experiencing issues with HTTP redirect when loading kernel/image from HTTP. Is HTTP redirect supported in the HTTP implementation? I can't find this in the codebase, thanks.


RE: HTTP redirect 301 support - NiKiZe - 2016-12-22 19:35

What are the issues you are seeing, do you have a error (including ipxe.org/err url if available) or what happens.

what if you do imgfetch http://redirecting url followed by imgstat, what do you see?


RE: HTTP redirect 301 support - NiKiZe - 2016-12-22 21:40

Just tested and 301 redirects works just fine
The Location redirect handling code can be seen here


RE: HTTP redirect 301 support - lzap - 2016-12-23 11:01

Oh thanks for the code link, I was using old version of iPXE!