1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 10:03:27 +01:00

49 Commits

Author SHA1 Message Date
Michael Dowling
e9c74c257e Using the system CA bundle by default when possible
This commit updates Guzzle to use the CA bundle packaged on the
system by default when possible. cURL will use the system CA
bundle without issue, however, PHP 5.5 and lower will still
default to the bundled CA cert. You can now pass "bundled" to
use the cacert file bundled with Guzzle.
2014-09-08 21:33:32 -07:00
Michael Dowling
3951e6f7ef Merge pull request #806 from ifdattic/fix-typos
Fix typos
2014-09-04 20:23:05 -07:00
Andrew M
fe0b39d793 Fix typos 2014-09-04 17:48:58 +03:00
安正超
82db819a9a Fix typo 2014-09-04 18:25:47 +08:00
Michael Dowling
0bc3bc62e1 Clarifying error handling behavior 2014-08-17 16:33:04 -07:00
Michael Dowling
97b72d5d63 Fixing typo 2014-08-17 16:30:54 -07:00
Michael Dowling
e5f0b6b84d Added the ability to throw exceptions immediately.
Closes #760
2014-08-17 16:21:32 -07:00
Michael Dowling
90bd509464 Adding support for the decode_content request option
- MessageFactory and adapters now handle decode_content
- server.js now requires base64 encoded data in the "body" JSON parameter.
- Closes #764
2014-08-17 14:33:46 -07:00
Michael Dowling
99bf91399c Removing bad docs. Addresses #760 2014-08-16 17:08:23 -07:00
Jamie Hannaford
4364fccf2a Update clients.rst 2014-07-22 12:30:00 +02:00
likeuntomurphy
c972aaa38a Update clients.rst
The path component of the base URL must end with a slash; otherwise, the effective URL of $client->get('example-request') is https://api.twitter.com/example-request instead of https://api.twitter.com/v1.1/example-request.
2014-07-05 10:17:14 -04:00
Fred Emmott
4db19b75d9 Change port used for unit tests
The purpose here is to allow running guzzle3 and guzzle4 tests at the
same time, on the same machine. This is needed for
http://hhvm.com/frameworks/ to work correctly. Ideally we'll make these
more isolated in the future, but this should be an unobtrusive
short-term fix.
2014-06-09 10:18:36 -07:00
Luis Cordova
a4bd30cfb0 uppercasing after a . 2014-06-08 06:19:37 -05:00
Luis Cordova
adde1b2d1d number of request -> requests 2014-06-08 00:53:28 -05:00
Luis Cordova
8aecd0865c added missing been in 've sent' 2014-06-08 00:51:49 -05:00
Luis Cordova
6ccb4b3d61 exmaple -> example 2014-06-08 00:41:48 -05:00
Luis Cordova
3f52b9b094 typo is -> of 2014-06-08 00:30:42 -05:00
Luis Cordova
a2b24d0de4 remove unnecessary colon 2014-06-07 22:40:27 -05:00
Michael Dowling
9267eba3ef Fixing custom auth docs. Addresses #677 2014-05-21 20:57:06 -07:00
Michael Dowling
3db1dc3145 Adding the json request option
- Adding the json request option to provide better symmetry
  between request and response APIs.
- Updating the quickstart guide and documentation.
- Closes #674
2014-05-18 12:47:07 -07:00
Abdellatif AitBoudad
aa8ebadb67 fixed missing semicolon. 2014-05-13 20:28:52 +01:00
David Prévot
9642625641 Documentation and comments: typo fix 2014-05-04 17:14:28 -04:00
Jeremy Lindblom
f44f3af58a Corrected the section ref for request-options in the docs 2014-04-29 08:30:40 -07:00
Kay.L
bbbe8168f0 Fix examples syntax typo. 2014-04-22 15:04:39 +08:00
Jeremy Lindblom
33ad112c94 Added an emitter option to the Client 2014-04-17 07:26:16 -07:00
Michael Dowling
dc841699e0 Adding the batch() convenience function and restructuring the event format for sendAll() 2014-03-29 15:21:56 -07:00
Michael Dowling
d3943ce1e3 Adding support for HTTP_PROXY and HTTPS_PROXY 2014-03-24 19:00:23 -07:00
Michael Dowling
5a90f97e28 Adding the ability to control the curl_multi select timeout using an envrionment variable 2014-03-24 17:00:15 -07:00
Michael Dowling
3110976dfd Adding the ability to specify sendAll event priorities
- Adding optional priorities to sendAll events.
- Adding documentation on sendAll options.
2014-03-18 21:38:27 -07:00
Michael Dowling
6b741497b6 Adding information on event priorities 2014-03-12 19:34:27 -07:00
Michael Dowling
b18907d5cb Adding adapter docs and an emitHeaders() helper 2014-03-12 19:00:11 -07:00
Michael Dowling
e32d850a99 Cleaning up the EventEmitter
- Changed GuzzleHttp\Event\SubscriberInterface::getSubscribedEvents from a
  static method to an instance method.
- Renamed addSubscriber to attach.
- Renamed removeSubscriber to detach.
2014-03-07 10:14:17 -08:00
Michael Dowling
5472c17055 Simplifying and updating cookie implementation 2014-03-05 00:55:37 -08:00
Michael Dowling
7cb2022027 Fixing client example 2014-02-18 20:42:16 -08:00
Michael Dowling
65333062c9 Moving Post namespace up a level 2014-02-17 20:55:48 -08:00
Michael Dowling
9e9500801e Doc fixes 2014-02-17 17:37:20 -08:00
Michael Dowling
efe252100e Adding a protocol setting and a bit of HTTP/2.0 support 2014-02-17 10:27:56 -08:00
Michael Dowling
2b779dccb3 Moving some things like query and url up a NS 2014-02-16 21:02:54 -08:00
Michael Dowling
89a8e2ede1 Using PSR-4 and moving namespace from Guzzle to GuzzleHttp
- Moving various namespaces up a level
- Updating docs
- Renaming EventSubscriberInterface to SubscriberInterface
2014-02-16 20:42:45 -08:00
Michael Dowling
5203c3c277 Allow auth to be set to null 2014-02-16 15:45:43 -08:00
Michael Dowling
07c4470bb8 Adding note about signing priority 2014-02-16 12:26:49 -08:00
Michael Dowling
a1a23b11e7 Better defining how the "auth" option works
- Adding more docs and type information
- Defining how auth works and how to create custom auth schemes
- Removing custom auth stuff from the CurlFactory
2014-02-16 12:17:02 -08:00
Michael Dowling
46a1b91341 Adding the ability to specify protocol proxies
Adding more docs and an example of custom curl options.
2014-02-16 00:13:49 -08:00
Michael Dowling
9d62a557d4 Making it very clear that a client has an event listener prototype for requests 2014-02-15 23:47:49 -08:00
Michael Dowling
b572e3c8df Moving cookie jars, cleaning up expect, adding docs, validating auth schemes. 2014-02-15 23:40:24 -08:00
Michael Dowling
25a3a5046b Adding more event docs, and passing the emitter to listeners when they are triggered. 2014-02-15 14:15:27 -08:00
Michael Dowling
e801e7796b Renaming client and server response exceptions
- Adding more docs on error handling
- Tightening down the client interface to only allow RequestExceptions to be
  thrown from a client during a send() method. This makes error handling much
  easier and predictable.
2014-02-15 11:59:31 -08:00
Michael Dowling
c6cf0c6da2 Updating HTTP method signature to be simpler and more consistent
- HTTP method based signatures like get(), put(), etc.. accept a URL,
  and array of request options. createRequest() is similar but also requires
  a method string.
- Renamed request events to 'before', 'complete', 'error', and 'headers.
- Renamed the associated event classes.
- Adding more docs.
2014-02-13 23:37:34 -08:00
Michael Dowling
7368075cf9 Replacing HeaderValuesInterface with an array and adding docs.
- Instead of using a HeaderValues object for header values, I've added an
optional argument to getHeader() that specifies whether or not to return
a header as a string or an array.
- Adding the start of the new documentation.
2014-02-12 20:07:05 -08:00