Michael Dowling
761304764e
Moving streams to its own package
2014-03-11 19:35:51 -07:00
Michael Dowling
1abcf6c2df
Adding a check to ensure that an exception cannot have the emitted error setting set to false
2014-03-11 10:43:05 -07:00
Michael Dowling
5716a446ef
Removing HasHeadersInterface to make more like the PSR
2014-03-11 00:25:54 -07: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
Michael Dowling
d6117c9626
Adding remaining PSR method
2014-03-10 23:27:20 -07:00
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
Grzegorz Andrejczyn
7b1cff13a3
Change CurlMultiProxy constructor parameters for back compatibility
...
Move select_timeout to general client options
2014-03-04 21:14:17 +01:00
Grzegorz Andrejczyn
a60bb5692b
possibility to configure a timeout for curl function curl_multi_select #527
2014-03-04 20:03:43 +01: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
7101668d76
Scheme and port fixes
2014-02-28 13:56:12 -08:00
Michael Dowling
b0a3ec7517
Fix for URLs that start with http but are not absolute. Closes #574 .
2014-02-28 13:44:17 -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
yitznewton
64aee32bb5
Updating MockPlugin to throw an exception if queue is empty
2014-02-24 23:11:22 -05:00