Files
node/lib
Kid 80ced1ae31 esm: treat 307 and 308 as redirects in HTTPS imports
Per RFC 7231 and 7238, HTTP `307` and `308` status code are also for
redirect responses.

Fixes: https://github.com/nodejs/node/issues/43679
Refs: https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.7
Refs: https://datatracker.ietf.org/doc/html/rfc7238

PR-URL: https://github.com/nodejs/node/pull/43689
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
2022-07-12 07:41:53 +02:00
..
…
…
2022-06-12 20:24:54 -04:00
2022-01-30 14:07:32 +00:00
2022-06-12 20:24:54 -04:00
…
2022-07-12 07:41:31 +02:00
2022-06-12 20:24:52 -04:00
2022-07-12 07:41:44 +02:00
…
2022-06-12 20:24:54 -04:00
…
2022-07-12 07:41:42 +02:00
2022-06-15 21:28:47 -04:00
2021-11-12 23:26:20 +01:00
…
2022-07-12 07:41:42 +02:00
…
2022-03-14 21:12:44 +00:00
2022-07-12 07:41:30 +02:00
2022-06-12 20:24:55 -04:00