1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-23 09:34:00 +01:00

226 Commits

Author SHA1 Message Date
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
Andy Snell
3b60a95898
Align Heading Line Markdown 2017-10-23 10:07:50 -04:00
Andy Snell
513c7b7503
Fix Typo in FAQ Doc 2017-10-22 23:17:52 -04:00
Matthew Setter
72914532ad Minor text correction
I saw this grammatical error when I was reading through the
documentation today, and wanted to fix it.
2017-05-15 09:57:05 +02:00
CJEdgerton
2499eacc1e Corrected typo in the headers section of the request options docs. 2017-05-08 12:24:51 -04:00
Giang Nguyen
c3a523251a Fix typo 2017-05-03 10:47:07 +07:00
Christian Schmidt
8353b3fd85 Support force_ip_resolve in StreamHandler (#1659) 2017-05-01 11:44:08 +02:00
Márk Sági-Kazár
a1c4a74bf3 Merge pull request #1569 from miguelbalboa/master
Added curl ntlm auth support
2017-03-22 12:33:29 +01:00
Márk Sági-Kazár
2297b43ad7
Merge branch '6.2.x' 2017-02-28 23:51:22 +01:00
Tobias Schultze
8d6c6cc551 Fix deprecations with guzzle/psr7 version 1.4
Fix wrong example doc

replace deprecated Uri::resolve

Fix documented types for body request option
2017-02-28 23:50:30 +01:00
Vallabh Kansagara
5e37e251f4 unambiguous response on array corrected.
unambiguous response on array corrected
2017-02-26 20:15:36 +05:30
Márk Sági-Kazár
437c0c3321 Merge pull request #1611 from arnaud-lb/read-timeout
Add 'read_timeout' option
2017-02-23 21:32:34 +01:00
Alex
b6781ffbdc Fix query parameter documentation 2017-01-16 17:48:15 +01:00
Dan
77a16c8d30 Track redirect HTTP status codes (#1711) 2017-01-15 10:48:03 +01:00
thinsoldier
f45e47a409 Fix typo "an an". 2017-01-13 20:45:35 -07:00
Miguel Balboa
6e2c1d8500 Added NTLM Support 2017-01-13 13:54:21 -08:00
Márk Sági-Kazár
274035968c Fix request creation
Fix #1707
2016-12-29 14:20:35 +01:00
白俊遥
e34ed489a7 Update request-options.rst
$request->getHeader('Content-Type'); is array;
2016-12-27 17:45:24 +08:00
Márk Sági-Kazár
fe27635017
Move request option up in docs 2016-11-13 19:36:11 +01:00
Arnaud Le Blanc
ed1d1bdecf Add 'read_timeout' option 2016-11-09 17:59:14 +01:00
Márk Sági-Kazár
9f75c64ba7 Merge pull request #1608 from paveljanda/master
Added cofiguration option to force client to use either ipv4 or ipv6 protocol (curl)
2016-11-06 10:55:50 +01:00
Joost van Driel
5b6a2a4f5f Added missing square bracket 2016-10-27 16:48:08 +02: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
Pavel Janda
f8f10589ee Added cofiguration option to force client to use either ipv4 or ipv6 protocol (curl) 2016-10-14 08:37:47 +02:00
Márk Sági-Kazár
5fcc9920bd
Documents the progress callback request option
Closes #1576
2016-09-06 10:31:48 +02:00
Mikhail Strachuk
9c2445194f Changin documentation for default value of allow_redirects.referer 2016-07-20 21:29:53 -07:00
Thierry Geindre
6944c20169 Fix typo in request-options.rst 2016-06-06 10:55:05 +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
Ricky Robinett
b00363a54b add missing ; in middleware documentation 2016-03-11 11:34:05 -05:00
Ricky Robinett
b03683fee3 add missing ; in middleware documentation 2016-03-11 11:31:44 -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
Michael Dowling
8c033e192f Adding doc clarifications. Closes #1386 2016-01-30 16:19:49 -08:00
Michael Dowling
4f11935f70 Merge pull request #1288 from elliotfehr/patch-2
Update `GuzzleHttp\Cookie\CookieJarInterface` namespace
2015-10-26 21:12:26 -07:00
Elliot Fehr
1d3ca2a30f Update GuzzleHttp\Cookie\CookieJarInterface namespace 2015-10-22 23:10:56 -04:00
Troy Pavlek
0134b2fc82 Documented throwing an exception in MockHandler
While exceptions are briefly mentioned in the preceding documentation, it is not immediately clear that exceptions can be thrown in the MockHandler, since my eyes are immediately drawn to the example code rather than the textual pre-amble.

With this, it is immediately clear to anyone that the stack can consist of both Responses and Exceptions.
2015-10-20 09:45:55 -06:00
mortenhauberg
fb449de675 Fix syntax errors 2015-10-15 08:20:49 +02:00
Michael Sørensen
471d589f37 Fixed formating
Code block was not been displayed due to incorrect indentation.
2015-09-30 18:23:51 +02:00
Michael Dowling
146ea37604 Merge pull request #1258 from Brunty/httpbin-host
Fixed typo in quickstart docs for httpbin
2015-09-16 10:16:18 -07:00
Woody Gilk
7d91e2e87f Use correct interface names in middleware docs 2015-09-15 15:22:30 -05:00
Matt Brunt
914c2b5010 Fixed typo in quickstart for httpbin 2015-09-15 10:07:47 +01:00
Michael Dowling
38d25519c6 Adding on_stats docs 2015-09-06 13:01:07 -07:00
Michael Dowling
2e92238902 Finishing the redirect tracking PR 2015-09-06 12:05:56 -07:00
Michael Dowling
196b301670 Cleaning up docs. Closes #1231, closes #1241 2015-09-06 11:18:04 -07:00
John Wang
f8dc8000f8 fix minor typo in psr7.rst 2015-08-15 23:44:09 -07:00
John Wang
01d19a016e fix httpbin.org hostname in psr7.rst 2015-08-15 23:41:56 -07:00
John Wang
b72736a83b fix typos in psr7.rst 2015-08-15 23:39:32 -07:00
Michael Dowling
d687700d60 Cleaning up no_proxy support 2015-08-15 13:48:15 -07:00
Maks3w
a9438ca9f4 Fix types allowed as body 2015-08-14 07:45:33 +02:00