Update networking layer w/ CURL and emscripten impl

This commit is contained in:
2025-11-08 01:50:36 +11:00
parent a17925904d
commit f6874dc55a
4105 changed files with 694617 additions and 179 deletions
+30
View File
@@ -0,0 +1,30 @@
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: follow
Help: Follow redirects per spec
Category: http
Protocols: HTTP
Added: 8.16.0
Multi: boolean
See-also:
- request
- location
- proto-redir
- max-redirs
Example:
- -X POST --follow $URL
---
# `--follow`
Instructs curl to follow HTTP redirects and to do the custom request method
set with --request when following redirects as the HTTP specification says.
The method string set with --request is used in subsequent requests for the
status codes 307 or 308, but may be reset to GET for 301, 302 and 303.
This is subtly different than --location, as that option always set the custom
method in all subsequent requests independent of response code.
Restrict which protocols a redirect is accepted to follow with --proto-redir.