Re: new redirection codes

Thomas Dickey <[email protected]> Sun, 11 May 2025 19:11:36 -0400
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Mon, May 12, 2025 at 12:43:06AM +0200, Thorsten Glaser wrote:
> Hi,
> 
> lynx only supports the old 301/302 redirection codes,
> not the new 307/308 ones whose semantics are more useful;
> unsure (I’ve not tested it) whether 303 is supported right.
> 
> 301/302 may change the request method from POST to GET
> (IIRC lynx asks interactively which is good), whereas
> 308/307 (in this order) are the same but require the client
> to resend exactly the same request to the redirection target.
> 
> There’s more explanation and a short summary of the other
> codes in both answers (together) of
> <https://stackoverflow.com/q/42136829/2171120> for reference.
> 
> Please add support for 307/308 to the next lynx (basically
> same as the existing redirect sans the interactive question).

I don't see a patch.

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmghLqgACgkQzCr0RyFn
vgMRjAv/fTT2QcMsOaN7TvjRsvwgdwkFH5bdzQNPj9hrLWIyzA1UH0RNVx7Owe/X
dPpV0HlZatC27xbNtHflDrSOMyvB9yOr21412OU6MiHwND4smhNd7uez/WZvxyfL
T46b5YDpb7gfGSVZ4Zb66x0upSp4olJ6XRiRcLD78OtAoBDqtxNbfUqoUs12frod
+b7RGAkSb4dA239hEub5z6Vw2Dh53HQIwHTY/gt0LEC6D6Hg99gMn7JfAKdmMeGC
c0UoVIfUoFlzmEC4Pkdg1rGJsjio7uooaJagB9oxvtIxy7FqEQTi2V/1Th4qGBQ1
n/wq6QGdP4X8/7F7M4mmVA2xw3NOaW1jwdUbnVsgEVfFylS7a6nrh//vISFVRQQz
UAv0kbhx7E/2Dcf+l3qppRDYWssbzAHtQ1kAMrtWnK1Io6KnwsNkCJ2SIPoT4ygY
DJ4NvDzcZd12M8sRwaGU58wpXOU7jzDWtFz4HCt8A0CYCivWRwgd9KMOUNCC/qxQ
yZsXGuWd
=7oNQ
-----END PGP SIGNATURE-----