1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

2124 Commits

Author SHA1 Message Date
Luis Cordova
a2b24d0de4 remove unnecessary colon 2014-06-07 22:40:27 -05:00
Michael Dowling
8b09b04f96 Merge pull request #697 from guzzle/cookie_to_array
Adding ToArrayInterface to CookieJar
2014-06-07 22:12:11 -05:00
Michael Dowling
f0071843d3 Merge pull request #698 from cordoval/patch-2
typo uss -> use
2014-06-07 22:11:52 -05:00
Luis Cordova
eb580220bf typo uss -> use 2014-06-07 22:05:17 -05:00
Michael Dowling
768c215769 Merge commit '83a8997' into cookie_to_array 2014-06-07 11:56:39 -07:00
Michael Dowling
83a8997158 Implementing toArray() on CookieJar
Adding the ability to create a cookie jar and pass in an array of cookies.
2014-06-07 11:53:47 -07:00
Michael Dowling
d79c9820cf Merge pull request #693 from conradhappeliv/patch-1
Update Exception section in quickstart.rst
2014-06-04 16:57:31 -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
Michael Dowling
3195ebbe24 Using the correct aggregation strategy when flattening
This change uses the query aggregator associated with the multi-part upload
object to ensure that the correct aggregation strategy is used when flattening
nested POST fields for a multi-part upload. Closes #690.
2014-06-04 14:36:17 -07:00
Michael Dowling
7ad15b806f Merge remote-tracking branch 'larowlan/multipart-forms' into fix-multipart-nested 2014-06-04 14:30:46 -07:00
Michael Dowling
6a871f2ba8 Adding a fix to ensure that POST requests can use the json option correctly 2014-06-04 11:17:31 -07:00
floriansemm
9990d52093 failing tests for json post request 2014-06-04 08:35:25 +02:00
Cameron Zemek
3e31618ba4 Fix PostBody::createMultipart() 2014-06-04 09:10:15 +10:00
Lee Rowlands
7f20c86fb7 Fail demonstrating nested form-fields 2014-06-04 09:02:56 +10:00
Michael Dowling
715a433100 Adding test to ensure adding new message factory options works 2014-06-03 09:43:15 -07:00
Ivan Batić
699e1ba205 Fixed the bug with cached class methods.
When get_class_methods(__CLASS__) was changed to get_class_methods($this), derived classes got a method list from the first instantiated MessageFactory, which could be the parent or a sibling class, so this is fixed now.
2014-06-03 11:31:23 +02:00
Michael Dowling
c346caa339 Merge pull request #684 from jbinfo/patch-1
POST request instead of GET
2014-05-30 10:33:57 -07:00
Lhassan Baazzi
923d8fb03d POST request instead of GET 2014-05-30 18:32:45 +01:00
Michael Dowling
26bf686c2f Merge pull request #681 from GrahamCampbell/banch
Update composer.json
2014-05-28 11:18:30 -07:00
Graham Campbell
e59cd38d35 Update composer.json 2014-05-28 10:01:09 +01:00
Michael Dowling
85a0ba7de0 4.1.0 release 4.1.0 2014-05-27 22:13:19 -07:00
Michael Dowling
6503778ae0 Some small HHVM hacks. See #538 2014-05-27 21:58:05 -07:00
Michael Dowling
03e9793efe Added setPort and getPort to RequestInterface.
- Removed request method constants from RequestInterface
- Closes #680
2014-05-27 21:16:50 -07:00
Michael Dowling
dd5eceed5d Adding a json_decode wrapper to functions.php 2014-05-27 10:52:13 -07:00
Michael Dowling
3e81974057 Merge pull request #679 from taavit/patch-1
Update UPGRADING.md
2014-05-26 15:19:35 -07:00
Dawid Królak
68ebe99bbc Update UPGRADING.md
In some places is Steam instead Stream
2014-05-26 16:41:27 +02:00
Michael Dowling
9267eba3ef Fixing custom auth docs. Addresses #677 2014-05-21 20:57:06 -07:00
Michael Dowling
596dc90ba8 Merge pull request #675 from guzzle/json_upload
Adding the json request option
2014-05-19 09:49:10 -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
Michael Dowling
ca838eda19 Merge pull request #670 from Briareos/patch-1
Make MessageFactory options extendable
2014-05-15 10:29:38 -07:00
Michael Dowling
71e0c3178c Updating cacert bundle 2014-05-15 10:26:13 -07:00
Milos Colakovic
e2c582fb42 Make MessageFactory options extendable
Currently, the options that get registered are tied to the `MessageFactory` class. If I extend it with `MyMessageFactory`, I should be able to register custom options like `MyMessageFactory::add_my_option`, and `MessageFactory::applyOptions` should recognize it, instead of throwing `[InvalidArgumentException]: "No method is configured to handle the my_option config key"`.
2014-05-15 14:15:43 +02:00
Michael Dowling
4c6962b8cf Merge pull request #667 from aitboudad/patch-1
fixed missing semicolon.
2014-05-13 12:56:27 -07:00
Abdellatif AitBoudad
aa8ebadb67 fixed missing semicolon. 2014-05-13 20:28:52 +01:00
Michael Dowling
b2edcf2dc1 Merge pull request #662 from DavidPrevot/dep
Expand dependencies
2014-05-04 15:41:11 -07:00
Michael Dowling
4a86bd9b9b Merge pull request #661 from DavidPrevot/typo
Documentation and comments: typo fix
2014-05-04 15:39:10 -07:00
David Prévot
d1f90256b4 Expand dependencies
JSON is provided separately from PHP in some recent distributions.
cURL should be suggested according to the documentation.
2014-05-04 17:14:41 -04:00
David Prévot
9642625641 Documentation and comments: typo fix 2014-05-04 17:14:28 -04:00
Michael Dowling
bc640c29e0 Merge pull request #656 from guzzle/event-attacher
Extracted the event management portion of the TransactionIterator
2014-04-30 14:42:53 -07:00
Jeremy Lindblom
a0146ced57 Extracted the event/listener management portion of the TransactionIterator into a trait. 2014-04-30 13:46:07 -07:00
Michael Dowling
cf7a03997c Merge pull request #643 from MarkBaker/master
Use client session to persist the cookie jar
2014-04-29 10:19:04 -07:00
Jeremy Lindblom
be50b10d51 Merge pull request #653 from hpatoio/patch-1
Fixed a typo and updated name for 2 methods
2014-04-29 08:44:10 -07: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
Michael Dowling
391029e800 Merge pull request #646 from oleg8sh/patch-1
Prevent crushes on parsing an incorrect HTTP request
2014-04-28 11:02:02 -07:00
Michael Dowling
6d64e1df65 Merge pull request #647 from edi9999/patch-1
Update quickstart.rst
2014-04-28 10:44:25 -07:00
edi9999
6b6660e40c Update quickstart.rst 2014-04-23 13:23:04 +02:00
oleg8sh
2f654e135d Prevent crushes on parsing incorrect HTTP request
Steps to reproduce crush:
1. Start http-server (like in Ratchet's Hello World (http://socketo.me/docs/hello-world)).
2. Connect to it with telnet (instead of browser), and send any text followed by '\n\n'.
Http-server will crush with "PHP Notice:  Undefined offset: 1 in .../Guzzle/Parser/Message/MessageParser.php on line 36" (ratchet currently uses v.3.7-dev)
2014-04-23 02:35:39 -07:00
Michael Dowling
ea8300db70 Merge pull request #645 from KayLeung/patch-1
Fix examples syntax typo.
2014-04-22 10:09:40 -07:00
Kay.L
bbbe8168f0 Fix examples syntax typo. 2014-04-22 15:04:39 +08:00