zend-http
zend-http copied to clipboard
Http component from Zend Framework
- some fixes on PHPDoc - added checks on types when needed ### Changed - Throw an exception when unable to uncompress response content - Relative URIs are not allowed...
I have an issue with `SetCookie::isValidForRequest()`. There is an unexpected behavior with cookies, while requesting. The problem is that `SetCookie` for "**.**example.com" do not applying to "www.example.com" or even to...
Shouldn't that be catched? ``` shell [Zend\Http\Header\Exception\InvalidArgumentException] Invalid date passed as string (0) [Exception] DateTime::__construct(): Failed to parse time string(0) at position 0 (0): Unexcepted character ```
Dear ZF Team, Is there a roadmap or plans for version 3.0 of this component, making it PSR-7 compilant? Thinking about it, I can see 3 major responsibilities of this...
Zend\Http\Response::decodeChunkedBody fail with exception when curl adapter decode body itself , BUT it still has "Transfer-Encoding: encoded" header ``` $client = new \Zend\Http\Client(); $client->setOptions(array( 'sslverifypeer' => false, 'adapter' => 'Zend\Http\Client\Adapter\Curl',...
The issue was in non-printable symbol between those 2 lines in response from moz blog. I suppose it was added as some kind of bots protection by your cdn provider....
Hi, We are using our application with around 25 workers (with beanstalkd and 25 listening proccesses). Most of the time we use the Client object to retrieve external content. And...
In http client zendframework/zend-http/src/Client.php:1231 $body request is created using http_build_query function. $body = http_build_query($this->getRequest()->getPost()->toArray()); Problem is that separator can be changed via ini_set('arg_separator.output', 'some other'); and this will break http...
Currently there is a lack of HTTP header builder / parser in the PHP community ecosystem. I suggest move `Zend\Http\Header` namespace to an standalone component for better reusability. Actually `zendframework/zend-http`...
Symfony has a [`create`](https://github.com/symfony/http-foundation/blob/master/Request.php#L308) factory method that helps users a lot when we're creating new requests. Also it has a simple Response [constructor](https://github.com/symfony/http-foundation/blob/master/Response.php#L196) that simplify the object creation. These allows...