mirror of
https://github.com/php/php-src.git
synced 2024-11-30 05:13:56 +08:00
b68739f7f9
- Make get_http_header_value() work using case-insensitive compares for the header names, as per relevant RFC's. - General performance boost for get_http_headers(). - Fix a crash bug when a malformed URL is passed to the soap client. - Implement https:// support in the the soap client. (does not verify the remote server certificate; it provides an encrypted link only). - Provide a hook for libxml to parse files using any registered PHP wrapper, including https://, ftps:// and any user-space streams.
12 lines
480 B
C
12 lines
480 B
C
#ifndef PHP_HTTP_H
|
|
#define PHP_HTTP_H
|
|
|
|
void send_http_soap_request(zval *this_ptr, xmlDoc *doc, char *function_name, char *soapaction TSRMLS_DC);
|
|
void get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS_DC);
|
|
|
|
char *get_http_header_value(char *headers, char *type);
|
|
int get_http_body(php_stream *socketd, char *headers, char **response, int *out_size TSRMLS_DC);
|
|
int get_http_headers(php_stream *socketd,char **response, int *out_size TSRMLS_DC);
|
|
|
|
#endif
|