英国首相宣布提前举行大选 称有利于"脱欧"谈判
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 6, 2022 at 12:41 | comment | added | divix | This doesn't work on some POST requests too. | |
Jun 8, 2017 at 22:36 | comment | added | Simon E. | This method also fails on 302 redirects when curl is set to follow the location header. | |
Apr 8, 2014 at 14:47 | comment | added | msangel |
@ghostfly, i have the solution for 100 in comment under "correct" answer.
|
|
Dec 13, 2013 at 10:48 | comment | added | Alrik |
Take a look to the selected answer of stackoverflow.com/questions/14459704/… before implementing something like this. w3.org/Protocols/rfc2616/rfc2616-sec14.html (14.20) A server that does not understand or is unable to comply with any of the expectation values in the Expect field of a request MUST respond with appropriate error status. The server MUST respond with a 417 (Expectation Failed) status if any of the expectations cannot be met or, if there are other problems with the request, some other 4xx status.
|
|
S Jun 30, 2013 at 18:45 | history | suggested | papsy | CC BY-SA 3.0 |
This should fix the "HTTP 1/0 Continue" issue mentioned in the comments. I don't know how to reply there, or I would have.
|
Jun 30, 2013 at 18:18 | review | Suggested edits | |||
S Jun 30, 2013 at 18:45 | |||||
May 23, 2013 at 19:38 | comment | added | ghostfly | This works normally except when there's a HTTP/1.1 100 Continue followed by a break then HTTP/1.1 200 OK. I'd go with the other method. | |
Feb 7, 2012 at 20:21 | history | answered | user1031143 | CC BY-SA 3.0 |