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

194 Commits

Author SHA1 Message Date
Michael Dowling
8e43631d95 Clarifying how the test server works. Closes #775 2014-08-19 20:20:27 -07: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
f8fa2180c8 Adding more information on parallel adapter error handling 2014-08-17 16:24:44 -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
7521b6529d No longer using namespace functions from stream package 2014-08-16 18:13:59 -07:00
Michael Dowling
99bf91399c Removing bad docs. Addresses #760 2014-08-16 17:08:23 -07:00
Michael Dowling
fbf2bf6dbd Allowing mulitple event subscriber listeners to be registered per event name 2014-08-02 15:35:17 -07:00
Martin
b0977ddf0c Fixed typo in subscriber example. 2014-07-31 09:17:18 +02:00
Jérôme Gamez
8d89a8900d Replacing github example with httpbin
https://github.com/timeline.json has been removed and delivers a JSON message with a 410 HTTP Status code. The change to http://httpbin.org/get follows the other request examples.
2014-07-23 21:10:03 +02: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
David Prévot
4c93e6e771 Strip away copyrighted ICC profile 2014-06-17 17:56:33 -04:00
Michael Dowling
c57f300af7 Merge pull request #701 from fredemmott/change-port
Change port used for unit tests
2014-06-10 12:18:37 -05: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
Iain Cambridge
2dfc9bb681 Added Tests to auto complete for dev env 2014-06-09 08:57:54 +01: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
Luis Cordova
eb580220bf typo uss -> use 2014-06-07 22:05:17 -05:00
conradhappeliv
09d16e9f9b Update Exception section in quickstart.rst
Noticed that ClientErrorResponseException and ServerErrorResponse had been changed to ClientException and ServerException, respectively, but hadn't been changed in the docs.
2014-06-04 16:49:04 -05:00
Lhassan Baazzi
923d8fb03d POST request instead of GET 2014-05-30 18:32:45 +01: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
Simone Fumagalli
c279b5cfb1 Fixed a typo and updated name for 2 methods 2014-04-29 17:34:12 +02:00
Jeremy Lindblom
f44f3af58a Corrected the section ref for request-options in the docs 2014-04-29 08:30:40 -07:00
edi9999
6b6660e40c Update quickstart.rst 2014-04-23 13:23:04 +02: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
Goran Jurić
72c87ebcb3 Fix wording in exception handling
An exception should be thrown when exceptions option is set to true, not false.
2014-04-14 20:13:11 +02:00
Adrian Macneil
5dd09f8fc6 Fix typo 2014-04-06 10:08:54 +08:00
Michael Dowling
75e273655b Adding "why use Guzzle" to the FAQ 2014-03-30 16:24:47 -07:00
Michael Dowling
b21a840b8f Fixing method in index.rst 2014-03-30 15:40:51 -07:00
Michael Dowling
4063f08ca4 Guzzle 4.0! 2014-03-29 16:11:36 -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
David Jellesma
76857dacda Update events.rst
Adding semi-colon to example
2014-03-25 16:19:57 -04:00
Michael Dowling
7760dcfa5b Adding a not about the fact that a response may or may not have a body in the headers event 2014-03-25 10:14:36 -07:00
Michael Dowling
e235644d18 Adding testing docs 2014-03-24 21:10:05 -07:00
Michael Dowling
3472f1fb68 Renaming (g|s)etDefaultValue() to (g|s)etDefaultOption() 2014-03-24 19:44:55 -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
4335976066 Adding progress subscriber to the docs 2014-03-23 15:55:05 -07:00
Michael Dowling
b30ce5d514 Making clients more immutable
- Removing getConfig() and setConfig() from clients to avoid confusion around
  whether things like base_url, message_factory, etc should be able to be
  retrieved from getConfig() or modified using setConfig().
- Adding getDefaults() and setDefaultValue() to customize default request
  options of a client.
- Updating Url class to check if a scheme and host are set before adding
  ":" and "//". This allows empty Url (e.g., "") to be serialized as "".
- Removing dead code from Url class.
- Adding a functions.php function for get_path and set_path so that these
  functions can be used on regular PHP arrays. Collection now proxies to these
  functions when Collection::(get|set)Path() is called.
- Resolves #599.
2014-03-21 12:37:32 -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