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

311 Commits

Author SHA1 Message Date
Ben Longden
13178c36b0 Fixes todo on splitting headers by ';' 2013-06-28 17:31:37 +01:00
Ben Longden
c43b822e02 Adds test to Header parseParams 2013-06-27 18:12:44 +01:00
Ben Longden
d546fa9670 Adds test for URL containing '=' 2013-06-27 18:06:10 +01:00
Michael Dowling
6809b59368 Adding a guzzle-perf endpoint to the test server 2013-06-26 17:51:04 -07:00
Michael Dowling
097f22b217 Fixing setting default sticky client options 2013-06-26 11:46:43 -07:00
Michael Dowling
1a2c616bd0 Cleaning up and adding tests for malformed URL parsing 2013-06-26 11:36:41 -07:00
Michael Dowling
8f94fcfc40 Allow a Host header to diverge from the URL host. Closes #362 2013-06-26 11:25:10 -07:00
Michael Dowling
c468c74223 Adding cert and ssl_key as request options. Closes #351 2013-06-26 11:21:27 -07:00
Michael Dowling
cae4acd96f Fixing issue with setting options on head requests. Closes #352 2013-06-23 10:19:47 -07:00
Michael Dowling
9239f08e00 Adding an easier way to set and retrieve default options 2013-06-10 17:17:36 -07:00
Michael Dowling
6743aed41f Better decoupling of requests from CurlMulti 2013-06-09 20:01:54 -07:00
Michael Dowling
caed0ab1aa Client::expandTemplate() and Client::getUriTemplate() are protected 2013-06-09 13:41:02 -07:00
Michael Dowling
505bb7b665 request.params is deprecated. Use request.options/params. Adding params request option. 2013-06-09 11:14:47 -07:00
Michael Dowling
e29fcc71fd Adding the ability to specify default request options for every client request
Adding Guzzle\Common\Collection::setPath($path, $value)
Marking setDefaultHeaders() and getDefaultHeaders() as deprecated on a
Client.
Added the ability to provide flags when applying RequestFactory options.
This allows for things like applying options in a default manner so that
they do not overwrite existing values.
2013-06-09 01:25:35 -07:00
Michael Dowling
c2e9f5e269 More improvements to QueryString 2013-06-08 00:22:30 -07:00
Michael Dowling
a5a6b87f69 Removing the need for a temp variable 2013-06-07 23:08:40 -07:00
Michael Dowling
e9b120942c Adding StreamInterface::isRepeatable. Marked Request::isResponseBodyRepeatable() as deprecated. 2013-06-07 22:40:51 -07:00
Michael Dowling
ab4dc363b1 Accepting Basic and Digest as authentication schemes for RequestInterface::setAuth() 2013-06-07 21:59:29 -07:00
Michael Dowling
7141fd8f5c Hiding the CURLAUTH_* constants from the Request options API and instead using Basic and Digest auth types 2013-06-07 21:29:56 -07:00
Michael Dowling
dca26ad31c Adding connect_timeout and removing curl from request options 2013-06-07 18:43:57 -07:00
Michael Dowling
7d44266a56 Adding the ability to enable deprecation warnings when using deprecated functionality 2013-06-06 22:12:31 -07:00
Michael Dowling
52d89960df Coverage for HeaderFactory 2013-06-03 22:48:00 -07:00
Michael Dowling
d6c67909df More tests 2013-06-03 22:42:13 -07:00
Michael Dowling
8f7839f51f Adding more tests 2013-06-03 22:17:14 -07:00
Michael Dowling
21385e1ad2 Adding a proxy option to requests. Adding a save_to option. Allowing the auth value to accept an optional auth scheme 2013-06-03 21:52:05 -07:00
Michael Dowling
edc734f6a1 Adding the ability to specify request creational options on a command using command.options 2013-06-02 17:40:41 -07:00
Michael Dowling
7bf8be6ddb Giving ClientInterface::get() a much better API 2013-06-02 17:04:32 -07:00
Michael Dowling
158f956a52 Moving the option application to RequestFactoryInterface. Adding options parameters to client HTTP methods and createRequest. 2013-06-02 15:54:43 -07:00
Michael Dowling
c40e073446 Making response serializable 2013-06-01 16:36:30 -07:00
Michael Dowling
136cfac53e Fixing adding links to a Link header 2013-06-01 15:22:26 -07:00
Michael Dowling
ebbae74993 Removing overly verbose @covers annotations from unit tests 2013-05-29 22:53:59 -07:00
Michael Dowling
37ae86b69a Adding the ability to inject a custom HeaderFactory 2013-05-29 22:10:32 -07:00
Michael Dowling
ede507c326 Cleaning up EntityEnclosingRequestInterface 2013-05-29 22:10:32 -07:00
Michael Dowling
c8f0e96a9d Removing header blacklisting. This is not needed now that Accept, Expect, etc can be managed via Guzzle and it caused more issues than benefits (e.g. signing requests would create an invalid signature) 2013-05-29 22:10:32 -07:00
Michael Dowling
2d0a15c059 Better separation of concerns for Request and RequestMediator. Adding startResponse() to RequestInterface and removine receiveResponseHeader() 2013-05-29 22:10:32 -07:00
Michael Dowling
c68015cd57 Making setting a request on a response even more deprecated 2013-05-29 22:10:31 -07:00
Michael Dowling
a80f73b53c Removing the cast as a string argument of getHeader 2013-05-29 22:10:31 -07:00
Michael Dowling
d7ff043ceb Fixing an issue where the return values of Response header functions were not consistently a string 2013-05-29 22:10:31 -07:00
Michael Dowling
598567d166 Restructuring internal header structure, adding granular headers, move HeaderComparision because it is only for testing, and using a header collection 2013-05-29 22:10:31 -07:00
Michael Dowling
2822304d2e Reverting the change that added the cloning of a body when cloning a
request. Closes #327
2013-05-27 20:10:36 -07:00
Michael Dowling
bc47b69923 Merge branch 'master' of github.com:guzzle/guzzle 2013-05-27 19:51:09 -07:00
Michael Dowling
b0d1c9ee22 Cleaning up header constructor 2013-05-27 19:38:26 -07:00
Lars Strojny
c7c1def18b Fixing parsing of incomplete URLs 2013-05-26 14:09:45 +02:00
Michael Dowling
f833fda488 Deprecating setTokenizedHeader and getTokenizedHeader. These never actually worked correctly. Use $header->parseParams() instead. 2013-05-23 17:04:03 -07:00
Michael Dowling
e68bc9fd95 Adding the ability to parse Link headers in a response
Adding a parseParams method to header objects that can be used across the project.
2013-05-23 16:36:02 -07:00
Michael Dowling
b79634f189 Deprecating ZF1 log and cache adapters.
Removing ZF1 tests that required some hacky tests and composer settings
CS fixes
2013-05-10 21:16:12 -07:00
Michael Dowling
3b14a01963 Fixing tests 2013-05-10 20:46:21 -07:00
Michael Dowling
04a8d47b77 Better handling of setting the effective URL 2013-05-10 17:44:48 -07:00
Michael Dowling
8c1b080235 Correctly handling effective URLs for responses 2013-05-10 16:20:48 -07:00
Michael Dowling
1742bacfe1 Removing old redirect hack 2013-05-10 16:12:36 -07:00