projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* we should just send the full entity if the range header si syntactically invalid
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index 0b65451b49b2d234e097d060601b34409ed1f21e..105e4b661a8adcfa620f40c9917f6e56d62dfad8 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-57,6
+57,7
@@
PHP_FUNCTION(http_send_stream);
PHP_FUNCTION(http_chunked_decode);
PHP_FUNCTION(http_split_response);
PHP_FUNCTION(http_parse_headers);
PHP_FUNCTION(http_chunked_decode);
PHP_FUNCTION(http_split_response);
PHP_FUNCTION(http_parse_headers);
+PHP_FUNCTION(http_get_request_headers);
#ifdef HTTP_HAVE_CURL
PHP_FUNCTION(http_get);
PHP_FUNCTION(http_head);
#ifdef HTTP_HAVE_CURL
PHP_FUNCTION(http_get);
PHP_FUNCTION(http_head);
@@
-67,6
+68,7
@@
PHP_FUNCTION(http_auth_basic);
PHP_FUNCTION(http_auth_basic_cb);
PHP_MINIT_FUNCTION(http);
PHP_FUNCTION(http_auth_basic_cb);
PHP_MINIT_FUNCTION(http);
+PHP_MSHUTDOWN_FUNCTION(http);
PHP_RSHUTDOWN_FUNCTION(http);
PHP_MINFO_FUNCTION(http);
PHP_RSHUTDOWN_FUNCTION(http);
PHP_MINFO_FUNCTION(http);
@@
-77,6
+79,7
@@
ZEND_BEGIN_MODULE_GLOBALS(http)
char *ctype;
char *etag;
time_t lmod;
char *ctype;
char *etag;
time_t lmod;
+ char *allowed_methods;
#ifdef HTTP_HAVE_CURL
struct {
struct {
#ifdef HTTP_HAVE_CURL
struct {
struct {