projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- make request_exec() always succeed (picky curl)
[m6w6/ext-http]
/
http_request_object.c
diff --git
a/http_request_object.c
b/http_request_object.c
index 73d3718394848ecf3f4ff50aae370110dd86e0a9..2ed979789b009c8a93b2c983baca769b5a50a946 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-1957,6
+1957,10
@@
PHP_METHOD(HttpRequest, clearHistory)
*
* Returns the received response as HttpMessage object.
*
*
* Returns the received response as HttpMessage object.
*
+ * NOTE: While an exception may be thrown, the transfer could have succeeded
+ * at least partially, so you might want to check the return values of various
+ * HttpRequest::getResponse*() methods.
+ *
* Throws HttpRuntimeException, HttpRequestException,
* HttpMalformedHeaderException, HttpEncodingException.
*
* Throws HttpRuntimeException, HttpRequestException,
* HttpMalformedHeaderException, HttpEncodingException.
*