Tags: norv/guzzle
Tags
[Http] Better handling of nested scope requests in CurlMulti Requests are now prepared in the send() method rather than the add() method when adding a request during a transfer. The send() method now only prepares requests in the current scope in which the send method was called. This allows for better handling of commands that require a request in order to prepare themselves for sending (e.g. a request that requires a token that requires an HTTP request). The BatchQueuePlugin and CommandSet no longer add requests using async as that was a hack to support the previous implementation.
[Http] Ensuring that cURL blacklisted headers are never set even if t… …hey are set by the user. [Http] Error responses are now never written to the intended response stream of a request, but rather to a temporary stream. This helps when retrying failed requests so that the intended stream is not polluted with transient errors. [Http] Adding the ability to retry failed requests with the exponential backoff plugin by checking both the status code and reason phrase. [Service] Simplifying the loop in Guzzle\Service\Command\DynamicCommand
[Http] Adding the ability to disable the Expect: 100-Continue header … …from being sent. Simply remove the "Expect" header from a request before sending. You can remove the Expect header from all requests sent from a client by adding an event listener to a client. Closes guzzle#35. Adding the ability to set HTTP request headers to NULL so that they are still passed to curl. This is useful for removing some default curl headers. Empty headers are still not sent to curl. Not setting "Expect: 100-Continue" when sending with application/x-www-form-urlencoded POST requests
PreviousNext