Lines Matching refs:a

33 …`Middleware::retry()` accepts a second callback parameter to override the default timeouts if need…
45 * Fix: Test if response is readable before returning a summary in `RequestException::getResponseBod…
68 * Bug fix: Malformed domain that contains a "/" [#1999](https://github.com/guzzle/guzzle/pull/1999)
69 * Bug fix: Undefined offset when a cookie has no first key-value pair [#1998](https://github.com/gu…
86 * Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guz…
90 * Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzl…
91 * Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/gu…
116 a server does not honor `Connection: close`.
161 * Feature: Added support for NO_PROXY to prevent the use of a proxy based on
162 a simple set of rules. https://github.com/guzzle/guzzle/pull/1197
184 * Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set.
189 * Fixed a memory leak in the curl handlers in which references to callbacks
194 their state if the encoding was automatically removed by a handler. This
198 * Added a more explicit error message when trying to use `form_params` and
206 * Fixed a bug with serializing the `query` request option where the `&`
208 * Added a better error message for when `body` is provided as an array. Please
228 * Ensuring that `sink` is valid if saving to a file.
229 * Request exceptions now include a "handler context" which provides handler
240 * Fixed a bug in which multiple headers using different casing would overwrite
251 owned by a request instance is no longer possible.
257 * Replaced the Guzzle event and subscriber system with a middleware system.
265 Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`,
284 into a client constructor or request method.
294 can pass the query string in as a string.
300 * Added `AppliesHeadersInterface` to make applying headers to a request based
306 * Added a guard in the Pool class to not use recursion for request retries.
310 * Pool class no longer uses recursion when a request is intercepted.
311 * The size of a Pool can now be dynamically adjusted using a callback.
313 * Setting a request option to `null` when creating a request with a client will
315 request options on a per-request basis.
318 specifying a `protocols` array in the `allow_redirects` request option.
336 not need to be encoded, then you can provide a string to Url::setQuery() and
337 pass true as the second argument to specify that the query string is a raw
338 string that should not be parsed or encoded (unless a call to getQuery() is
339 subsequently made, forcing the query-string to be converted into a Query
344 * Added a trailing `\r\n` to multipart/form-data payloads. See
346 * Added a `GuzzleHttp\Pool::send()` convenience method to match the docs.
356 * Now properly encoding the supplied path to a URL object, instead of only
360 string on a URL: Now allowing many more characters to be present in the
369 corrected so that a response is not returned in the `getResponse` method of
381 * Added a public API for creating a default HTTP adapter.
384 * Added a "progress" event so that you can get upload and download progress
387 requests concurrently using a capped pool size as efficiently as possible.
402 `GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of
420 concurrently is now handled using a single adapter.
425 body a response once the headers of the response were known. You can implement
426 a similar behavior in a number of ways. One example might be to use a
432 `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header
439 constructor which is a mapping of the request option name mapping to a
440 function that applies the option value to a request.
442 This control mechanism was used to stop a transfer of concurrent requests
444 cancelling a pool of requests or each outstanding future request individually.
446 * `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a
451 `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second
457 * Fixed a memory leak in the CurlAdapter when reusing cURL handles.
463 * Ensuring that the StreamAdapter does not always add a Content-Type header
464 * Adding automated github releases with a phar and zip
468 * Now merging in default options using a case-insensitive comparison.
472 to decode the response body if it comes over the wire with a
474 response content, and pass a string to provide a request `Accept-Encoding`
476 to pass an `Accept-Encoding` header in the headers of a request but still
500 * Ensuring that cURL does not add a default Content-Type when no Content-Type
503 put the request in a desired state (e.g., signed the request).
509 * Fixed a bug where multipart/form-data POST fields were not correctly
515 including getting the start line and getting headers as a string.
519 * Automatically retrying cURL "Connection died, retrying a fresh connect"
527 * Fixed a bug that caused multi-part POST requests with more than one field to
530 * `ResponseInterface::xml` now accepts a `libxml_options` option and added a
533 created on disk unless a request succeeds.
539 globally and in a Composer install
541 * POST headers are only applied before sending a request to allow you to change
555 * Fixed an issue with nested form fields in a multi-part POST
561 * Added a `json` request option to easily serialize JSON payloads.
562 * Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON.
564 * Added the ability to provide an emitter to a client in the client constructor.
565 * Added the ability to persist a cookie session using $_SESSION.
566 * Added a trait that can be used to add event listeners to an iterator.
580 * The HTTP status code of a response is now set as the exception code of
583 * The default parallel adapter of a client now correctly uses the MultiAdapter.
593 * Added `GuzzleHttp\batch()` as a convenience function for sending requests in
596 You can now pass a callable or an array of associative arrays where each
611 * Added a functions.php function for `get_path()` and `set_path()`
612 * CurlAdapter and MultiAdapter now use a callable to generate curl resources
613 * MockAdapter now properly reads a body and emits a `headers` event
614 * Updated Url class to check if a scheme and host are set before adding ":"
621 * Test server is now a collection of static methods on a class
629 * Bug: Always using GET requests when redirecting from a 303 response
632 * Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative…
633 * Bug: The body of a request can now be set to `"0"`
635 …ation to ExceptionCollection exceptions so that users have more context, including a stack trace of
637 * Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a s…
640 * Query strings are now parsed in a way that they do no convert empty keys with no value to have a
647 * Added the ability to define a POST name for a file
650 * Fixed a cURL error when URLs contain fragments
655 * Fixed a bug that was encountered when parsing empty header parameters
656 * UriTemplate now has a `setRegex()` method to match the docs
667 * Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430)
668 * Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp
677 * Added the ability to get the exception associated with a request/command when using `MultiTransfe…
679 * Setting `additionalParameters` of a response to false is now honored when parsing responses with
681 * No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed …
683 * Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator.
689 * Bug fix: mimetype guessing based on a filename is now case-insensitive
702 * Added a way to add custom domain objects to service description parsing using the `operation.pars…
708 * Bug fix: Setting default options on a client now works
714 * `Host` header can now diverge from the host part of a URL if the header is set manually
717 * Exceptions are now thrown when a URL cannot be parsed
719 * Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandCont…
724 …support the ability to specify an array of $options when creating a request to more easily modify a
725 …request. You can pass a 'request.options' configuration setting to a client to apply default reque…
726 …every request created by a client (e.g. default query string variables, headers, curl options, etc…
727 * Added a static facade class that allows you to use Guzzle with static methods and mount the class…
730 created by a command (e.g. custom headers, query string variables, timeout settings, etc.).
732 headers of a response
733 * Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nes…
736 * CachePlugin can now purge all resources for a given URI
737 …Plugin can automatically purge matching cached items when a non-idempotent request is sent to a re…
738 * CachePlugin now uses the Vary header to determine if a resource is a cache hit
742 * Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()`
743 * Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and c…
744 * `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message
755 …tp\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a
757 … `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a
771 * You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by sett…
785 …leMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Clien…
791 …ProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a
792 CacheStorageInterface. These two objects and interface will be removed in a future version.
794 * Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin
810 * Mixed casing of headers are now forced to be a single consistent casing across all values for tha…
811 * Messages internally use a HeaderCollection object to delegate handling case-insensitive header re…
813 …ader implementations can be created for complex headers. When a message creates a header, it uses a
814 …HeaderFactory which can map specific headers to specific header classes. There is now a Link heade…
820 … optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string.
825 * All response header helper functions return a string rather than mixing Header objects and string…
828 * Removed the injecting of a request object onto a response object. The methods to get and set a re…
829 but are a no-op until removed.
830 * Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now reques…
832 …p\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response
833 on a request while the request is still being transferred
840 * Added the ability to cast Model objects to a string to view debug information.
844 * Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rathe…
849 …n undefined index error when parsing nested JSON responses with a sentAs parameter that reference a
852 * Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a
853 to help with refcount based garbage collection of resources created by sending a request
856 HistoryPlugin for a history.
857 * Added a `responseBody` alias for the `response_body` location
859 * HistoryPlugin can now be cast to a string
867 * Added a check to re-extract the temp cacert bundle from the phar before sending each request
871 * Bug fix: Stream objects now work correctly with "a" and "a+" modes
872 * Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present
875 * Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin …
876 * Setting a response on a request will write to the custom request body from the response body if o…
878 * Added the ability to set multiple POST files for the same key in a single call
886 * Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a poo…
887 …handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small per…
889 * Redirects are now properly aggregated when a multi transaction fails
890 * Redirects now set the response on the original object even in the event of a failure
895 * Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection
900 * Bug fix: Absolute URLs with a path in a service description will now properly override the base U…
901 * Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263
905 * Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header
906 * Bug fix: Fixed "array to string" error when validating a union of types in a service description
907 * Bug fix: Removed code that attempted to determine the size of a stream when data is written to th…
909 * Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a re…
911 * Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type…
913 … the ability to overwrite configuration settings in a client when grabbing a throwaway client from…
914 * Added support for a PSR-3 LogAdapter.
915 * Added a `command.after_prepare` event
917 * Added the ability to create a custom stream class when using a stream factory
918 * Added a CachingEntityBody decorator
920 …led SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar.
922 * POST requests using a custom entity body are now treated exactly like PUT requests but with a cus…
924 POST fields or files (the latter is only used when emulating a form POST in the browser).
935 * RequestFactory::create() now uses the key of a POST file when setting the POST file name
941 * Bug fix: Added 'wb' as a valid write mode for streams
945 * BC: Setting a service description on a client will no longer modify the client's command factorie…
946 * BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's …
947 the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io'
965 * URLs with no path no longer contain a "/" by default
971 …w be normalized into distinct values when multiple headers are combined with a comma separated list
972 * xmlEncoding can now be customized for the XML declaration of a XML service description operation
977 * Bug fix: Redirects now use a target response body rather than a temporary response body
983 * Refactored how operation responses are parsed. Visitors now include a before() method responsible…
987 * Fixed a bug where redirect responses were not chained correctly using getPreviousResponse()
988 * Setting default headers on a client after setting the user-agent will not erase the user-agent se…
1003 * Bug: Adding required content-type when JSON request visitor adds JSON to a command
1004 * Bug: Fixing the serialization of a service description with custom data
1015 * Fixing phar detection when forcing a cacert to system if null or true
1018 * Adding a response_body location to service descriptions
1029 * Bug: Response body can now be a string containing "0"
1030 * Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert
1038 * Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value
1039 * Bug: Cookies can now be added that have a name, domain, or value set to "0"
1045 * Added the ability to create any sort of hash for a stream rather than just an MD5 hash
1059 * Magic methods return the result of a command
1060 * Service clients no longer require a base_url option in the factory
1066 * Models no longer require a Parameter structure or initial data in the constructor
1067 * Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator`
1082 * Magic methods on a Guzzle\Service\Client now return the command un-executed.
1083 * Calling getResult() or getResponse() on a command will lazily execute the command if needed.
1087 * Only sending an Expect header by default when a payload is greater than 1MB
1091 * Added a Guzzle\Iterator component
1093 * Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin)
1094 * Added a more robust caching plugin
1096 * Updating LogPlugin to use a more flexible MessageFormatter
1097 * Added a completely revamped build process
1103 * Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did
1108 * Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests
1109 * Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload
1123 * Added a `json` parameter location
1126 * Ensuring that a service is a string before doing strpos() checks on it when substituting services…
1131 '_default' with a default JSON configuration file.
1137 * Added support for HTTP responses that do not contain a reason phrase in the start-line
1139 * Added a way to get the data used when signing an Oauth request before a request is sent
1144 …ty to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set…
1145 * Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream
1146 * Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subse…
1147 * Stream and EntityBody objects will now return the file position to the previous position after a
1157 * Bug: Fixed a case where empty POST requests were sent as GET requests
1158 * Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEncl…
1159 * Bug: Setting the response body of a request to null after completing a request, not when setting …
1163 * Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles
1168 * Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command…
1171 * Allowing dot notation for class paths in filters attribute of a service descriptions
1185 * Can now use fromString() with querystrings that have a leading ?
1195 * CachePlugin now allows for a custom request parameter function to check if a request can be cached
1211 * Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enab…
1212 * Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-en…
1214 * Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin
1215 * Added the ability to set POST fields and files in a service description
1216 * Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method
1217 * Adding a command.before_prepare event to clients
1241 * Adding a removeValue to Guzzle\Http\Message\Header
1254 * Bug: Not requiring response reason phrases or status codes to match a predefined list of codes
1259 * Allowing the result of a command object to be changed
1260 * Parsing location and type sub values when instantiating a service description rather than over an…
1267 * Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cache…
1272 * The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files.
1273 …e\Inspector::validateConfig method into two methods. One to initialize when a command is created, …
1287 * Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, t…
1294 * [BC] Executing a Command returns the result of the command rather than the command
1296 * [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and ver…
1298 * [BC] Completely refactored ResourceIterators to iterate over a cloned command object
1309 * Adding a setOnComplete() method to Commands that is called when a command completes
1311 * Fixed a caching bug in the CacheAdapterFactory
1312 * Inspector objects can be injected into a Command object
1313 * Refactoring a lot of code and tests to be case insensitive when dealing with headers
1314 * Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL
1317 * Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory m…
1323 * [BC] Using a custom validation system that allows a flyweight implementation for much faster vali…
1325 * Added the ability to passed parameters to all requests created by a client
1331 * Fixed a defect that added a hash to every parsed URL part
1333 * Emitting an event each time a client is generated by a ServiceBuilder
1334 * Using an ApiParams object instead of a Collection for parameters of an ApiCommand