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

17 Commits

Author SHA1 Message Date
Michael Dowling
52a8595c76 Adding missing coverage 2014-09-12 14:47:15 -07:00
Michael Dowling
91df3a306b Updating for new streams changes 2014-09-10 17:13:42 -07:00
Michael Dowling
ef0c3c1d56 Updating to use guzzle streams 3.0 2014-09-08 21:35:11 -07:00
Michael Dowling
668209c895 Getting tests working again. Removing more fluent interfaces.
Removing more fluent interfaces to make it easier to decorate
classes.
2014-09-08 21:35:11 -07:00
Michael Dowling
64fcc4b37c Changing content-disposition order to match curl. Closes #799 2014-09-08 13:58:31 -07:00
Michael Dowling
af5107487e Properly encoding multipart/form-data fields that contain special characters. Closes #758 2014-08-06 13:33:33 -07:00
Reinier Kip
fd94f23a64 Test ampersand in multipart field value. 2014-08-06 13:27:00 +02:00
Michael Dowling
f74931ee9f Fixing bug in serialzing POST requests 2014-07-22 17:48:20 -07:00
Michael Dowling
2c7cc07ba8 Merge remote-tracking branch 'pdt256/master'
Conflicts:
	src/Post/PostBody.php
2014-07-15 18:36:35 -07:00
Jamie Isaacs
4166ecbe79 Allowing PostBody to support multipart/form-data with base64 encoded strings 2014-07-15 17:20:00 -07:00
Michael Dowling
14f0873442 Lots of fixes to multipart/form-data
Using the AppendStream to vastly clean up how a multipart POST is created.
This changes also cleans up how the body is sent over the wire, eliminating
some bugs I discovered when fields are sent before files.
2014-07-15 15:50:36 -07:00
Michael Dowling
c97511c0d7 Adding more robust query string parsing.
This commit adds a QueryParser class that is able to perform much more
robust query parsing. The query parser can track whether or not to use
a duplicate aggregator and whether or not to use numeric indices in
mutli-value key value pairs. You can now control how the query string
is url-decoded when parsing as well as disable url-decoding.

This change addresses nested key value pairs using 'a[b][c]=d' syntax
such that when parsed, will produce nested arrays containing
`['a' => ['b' => ['c' => 'd']]]`. This gets Guzzle query strings more
like PHP's parse_str().

This change closes #730 and closes #731 dealing with multipart POST
requests stripping "+" signs from values. POST key value pairs for
multipart requests are no longer modified at all, but rather sent over
the wire exactly as given.
2014-07-11 17:25:13 -07:00
Lee Rowlands
7f20c86fb7 Fail demonstrating nested form-fields 2014-06-04 09:02:56 +10:00
Michael Dowling
886b03c5b8 Cleaning up PostFile
- Removing dependency on HasHeadersTrait and making interface smaller.
- Cleaning up some POST classes.
- Updating MultipartBody to use new interface.
2014-03-11 00:17:44 -07:00
Pascal Borreli
e98a308495 Fixed typos 2014-03-06 01:00:22 +00:00
Michael Dowling
f4ccb75e8e Adding getFile() to PostBodyInterface 2014-02-27 21:16:13 -08:00
Michael Dowling
65333062c9 Moving Post namespace up a level 2014-02-17 20:55:48 -08:00