projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
25dc615
)
- some notes about user space objects
author
Michael Wallner
<mike@php.net>
Mon, 7 Nov 2005 13:50:53 +0000
(13:50 +0000)
committer
Michael Wallner
<mike@php.net>
Mon, 7 Nov 2005 13:50:53 +0000
(13:50 +0000)
http_request_object.c
patch
|
blob
|
history
diff --git
a/http_request_object.c
b/http_request_object.c
index 8ea4da69a989ee15427a2f24e4d4ae8317d9d0ac..fbddcc6ec8e470e5f5254b19fe70d91f9ae86db2 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-1874,6
+1874,13
@@
PHP_METHOD(HttpRequest, getResponseMessage)
* references the last received response. Use HttpMessage::getParentMessage()
* to access the data of previously sent requests whithin this request
* cycle.
* references the last received response. Use HttpMessage::getParentMessage()
* to access the data of previously sent requests whithin this request
* cycle.
+ *
+ * Note that the internal request message is immutable, that means that the
+ * request message received through HttpRequest::getRequestMessage() will
+ * always look the same for the same request, regardless of any changes you
+ * may have made to the returned object.
+ *
+ * Throws HttpMalformedHeadersException, HttpEncodingException.
*/
PHP_METHOD(HttpRequest, getRequestMessage)
{
*/
PHP_METHOD(HttpRequest, getRequestMessage)
{
@@
-1905,7
+1912,11
@@
PHP_METHOD(HttpRequest, getRequestMessage)
* The object references the last received response, use HttpMessage::getParentMessage()
* to access the data of previously sent requests and received responses.
*
* The object references the last received response, use HttpMessage::getParentMessage()
* to access the data of previously sent requests and received responses.
*
- * Throws HttpMalformedHeaderException.
+ * Note that the internal history is immutable, that means that any changes
+ * you make the the message list won't affect a history message list newly
+ * created by another call to HttpRequest::getHistory().
+ *
+ * Throws HttpMalformedHeaderException, HttpEncodingException.
*/
PHP_METHOD(HttpRequest, getHistory)
{
*/
PHP_METHOD(HttpRequest, getHistory)
{