Commit 313c83d
authored
Correct the documented default of the http follow_location option (#5845)
Not setting the option and setting it to 1 are not equivalent. When it is absent, redirects are only followed for the 300, 301, 302, 303, 307 and 308 response codes; when it is set, any response carrying a Location header is followed regardless of its response code.1 parent 8ae3159 commit 313c83d
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
0 commit comments