You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When curl follows a redirect and if the request is a POST, it will do the
following request with a GET if the HTTP response was 301, 302, or 303. If the
response code was any other 3xx code, curl will re-send the following request
using the same unmodified method.
do -> send/repeat (send seems like the right choice since it corresponds to the later usage in the text)
following -> following/subsequent/replacement/related
-When curl follows a redirect and if the request is a POST, it will do the +When curl follows a redirect and if the request is a POST, it will send the
following request with a GET if the HTTP response was 301, 302, or 303. If the
response code was any other 3xx code, curl will re-send the following request
using the same unmodified method.
The end of the paragraph doesn't clearly highlight that for any non-POST request and any POST request with any other 3xx code it's retransmitted otherwise (i.e. other than the location) unmodified. Partially this is because the paragraph's introductory sentence focuses on POST. I can't really explain just how confusing this can be.
(I've spent the last month or so reading posts to https://github.community and can attest to how easily readers can be confused by slightly unclear text.)
The text was updated successfully, but these errors were encountered:
curl/docs/cmdline-opts/location.d
Lines 17 to 20 in 3085ccf
do -> send/repeat (send seems like the right choice since it corresponds to the later usage in the text)
following -> following/subsequent/replacement/related
The end of the paragraph doesn't clearly highlight that for any non-
POST
request and anyPOST
request with any other3xx
code it's retransmitted otherwise (i.e. other than the location) unmodified. Partially this is because the paragraph's introductory sentence focuses onPOST
. I can't really explain just how confusing this can be.(I've spent the last month or so reading posts to https://github.community and can attest to how easily readers can be confused by slightly unclear text.)
The text was updated successfully, but these errors were encountered: