1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-03-19 13:50:12 +01:00

286 Commits

Author SHA1 Message Date
Mehrdad Esmaeilpour
9833955af5
Update quick start docs (#2921) 2021-09-05 15:35:41 +01:00
Timo Schinkel
251bbaa173
[Docs] Add clarification on redirects and PSR-18 (#2893)
* Add clarification on redirects and PSR-18

Using ``GuzzleHttp\Client::sendRequest()`` ignores the `allow_redirects` configuration option. This is discussed in [#2584][0].

This is not reflected in the documentation.

[0]: https://github.com/guzzle/guzzle/issues/2584

* Update docs/request-options.rst

Co-authored-by: Tobias Nyholm <tobias.nyholm@gmail.com>
2021-07-17 17:53:53 +02:00
Tim Düsterhus
a78847bace
Fix formatting of Exception hierarchy in quickstart.rst (#2869)
Introduced in 25486bffcf6fcdb0aceae5a51c31e8f4b2c13c5f.
2021-03-21 18:45:48 +01:00
Graham Campbell
f38085e434
Use robust, consistent Psr7\Utils::tryFopen where possible (#2876)
Co-Authored-By: Mponos George <gmponos@gmail.com>

Co-authored-by: Mponos George <gmponos@gmail.com>
2021-03-21 13:52:42 +01:00
Tim Düsterhus
2793fe24bf
Support the cURL (http://) scheme for StreamHandler proxies (#2850)
* Support the cURL (http://) scheme for StreamHandler proxies

* Remove 'proxy' workarounds in StreamHandlerTest

* Update documentation to use `http://` instead of `tcp://` for proxies

* Add StreamHandlerTest::testUsesProxy()

* Add CurlFactoryTest::testUsesProxy()
2021-03-07 10:21:23 +01:00
Steff Missot
3a0543e4f5
[Doc] ConnectException extends TransferException (#2819) 2021-01-30 09:43:14 +01:00
Joachim
34bc199aef
Removed outdated version number. (#2820) 2020-11-15 12:44:59 +01:00
Gerd R
25486bffcf
Correct tree of exceptions (#2813)
The ConnectException extends the TransferException not the RequestException
2020-10-25 23:25:00 +01:00
Bryan
c71ec26fd2
Update docs to reflect correct exception when using timeout option (#2812) 2020-10-20 21:07:23 +02:00
Graham Campbell
702a359bcb
Removed unnecessary leading import slashes (#2788) 2020-09-30 12:02:39 +02:00
Graham Campbell
3d17892590
Avoid "functions" from dependencies (#2712)
* Avoid "functions" from dependencies

* Added change log entry
2020-09-30 11:50:52 +02:00
KITAGAWA Yasutaka
f999bc73d3
Update Guzzle version in documentation (#2746) 2020-09-19 15:02:23 +02:00
Matheus Batista
74b6e54268
[Doc] Fix PSR-7 namespace (#2747)
Missing `Message` in the `RequestInterface` namespace.
2020-09-19 15:01:21 +02:00
Edwin van de Pol
c6fec1ee3b
Updated PHP version in documentation (#2730)
As composer states, the minimum version is 7.2.5.
2020-07-23 07:24:39 +02:00
Graham Campbell
d01c37dcd0
Updated installation docs (#2565) 2020-06-16 22:13:12 +03:00
Tobias Nyholm
44affcbd8e
Rebased 2641 (#2653)
* Change link due repository deprecation

- https://github.com/bagder/ca-bundle#deprecated

* Update request-options.rst

Co-authored-by: Serhii Zhuravel <1804871+dxops@users.noreply.github.com>
2020-05-23 22:49:10 +03:00
Graham Campbell
7953b1d64a Merge branch '6.5' into merge-changes 2020-05-23 20:25:21 +01:00
Guilliam Xavier
0d137e9448
[6.5] Remove obsolete statement in handler option docs (#2567)
* Remove obsolete statement in handler option phpDoc

* Remove obsolete statement in handler option doc
2020-05-23 21:58:46 +03:00
Vladislav Novik
5132e8a4da
Fix syntax errors (#2590)
This fixes some unclosed braces to make the example code valid.
2020-05-23 20:16:01 +02:00
Mponos George
88015c3433
Added wording for the timeout (#2645) 2020-05-23 20:25:52 +03:00
Georald Camposano
7e8de7a042
Update quickstart.rst (#2610)
Update "Concurrent requests" examples when using Promise unwrap and settle functions

Co-authored-by: georald camposano <georald@pgiauto.com>
2020-05-18 21:57:13 +03:00
Juan Morales
837b5a3554
Fix error on quickstart for concurrent requests (#2574)
The example fixed gives an error as it is at the moment:

`Fatal error: Uncaught Error: Call to a member function getHeader() on array`

The fix provides the right code for the example.
2020-05-18 20:30:09 +03:00
Graham Campbell
dd2ed2e2e1 [7.0] Remove dead PHP 5 code (#2560)
* Remove dead PHP 5 code

* Removed old docs
2020-01-19 20:22:26 +02:00
Graham Campbell
22bd6b7622 Updated old hyperlinks to their new locations 2020-01-19 11:27:25 +00:00
Graham Campbell
257ec5087d Avoid functions due to global install conflicts (#2546) 2020-01-19 09:16:12 +01:00
Graham Campbell
c816520590 Avoid the getConfig function (#2515) 2020-01-18 14:00:19 +01:00
Mponos George
ed78a6e779 merged with 6.5 2019-12-18 16:12:28 +02:00
Márk Sági-Kazár
2eda2b9c75
Merge pull request #2454 from alexeyshockov/idn-conversion-fix
Better defaults for PHP installations with old ICU lib
2019-12-18 14:24:05 +01:00
Jonny Nott
b372406562
fix dash underline for idn_conversion
...so it actually shows up as a section in the docfile
2019-12-17 08:34:44 +00:00
Alexey Shokov
c63379edaa
Better defaults for PHP installations with old ICU lib 2019-12-12 15:04:43 +04:00
Jason Moore
4a106300e0 Remove unused exception class. Closes #2102 (#2162)
* Remove unused exception class. Closes #2102

* Removed PHPStan rules
2019-12-08 17:02:23 +01:00
Alexey Shokov
9d4716949a Internationalized domain name (IDN) support (#2286)
* Internationalized domain name (IDN) support

* Documentation fix

* Tests for base_uri

* PHPStan and CI fixes

* cs
2019-12-07 10:28:27 +01:00
Marco Aurélio Deleu
9d6e080285 Change docs to match code (#2391) 2019-10-27 10:43:59 +02:00
Luis Jimenez
6a946467b3 MockHandler - Add support to reset internal queue (#2143) 2019-10-23 18:14:19 +02:00
Alexey Shokov
8f10d0ea90 Custom option for cURL multi handler (#2287)
* Custom option for cURL multi handler

* Assertion fix
2019-10-23 18:13:30 +02:00
Christian Weiske
2b1dfedd8d Link Multipartstream in PSR-7 docs (#2305) 2019-10-18 14:00:04 +02:00
Márk Sági-Kazár
15d679de1d
Merge pull request #2360 from mikewink/patch-1
Fixed a little typo
2019-10-14 11:13:52 +02:00
Márk Sági-Kazár
2b4f1cc9cc
Update overview.rst 2019-10-14 11:12:37 +02:00
Vahid Fazlollahzade
b07fcf95e7
Added a note to Overview to mention cURL
Without cURL, concurrency is not available. See https://bit.ly/33fA7RU and https://bit.ly/2IFVG6o for some SO questions.
2019-10-11 20:37:20 +03:30
Mike Wink
7c8d53b300
Fixed a little typo
Fixed a tiny typo in the proxy section.

"…it is up to you[r] to provide the no value…"
2019-09-12 11:32:34 +02:00
Márk Sági-Kazár
b44a8801fc
Merge pull request #2050 from aredridel/document-body-in-testing
Document use of a body with mock responses
2019-04-15 07:52:55 +02:00
Márk Sági-Kazár
e317796722
Remove getContents 2019-04-15 07:52:34 +02:00
Benjamin Morel
693d98d8bc
The $downloadTotal parameter can be zero in progress callback 2019-03-20 16:56:14 +01:00
Jared Howland
fa745406c2 [FIX] Code block in Quickstart documentation (#2268) 2019-02-26 18:21:14 +01:00
Márk Sági-Kazár
c84df5fc88
Merge pull request #2159 from nicolasmure/fix/pool-doc
[Doc] typehint Pool's 'fulfilled' and 'rejected' callbacks
2018-12-21 17:44:32 +01:00
Márk Sági-Kazár
330dc56732
Merge pull request #2161 from casconed/cleanup-environment-variables
Cleanup environment variables
2018-12-21 17:43:56 +01:00
Woody Gilk
3ef0c808db
Clean up concurrent requests documentation 2018-12-06 16:44:52 -06:00
yuuri111
3c4f9564a8
update exceptions doc from Connection to Connect
ConnectionException does not exist.
2018-11-02 00:59:25 +09:00
Darryl Hein
636b6b2ec9
add use statement 2018-10-26 20:12:33 -06:00
Jason Moore
00a5657216 Add to list of supported environment variables 2018-10-04 09:00:25 -05:00