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

2312 Commits

Author SHA1 Message Date
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
Michael Dowling
81090117c9 Fixing some CI bugs 2014-04-21 23:38:43 -07:00
MarkBaker
71375c1554 Merge remote-tracking branch 'upstream/master' 2014-04-21 23:42:40 +01:00
MarkBaker
bde8a06fb9 Line ending at EoF 2014-04-21 18:46:39 +01:00
MarkBaker
b0ede6c7b5 Change persist() to save() and make public, make sessionVar private, and remove unnecessary session header handling and exception trapping in tests 2014-04-19 00:29:34 +01:00
MarkBaker
2ba19b2c8b Use client session to persist the cookie jar 2014-04-18 23:58:24 +01:00
Michael Dowling
c3a79171a5 Merge pull request #642 from guzzle/fix-inject-emitter
Added an emitter option to the Client
2014-04-17 10:06:14 -07:00
Jeremy Lindblom
33ad112c94 Added an emitter option to the Client 2014-04-17 07:26:16 -07:00
Michael Dowling
aae940a173 Merge pull request #640 from guzzle/fix-server
Updated test Server class to make sure server is started on flush()
2014-04-16 17:47:45 -07:00
Jeremy Lindblom
1fa4f2a232 Updated test Server class to make sure server is started on flush() 2014-04-16 17:33:59 -07:00
Michael Dowling
40db53833a 4.0.2 release 4.0.2 2014-04-16 10:33:22 -07:00
Michael Dowling
364fa40fb8 Merge pull request #635 from gjuric/patch-1
Fix wording in exception handling
2014-04-14 11:18:39 -07: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