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

47 Commits

Author SHA1 Message Date
Márk Sági-Kazár
003757426c
Fix typo 2018-06-23 23:34:47 +02:00
Jos Ahrens
40b94a3e90
docs/quickstart: add Exception Tree View (#2055)
Add a tree view to the quickstart documentation for Exceptions

Closes #2055
2018-06-20 21:55:50 +00:00
Márk Sági-Kazár
6a7e4e81a8
Merge pull request #1974 from TomzxForks/fixes/1972-update-docs-getHeader-returns-array
Fix documentation using the getHeader method
2018-02-05 02:39:58 +01:00
Hannes Van De Vreken
aa5b807560 Missing sendAsync call (#1985)
* Missing sendAsync call

* Fixed response -> promise
2018-01-06 18:37:08 +01:00
Tom Rochette
b9bf901212 Add missing 0 index to documentation making use of the getHeader method.
The getHeader method always returns an array, but it may be empty.
For documentation purpose, we assume that the response object always contains the queried header, thus providing at least one element in the array at index 0.
2017-12-08 15:57:46 -05:00
Vallabh Kansagara
5e37e251f4 unambiguous response on array corrected.
unambiguous response on array corrected
2017-02-26 20:15:36 +05:30
thinsoldier
f45e47a409 Fix typo "an an". 2017-01-13 20:45:35 -07:00
Joris Steyn
0c15c11264 Quickstart: note that HTTP_PROXY only works on CLI (#1622)
* Quickstart: note that HTTP_PROXY only works on CLI

Due to "httpoxy" the environment variable HTTP_PROXY is not trusted on non-cli processes. This should be mentioned in the quickstart guide.

* Quickstart: explain HTTP_PROXY and link to httpoxy
2016-10-24 10:47:23 +02:00
Michael Dowling
b1a96f6134 Fixing docs. Closes #1471 2016-05-08 12:39:56 -07:00
azamtav
08b4185d83 Updated quickstart documentation
Added a line stating that clients are immutable
2016-04-26 10:01:56 -05:00
Kenneth
812f3a83e5 Updating documentation for async requests
I took me many hours to realize I could use the settle function instead of unwrap if I wanted to get the responses regardless of their status.
2016-03-31 22:35:47 -05:00
Ezra Pool
6b808106c9 Update quickstart.rst adding part about usage of closures in pools.
Add documentation about Pools being able to resolve closures also with a little example that builds upon the example directly above.
2016-02-14 23:34:16 +01:00
Elliot Fehr
1d3ca2a30f Update GuzzleHttp\Cookie\CookieJarInterface namespace 2015-10-22 23:10:56 -04:00
Matt Brunt
914c2b5010 Fixed typo in quickstart for httpbin 2015-09-15 10:07:47 +01:00
Michael Dowling
196b301670 Cleaning up docs. Closes #1231, closes #1241 2015-09-06 11:18:04 -07:00
Charles Sarrazin
bbe8e32a28 Fixing wrong documentation
Fixed wrong documentation telling that both form_params and multipart could be used at the same time.
2015-06-24 22:37:35 +02:00
Michael Dowling
5dd6a739fa Removing references to exceptions
Closes #1133
2015-06-24 09:10:18 -07:00
Matthew
4fc202c5d3 Replace form_files with multipart in docs 2015-05-29 22:17:28 -05:00
Kamil Samigullin
38a4c0a3e8 fix issue #1084 2015-05-27 18:22:44 +03:00
Tom Robertshaw
ad0d22fa7f Missing concatenation in code sample 2015-05-26 21:54:49 +01:00
Michael Dowling
b158770ee6 Fixing cookies docs. Closes #1072 2015-05-25 16:10:05 -07:00
Michael Dowling
bc1a2a881b Adding base_uri resolution examples 2015-04-25 13:32:16 -07:00
Michael Dowling
fd095f0f68 PSR-7 updates 2015-04-19 20:39:53 -07:00
Michael Dowling
2660fef712 Doc updates 2015-03-29 12:41:58 -07:00
Michael Dowling
1e892c547c Updating docs and readme 2015-03-29 12:34:54 -07:00
Michael Dowling
0949947ee2 Updating docs 2015-03-28 15:33:35 -07:00
Michael Dowling
b0a33d8923 Updating docs 2015-03-28 15:03:22 -07:00
Michael Dowling
cb149b01de More doc updates 2014-10-08 19:18:45 -07:00
Michael Dowling
294f670ad3 Removed the "procedural API" 2014-10-05 20:28:10 -07:00
Michael Dowling
f19cc3a40d Some minor breaking changes and adding async future responses. 2014-09-08 21:35:10 -07: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
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
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
David Prévot
9642625641 Documentation and comments: typo fix 2014-05-04 17:14:28 -04:00
edi9999
6b6660e40c Update quickstart.rst 2014-04-23 13:23:04 +02: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
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
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
ebf4e533d1 Renaming "options" to "config" for the config request option
Adding request and response docs
2014-02-16 17:10:57 -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
ef42e31fc0 Adding more docs 2014-02-13 09:45:42 -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