Michael Wallner [Wed, 12 Dec 2012 11:42:52 +0000 (11:42 +0000)]
display registered API
Michael Wallner [Wed, 12 Dec 2012 11:42:34 +0000 (11:42 +0000)]
fiy segv with null pointer string on flush
Michael Wallner [Wed, 12 Dec 2012 11:41:59 +0000 (11:41 +0000)]
change array_list API
Michael Wallner [Wed, 12 Dec 2012 11:41:20 +0000 (11:41 +0000)]
remove pass_state callback flag
Michael Wallner [Sun, 9 Dec 2012 22:24:33 +0000 (22:24 +0000)]
tests++
Michael Wallner [Sun, 9 Dec 2012 22:22:45 +0000 (22:22 +0000)]
fix leak
Michael Wallner [Sun, 9 Dec 2012 22:22:29 +0000 (22:22 +0000)]
fix leak
fix addBody()
fix setting the parentMessage property
Michael Wallner [Sun, 9 Dec 2012 22:21:31 +0000 (22:21 +0000)]
fix caching by last modified
honor throttle rate
fix leaks
Michael Wallner [Sun, 9 Dec 2012 22:20:38 +0000 (22:20 +0000)]
get_storage() -> php_http_curl_client_get_storage()
Michael Wallner [Sun, 9 Dec 2012 22:20:24 +0000 (22:20 +0000)]
get_storage() -> php_http_curl_client_get_storage()
Michael Wallner [Sun, 9 Dec 2012 22:19:28 +0000 (22:19 +0000)]
fix leaks
Michael Wallner [Sun, 9 Dec 2012 22:19:02 +0000 (22:19 +0000)]
simplify getCookies()
Michael Wallner [Sun, 9 Dec 2012 22:18:26 +0000 (22:18 +0000)]
fix leak
Michael Wallner [Sun, 9 Dec 2012 22:17:56 +0000 (22:17 +0000)]
explicit chunk size
Michael Wallner [Sun, 9 Dec 2012 11:36:51 +0000 (11:36 +0000)]
remove odd includes
Michael Wallner [Fri, 7 Dec 2012 17:08:36 +0000 (17:08 +0000)]
refactored client options
Michael Wallner [Thu, 29 Nov 2012 09:20:44 +0000 (09:20 +0000)]
2.0.0beta2
Michael Wallner [Mon, 12 Nov 2012 19:31:05 +0000 (19:31 +0000)]
fixup stream filters, so that, when attached as a reading
stream filter, eof of tmp and mem streams is detected
correctly
Michael Wallner [Mon, 12 Nov 2012 19:29:45 +0000 (19:29 +0000)]
let the caller care for the message headers on serialisation if read filters are attached to the body resource
Michael Wallner [Mon, 12 Nov 2012 19:29:38 +0000 (19:29 +0000)]
addref to body resource
Michael Wallner [Fri, 9 Nov 2012 13:30:39 +0000 (13:30 +0000)]
allow interrupted message parsing from stream
Michael Wallner [Thu, 8 Nov 2012 13:46:20 +0000 (13:46 +0000)]
better PHP-5.3 compatibility
Michael Wallner [Wed, 7 Nov 2012 08:52:35 +0000 (08:52 +0000)]
- add http\Env::getResponseStatusForAllCodes()
- merge message headers
Michael Wallner [Sun, 28 Oct 2012 20:21:24 +0000 (20:21 +0000)]
80%+ test coverage
Michael Wallner [Sun, 28 Oct 2012 20:20:08 +0000 (20:20 +0000)]
fix grabbing files from array
Michael Wallner [Sun, 28 Oct 2012 20:19:44 +0000 (20:19 +0000)]
fix typo
Michael Wallner [Sun, 28 Oct 2012 20:19:12 +0000 (20:19 +0000)]
fix curl_multi with libevent2
Michael Wallner [Thu, 11 Oct 2012 10:10:18 +0000 (10:10 +0000)]
2.0.0beta1
Michael Wallner [Mon, 30 Jul 2012 18:35:49 +0000 (18:35 +0000)]
test http\Url::SANITIZE_PATH
Michael Wallner [Mon, 30 Jul 2012 18:35:08 +0000 (18:35 +0000)]
test parsing messages from stream
Michael Wallner [Mon, 30 Jul 2012 18:34:35 +0000 (18:34 +0000)]
fix leak in persisten handles cleanup routine
Michael Wallner [Mon, 30 Jul 2012 18:33:55 +0000 (18:33 +0000)]
fix php_http_locate_bin_eol(()
Michael Wallner [Mon, 30 Jul 2012 18:33:20 +0000 (18:33 +0000)]
fix parsing messages from stream
Michael Wallner [Mon, 30 Jul 2012 18:32:46 +0000 (18:32 +0000)]
implement Serializable
Michael Wallner [Mon, 30 Jul 2012 18:32:30 +0000 (18:32 +0000)]
implement Serializable
Michael Wallner [Mon, 30 Jul 2012 18:31:46 +0000 (18:31 +0000)]
add php_http_message_zip(): merge request/response messages for history
Michael Wallner [Mon, 30 Jul 2012 18:31:03 +0000 (18:31 +0000)]
fix parsing of folded headers
Michael Wallner [Mon, 30 Jul 2012 18:30:22 +0000 (18:30 +0000)]
foward querystring API
Michael Wallner [Mon, 30 Jul 2012 18:29:59 +0000 (18:29 +0000)]
ensure we're talking to curl ops
Michael Wallner [Mon, 30 Jul 2012 18:29:39 +0000 (18:29 +0000)]
ensure we're talking to curl ops
Michael Wallner [Mon, 30 Jul 2012 18:29:12 +0000 (18:29 +0000)]
allow send() without parameter
Michael Wallner [Mon, 30 Jul 2012 18:28:37 +0000 (18:28 +0000)]
explicitly declare as abstract
Michael Wallner [Mon, 30 Jul 2012 18:28:12 +0000 (18:28 +0000)]
avoid serialization
Michael Wallner [Mon, 30 Jul 2012 18:27:44 +0000 (18:27 +0000)]
fix leak; fix history
Michael Wallner [Mon, 30 Jul 2012 18:26:43 +0000 (18:26 +0000)]
expand #if CURL
Michael Wallner [Fri, 20 Jul 2012 09:20:18 +0000 (09:20 +0000)]
ensure these properties are always set
Anatoliy Belsky [Sun, 17 Jun 2012 16:29:07 +0000 (16:29 +0000)]
fixes for windows and 5.3 compatibility
Michael Wallner [Wed, 30 May 2012 11:10:08 +0000 (11:10 +0000)]
* split request and response message parsers, so the "100 Continue" response does not intercept the request
* make sure that message headers are updated by inspecting the body prior sending the request
* add http\Message\Body::getResource()
Michael Wallner [Wed, 30 May 2012 11:07:31 +0000 (11:07 +0000)]
exlcude the port from hostname
Michael Wallner [Thu, 10 May 2012 16:24:42 +0000 (16:24 +0000)]
add missing HTTP response status codes regarding to IANA
Michael Wallner [Wed, 9 May 2012 12:30:04 +0000 (12:30 +0000)]
add json content type handler if ext/json is present
Michael Wallner [Mon, 7 May 2012 10:46:12 +0000 (10:46 +0000)]
don't sanitize URL path by default, and add http\Url::SANITIZE_PATH flag for that
Michael Wallner [Fri, 13 Apr 2012 11:18:45 +0000 (11:18 +0000)]
prepare 2.0.0alpha1 release
Michael Wallner [Fri, 13 Apr 2012 11:17:03 +0000 (11:17 +0000)]
fix valgrind errors
Michael Wallner [Thu, 12 Apr 2012 14:56:58 +0000 (14:56 +0000)]
fix leak; fix compiler warning
Michael Wallner [Thu, 12 Apr 2012 14:10:25 +0000 (14:10 +0000)]
add http\Client\AbstractClient#request(string method, string url[, array headers=null[, mixed body=null[, array options=null]]])
Michael Wallner [Thu, 12 Apr 2012 14:07:09 +0000 (14:07 +0000)]
fiy a serialization issue; always add "arguments" key to params array; add tests
Michael Wallner [Thu, 5 Apr 2012 17:33:35 +0000 (17:33 +0000)]
use php_http_array_hashkey_string* where applicable
Michael Wallner [Thu, 5 Apr 2012 08:33:45 +0000 (08:33 +0000)]
fixed this parser bug; removed old code
Michael Wallner [Thu, 5 Apr 2012 07:55:58 +0000 (07:55 +0000)]
fix serialization of http\Params; one test still fails though
Michael Wallner [Wed, 4 Apr 2012 10:08:01 +0000 (10:08 +0000)]
fix bug #64111
enable the params parser to parse x-www-form-urlencoded (query string)
Michael Wallner [Tue, 3 Apr 2012 10:00:01 +0000 (10:00 +0000)]
code cleanup
Michael Wallner [Fri, 30 Mar 2012 13:21:37 +0000 (13:21 +0000)]
missing version number
Michael Wallner [Fri, 30 Mar 2012 13:21:08 +0000 (13:21 +0000)]
release dev10
Michael Wallner [Fri, 30 Mar 2012 12:27:02 +0000 (12:27 +0000)]
reintegrate the DEV_2-client branch
Michael Wallner [Fri, 30 Mar 2012 12:20:46 +0000 (12:20 +0000)]
update filelist
Michael Wallner [Fri, 30 Mar 2012 12:14:01 +0000 (12:14 +0000)]
batch renaming: client*curl curl*client
Michael Wallner [Fri, 30 Mar 2012 11:54:57 +0000 (11:54 +0000)]
let the request be able to carry client options
Michael Wallner [Thu, 29 Mar 2012 15:56:18 +0000 (15:56 +0000)]
operate directly on the querystring of the request url
Michael Wallner [Thu, 29 Mar 2012 09:56:07 +0000 (09:56 +0000)]
merge usort
Michael Wallner [Thu, 29 Mar 2012 08:22:46 +0000 (08:22 +0000)]
don't crash if user extends abstract classes
Michael Wallner [Wed, 28 Mar 2012 08:14:27 +0000 (08:14 +0000)]
fix crash: options might be null
Michael Wallner [Tue, 27 Mar 2012 10:55:44 +0000 (10:55 +0000)]
re-enable the factory
Michael Wallner [Tue, 27 Mar 2012 10:12:11 +0000 (10:12 +0000)]
make the pool functional again
Michael Wallner [Tue, 27 Mar 2012 07:56:29 +0000 (07:56 +0000)]
let the ctor honor the options array too
Michael Wallner [Tue, 27 Mar 2012 07:55:00 +0000 (07:55 +0000)]
no need for separate property
Michael Wallner [Tue, 27 Mar 2012 07:54:20 +0000 (07:54 +0000)]
fix errenous quotes
Michael Wallner [Mon, 26 Mar 2012 18:44:24 +0000 (18:44 +0000)]
fypo tix
Michael Wallner [Mon, 26 Mar 2012 17:01:32 +0000 (17:01 +0000)]
missed one file
Michael Wallner [Mon, 26 Mar 2012 17:00:58 +0000 (17:00 +0000)]
add current state of refactoring
Michael Wallner [Mon, 26 Mar 2012 15:49:02 +0000 (15:49 +0000)]
commit lingering changes: http\Message::toStream() and ::toCallback()
Michael Wallner [Mon, 26 Mar 2012 08:08:39 +0000 (08:08 +0000)]
devel branch for the proposed client API
Michael Wallner [Mon, 26 Mar 2012 07:58:56 +0000 (07:58 +0000)]
add missing tests
Michael Wallner [Fri, 23 Mar 2012 13:43:02 +0000 (13:43 +0000)]
add population of _POST and _FILES for non-POST requests; release 2.0.0dev9
Michael Wallner [Fri, 23 Mar 2012 09:46:16 +0000 (09:46 +0000)]
update curl info
Michael Wallner [Thu, 22 Mar 2012 17:34:36 +0000 (17:34 +0000)]
remove php_http_request_method.[ch]; add support for CURL_LOCK_DATA_SSL_SESSION, CURLOPT_RESOLVE, CURLOPT_DNS_SERVERS
Michael Wallner [Thu, 22 Mar 2012 16:21:26 +0000 (16:21 +0000)]
remove 90% of the request method cruft; request methods are now simple strings
Michael Wallner [Tue, 20 Mar 2012 20:55:36 +0000 (20:55 +0000)]
add changelog and new tests
Michael Wallner [Tue, 20 Mar 2012 20:55:07 +0000 (20:55 +0000)]
allow arguments at first level, i.e. the following examples are equally stringified as "key;some=stuff"
["key"=>["value"=>true,"arguments"=>["some"=>"stuff"]]]
["key"=>["value"=>true,"some"=>"stuff"]]
["key"=>["some"=>"stuff"]]
Michael Wallner [Tue, 20 Mar 2012 20:51:16 +0000 (20:51 +0000)]
remove lots of unused code; tests++; speed up php_http_message_serialize() by reversing the message chain prior serialization; set an appropriate response status according to the response code
Michael Wallner [Tue, 20 Mar 2012 20:48:03 +0000 (20:48 +0000)]
use a http\Params like array as content disposition
Michael Wallner [Tue, 20 Mar 2012 16:12:54 +0000 (16:12 +0000)]
fix package.xml
Michael Wallner [Sat, 17 Mar 2012 10:37:21 +0000 (10:37 +0000)]
keep track of changes in package.xml
Michael Wallner [Sat, 17 Mar 2012 10:36:22 +0000 (10:36 +0000)]
rename http\Env\Request::getPost() to getForm(), because it actually retrieves form data; add tests to pacakge.xml as suggested by Remi Collet
Michael Wallner [Fri, 16 Mar 2012 16:14:13 +0000 (16:14 +0000)]
release 2.0.0dev8
Michael Wallner [Thu, 15 Mar 2012 15:29:27 +0000 (15:29 +0000)]
duh, test before commit!; remove errenous additional CRLF on php_http_message_to_string(); fix some tests while at
Michael Wallner [Thu, 15 Mar 2012 15:06:43 +0000 (15:06 +0000)]
renamed http\Message\Body::add() to ::addForm() because it acually adds form-data; add http\Message\Body::addPart(http\Message part)
Michael Wallner [Thu, 15 Mar 2012 15:06:04 +0000 (15:06 +0000)]
move the param string builder into it's own function
Michael Wallner [Tue, 13 Mar 2012 22:02:13 +0000 (22:02 +0000)]
add some more tests; fix leak in php_http_env_get_response_header(); honor content-type etc. headers in php_http_env_get_request_headers();
Michael Wallner [Sun, 11 Mar 2012 19:39:04 +0000 (19:39 +0000)]
add ob handler http\Env\Response::__invoke() appending to it's body