com php-src: add note about request_body and php://inpu t: main/SAPI.h
| From: | Michael Wallner | Date: | Thu, 19 Sep 2013 13:41:04 +0000 |
| Subject: | com php-src: add note about request_body and php://inpu t: main/SAPI.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73269@lists.php.net to get a copy of this message | ||
Commit: 11d60447f9f22944dd08d8dacba1230fc4caabd8
Author: Michael Wallner <mike@php.net> Thu, 19 Sep 2013 15:40:10 +0200
Parents: b6d0cb05533d1c7a8f0cce5cffc20352669a2506
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=11d60447f9f22944dd08d8dacba1230fc4caabd8
Log:
add note about request_body and php://input
Changed paths:
M main/SAPI.h
Diff:
diff --git a/main/SAPI.h b/main/SAPI.h
index 5525a2a..928fca9 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -85,6 +85,7 @@ typedef struct {
char *path_translated;
char *request_uri;
+ /* Do not use request_body directly, but the php://input stream wrapper instead */
struct _php_stream *request_body;
const char *content_type;