|
| | parseResponseHeaders (&$data, $headersProcessed=false, $debug=0) |
| | Parses HTTP an http response headers and separates them from the body.
|
| |
|
|
static | decodeChunked ($buffer) |
| |
◆ parseResponseHeaders()
| PhpXmlRpc\Helper\Http::parseResponseHeaders |
( |
& | $data, |
|
|
| $headersProcessed = false, |
|
|
| $debug = 0 ) |
Parses HTTP an http response headers and separates them from the body.
- Parameters
-
| string | $data | the http response, headers and body. It will be stripped of headers |
| bool | $headersProcessed | when true, we assume that response inflating and dechunking has been already carried out |
- Return values
-
| array | with keys 'headers', 'cookies', 'raw_data' and 'status_code' |
- Exceptions
-
The documentation for this class was generated from the following file:
- lib/phpxmlrpc/Helper/Http.php