Michael Dowling
32f7bb8ba0
Adding first and last dynamic event priorities
2014-03-09 20:54:03 -07:00
Michael Dowling
fa3590e105
Sanitizing the event system and priorities
...
- Adding constants for common event landmarks.
- Reorganizing the priorities of events.
- Renaming PrepareRequestBody to Prepare
- Renaming several other event methods to be consistent.
- Some code cleanup.
2014-03-09 19:59:34 -07:00
Michael Dowling
a9d93d2733
Fixing race condition that failed to drain the queue
...
Adding a simple test to ensure requests are sent from a queue
Removing conditional as it will already throw an exception if the transaction is not found in the batch context
Adding a test to see if iterator functionality has changed by version
Setting error priority higher
2014-03-09 18:53:48 -07:00
Michael Dowling
69f358ae43
Cleaning up MultiAdapter
...
Adding a test to ensure that a HeadersEvent is emitted for a HEAD request
Simplifying test
Using a LimitIterator
2014-03-09 14:24:35 -07:00
Michael Dowling
61ea0f7ebf
Better assertions in test
2014-03-09 11:32:21 -07:00
Michael Dowling
4bec7788d4
Adding BatchContext tests
2014-03-09 10:42:43 -07:00
Michael Dowling
a8bab9d03e
Moved curl_reset to releasing handles. Added test.
...
- Moved curl_reset to when handles are released back into the pool rather than
when they are reused. This helps to ensure that we aren't holding on to
resources like request and response object graphs longer than necessary.
- Adding missing CurlAdapter tests.
2014-03-09 10:23:50 -07:00
Michael Dowling
0840272151
Adding missing MultiAdapter tests
2014-03-07 18:13:54 -08:00
Michael Dowling
0ebe576e97
Adding a test to ensure absolute URI templates can be used in clients
2014-03-07 14:30:06 -08:00
Michael Dowling
f23925b276
Adding stream adapter test
2014-03-07 14:20:13 -08:00
Michael Dowling
41a2224022
Cleaning up debug output for the stream adapter
2014-03-07 13:56:07 -08:00
Michael Dowling
84b0176d42
Adding another missing stream adapter tests
2014-03-07 13:28:29 -08:00
Michael Dowling
e48af23498
Fixing some StreamAdapter tests
2014-03-07 13:22:07 -08:00
Michael Dowling
9ecc4d7f93
Merge remote-tracking branch 'pborreli/guzzle4-typos' into guzzle4
2014-03-07 13:07:39 -08:00
Michael Dowling
e32d850a99
Cleaning up the EventEmitter
...
- Changed GuzzleHttp\Event\SubscriberInterface::getSubscribedEvents from a
static method to an instance method.
- Renamed addSubscriber to attach.
- Renamed removeSubscriber to detach.
2014-03-07 10:14:17 -08:00
Michael Dowling
05a12083eb
Removing unused use
2014-03-07 09:13:41 -08:00
Michael Dowling
05976ee2b1
Adding some missing cookie jar tests
2014-03-06 10:35:57 -08:00
Michael Dowling
a933648121
Adding a parse exception test
2014-03-06 10:30:42 -08:00
Michael Dowling
1e5bac24a5
Cleaning up MessageFactory and adding tests
2014-03-06 09:54:51 -08:00
Michael Dowling
9a18de3a6c
Adding missing tests
2014-03-06 09:43:25 -08:00
Michael Dowling
565867bcf4
Wrapping all exceptions in the client->send() method and adding tests
2014-03-06 09:39:29 -08:00
Michael Dowling
6427687b6e
Adding a test to ensure that the scheme updates the port correctly
2014-03-06 09:33:00 -08:00
Michael Dowling
719c3e03ef
Adding referer tests
2014-03-06 09:27:11 -08:00
Michael Dowling
79f3e7f4c8
Adding some missing tests
2014-03-06 09:19:59 -08:00
Michael Dowling
aec04e2b94
Renaming method
2014-03-06 09:16:04 -08:00
Michael Dowling
13e14e1dc0
Moving content-type and length guessing to the PrepareRequestBody subscriber
2014-03-06 09:15:00 -08:00
Pascal Borreli
e98a308495
Fixed typos
2014-03-06 01:00:22 +00:00
Michael Dowling
5472c17055
Simplifying and updating cookie implementation
2014-03-05 00:55:37 -08:00
Michael Dowling
f93f734823
Cleaning up adapter and making more things private
2014-03-04 21:05:04 -08:00
Michael Dowling
368191d72c
Ensuring a response is set in headers event
2014-03-02 21:33:09 -08:00
Michael Dowling
7e5a93b51a
Fixing malformed URL errors in HHVM
2014-03-02 13:10:33 -08:00
Michael Dowling
91c1f5bd6c
Trying to fix various HHVM tests
2014-03-02 12:57:33 -08:00
Michael Dowling
5ea28107e3
Closing streams when finished with them
2014-03-02 12:27:24 -08:00
Michael Dowling
9f91c15507
Fixing some malformed URLs
2014-03-02 12:18:41 -08:00
Michael Dowling
2b2ee1bb95
Hardening the event system for the before and error event so that events are not emitted twice that are encountered during the before event
2014-03-02 12:12:59 -08:00
Michael Dowling
205bea3753
Preventing double error event emission
2014-03-01 17:18:12 -08:00
Michael Dowling
c23935ee82
Shortening event name
2014-03-01 10:19:55 -08:00
Michael Dowling
cb28097490
Moving Log and Retry subscribers to separate repos
2014-02-28 15:38:09 -08:00
Michael Dowling
ffd4a1bd59
Adding more control to how JSON and XML responses are parsed. Addresses #580 .
2014-02-28 11:42:38 -08:00
Michael Dowling
f4ccb75e8e
Adding getFile() to PostBodyInterface
2014-02-27 21:16:13 -08:00
Michael Dowling
b67d115d4a
Fixing null reference when closing transactions
2014-02-23 14:42:45 -08:00
Michael Dowling
fce0d61f5e
Trying to fix failing tests on 5.4 and HHVM
2014-02-23 14:31:26 -08:00
Michael Dowling
4ba1102895
Trying to fix tests on Travis
2014-02-23 14:24:31 -08:00
Michael Dowling
7fcf225d0e
Fixing dot segment removal, how absolute URLs are detected, the namespace used for functions.php, and how segments of a path are returned
2014-02-21 11:47:05 -08:00
Michael Dowling
2ef69a3d43
Updating header parsing to accept a message and string value for a header
2014-02-20 22:04:44 -08:00
Michael Dowling
27c4a47f3c
Adding tests for Curl and CurlMulti, removing error event
...
- Adding a shared set of tests for curl and multi adapters
- Removing guard for failing to create a curl handle. This should not
be allowed to fail.
2014-02-19 23:26:33 -08:00
Michael Dowling
769de2d766
Fixing the easy adapter
2014-02-19 22:45:08 -08:00
Michael Dowling
ae89ca3566
Fixing RFC 3986 URL resolution and dot-segments
...
Url::combine() now returns a new Url instance.
2014-02-19 15:28:22 -08:00
Michael Dowling
65333062c9
Moving Post namespace up a level
2014-02-17 20:55:48 -08:00
Michael Dowling
bcdaa497a2
Adding Referer to redirects
2014-02-17 20:52:36 -08:00