1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00

294 Commits

Author SHA1 Message Date
Graham Campbell
3d12c4ba38
Merge branch '7.5' into 7.6 2023-05-14 11:21:09 +02:00
Illia Antypenko
39ad11f6c7
Corrected docs and default connect timeout value to 300 seconds (#3075)
Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
2023-05-14 11:17:19 +02:00
Graham Campbell
a8154fcb94
Add support for setting crypto method in a unified way (#3132) 2023-05-13 17:28:03 +02:00
Shawn Corrigan
e0a28b6a14
Update Testing documentation for test-server package (#3113) 2023-04-17 17:15:03 +01:00
Hynek Schlawack
27389fa092
docs: Pin Jinja2 & markupsafe (#3063) 2022-08-28 16:00:02 +01:00
Christian Weiske
84779a5cc7
Link from documentation to upgrade guide (#3002)
.. because I expected to find the guide in the documentation.
2022-07-31 10:12:55 +01:00
Akshay Agarwal
ca5c743d20
Link to the correct RFC for 'Basic' authentication (#3044) 2022-06-22 23:41:11 +01:00
Greg Pinnington
b720a2d0ff
Update docs from default_handler to HandlerStack::create (#3000)
Co-authored-by: RoBorg <roborg@gmail.com>
2022-05-16 17:07:31 +02:00
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