Michael Wallner [Tue, 12 Apr 2005 17:45:34 +0000 (17:45 +0000)]
- use exceptions in constructors and HttpRequest::send()
Michael Wallner [Tue, 12 Apr 2005 16:05:25 +0000 (16:05 +0000)]
- update
Michael Wallner [Tue, 12 Apr 2005 15:36:00 +0000 (15:36 +0000)]
- even better use a object struct member for that crap
Michael Wallner [Tue, 12 Apr 2005 15:28:44 +0000 (15:28 +0000)]
- add HttpMessage::setRaw(), ::getBody(), ::getHeaders()
- using a global tmp zval for the property avoids memleaks
Michael Wallner [Tue, 12 Apr 2005 14:57:55 +0000 (14:57 +0000)]
- missing inluce
- old macro
Michael Wallner [Tue, 12 Apr 2005 14:44:48 +0000 (14:44 +0000)]
- include object headers only for ZE2
Michael Wallner [Tue, 12 Apr 2005 14:06:43 +0000 (14:06 +0000)]
- update
Michael Wallner [Tue, 12 Apr 2005 13:58:59 +0000 (13:58 +0000)]
- split object code into separate files
Michael Wallner [Tue, 12 Apr 2005 11:29:32 +0000 (11:29 +0000)]
- undef debug stmts
- clean obj prop hash on beginning ...
Michael Wallner [Tue, 12 Apr 2005 11:19:47 +0000 (11:19 +0000)]
- preparations for HttpMessage
# <rant>object/property handlers suck big rocks</rant>
Michael Wallner [Mon, 11 Apr 2005 10:33:00 +0000 (10:33 +0000)]
* "Status" now is "Response Status"
# need to switch to http_message api
Michael Wallner [Mon, 11 Apr 2005 10:26:58 +0000 (10:26 +0000)]
oops, typos causing mem-corruption
Michael Wallner [Mon, 11 Apr 2005 10:12:26 +0000 (10:12 +0000)]
- check for success
Michael Wallner [Mon, 11 Apr 2005 10:04:34 +0000 (10:04 +0000)]
- http_parse_headers() now accepts a callback for handling of request/response lines
(used in the http_message api)
Michael Wallner [Mon, 11 Apr 2005 07:12:17 +0000 (07:12 +0000)]
- a header may have an array of values
Michael Wallner [Mon, 11 Apr 2005 06:53:39 +0000 (06:53 +0000)]
- typo
Michael Wallner [Mon, 11 Apr 2005 06:52:08 +0000 (06:52 +0000)]
- simplify
Michael Wallner [Mon, 11 Apr 2005 06:51:55 +0000 (06:51 +0000)]
- missing includes
Michael Wallner [Sun, 10 Apr 2005 15:58:30 +0000 (15:58 +0000)]
* more modular file structure
# one big file was convenient for vim but not for GUI editors
Michael Wallner [Sun, 10 Apr 2005 15:56:35 +0000 (15:56 +0000)]
- error workaround
Michael Wallner [Thu, 24 Mar 2005 17:03:40 +0000 (17:03 +0000)]
* update
Michael Wallner [Thu, 24 Mar 2005 16:57:50 +0000 (16:57 +0000)]
* check initial length of arg_separator
Michael Wallner [Thu, 24 Mar 2005 16:50:10 +0000 (16:50 +0000)]
* satisfy gcc
Michael Wallner [Thu, 24 Mar 2005 16:49:52 +0000 (16:49 +0000)]
* update version info
Michael Wallner [Thu, 24 Mar 2005 16:49:39 +0000 (16:49 +0000)]
* fix compiler warning
Michael Wallner [Thu, 24 Mar 2005 16:32:48 +0000 (16:32 +0000)]
* renamed HttpRequest::addHeader() to ::addHeaders() and addCookie() to ::addCookies()
* added ::(set|get|unset)SslOptions()
* added ::(get|unstet)(Headers|Cookies)()
Michael Wallner [Thu, 24 Mar 2005 16:30:56 +0000 (16:30 +0000)]
* added arg_sep param ot http_build_query()
Michael Wallner [Thu, 24 Mar 2005 16:30:12 +0000 (16:30 +0000)]
* added http_parse_cookie()
* http_parse_headers() now makes an array out of headers with equal name
Michael Wallner [Wed, 23 Mar 2005 13:17:45 +0000 (13:17 +0000)]
- send full entity if range is "0-"
Michael Wallner [Wed, 23 Mar 2005 13:12:01 +0000 (13:12 +0000)]
- added SSL options
Michael Wallner [Wed, 23 Mar 2005 13:11:19 +0000 (13:11 +0000)]
- improved range checking
Michael Wallner [Tue, 22 Mar 2005 19:20:18 +0000 (19:20 +0000)]
- class renamed from HTTPi to Http
- added short note in README
Michael Wallner [Tue, 22 Mar 2005 15:59:39 +0000 (15:59 +0000)]
- use size_t and return 0 on fail
Michael Wallner [Tue, 22 Mar 2005 14:41:53 +0000 (14:41 +0000)]
- updating docs
Michael Wallner [Tue, 22 Mar 2005 12:14:06 +0000 (12:14 +0000)]
* that should do the trick
Michael Wallner [Tue, 22 Mar 2005 11:45:24 +0000 (11:45 +0000)]
* move include to top
Michael Wallner [Mon, 21 Mar 2005 20:23:51 +0000 (20:23 +0000)]
* we're not in ext on the snaps box
Michael Wallner [Mon, 21 Mar 2005 19:54:14 +0000 (19:54 +0000)]
* try the direct way
Michael Wallner [Mon, 21 Mar 2005 19:33:38 +0000 (19:33 +0000)]
* fixing concept of phpstr dtor/free
# so, how to typedef a struct for the php4 build :-?
Michael Wallner [Sun, 20 Mar 2005 17:36:16 +0000 (17:36 +0000)]
* use phpstr
Michael Wallner [Sun, 20 Mar 2005 17:35:40 +0000 (17:35 +0000)]
* renamed classes
Michael Wallner [Sun, 20 Mar 2005 17:35:15 +0000 (17:35 +0000)]
*build files
Michael Wallner [Sun, 20 Mar 2005 17:31:41 +0000 (17:31 +0000)]
* add phpstr
Michael Wallner [Sun, 20 Mar 2005 17:30:56 +0000 (17:30 +0000)]
* signature fixes
* better integration of php_url_encode_hash_ex()
Michael Wallner [Sun, 20 Mar 2005 17:27:21 +0000 (17:27 +0000)]
* typo
Michael Wallner [Sun, 20 Mar 2005 17:24:49 +0000 (17:24 +0000)]
* rename classes according CS
Michael Wallner [Fri, 18 Mar 2005 17:01:51 +0000 (17:01 +0000)]
* allow curl use zends memory functions (just to check if everything goes right)
Michael Wallner [Fri, 18 Mar 2005 13:16:01 +0000 (13:16 +0000)]
* curl_easy_strerror() is available as of 7.12.0
Michael Wallner [Fri, 18 Mar 2005 13:05:23 +0000 (13:05 +0000)]
* fix memleak
Michael Wallner [Fri, 18 Mar 2005 12:50:24 +0000 (12:50 +0000)]
* improve http_send() and http_negotiate_q() code
Michael Wallner [Fri, 18 Mar 2005 10:40:04 +0000 (10:40 +0000)]
* zval_add_ref() expects zval **
Michael Wallner [Thu, 17 Mar 2005 14:45:41 +0000 (14:45 +0000)]
* added HTTPi_Request::unsetOptions(), HTTPi_Request::addHeader(), HTTPi_Request::addCookie()
Michael Wallner [Tue, 15 Mar 2005 20:07:43 +0000 (20:07 +0000)]
* fixed/improved ranges support
Michael Wallner [Tue, 15 Mar 2005 19:54:25 +0000 (19:54 +0000)]
* dep files
Michael Wallner [Tue, 15 Mar 2005 19:53:52 +0000 (19:53 +0000)]
* renaming tests
* adding some tests
Michael Wallner [Thu, 10 Mar 2005 15:46:12 +0000 (15:46 +0000)]
* nicer MINFO
Michael Wallner [Thu, 10 Mar 2005 15:45:46 +0000 (15:45 +0000)]
* ditch warnings
Michael Wallner [Thu, 10 Mar 2005 12:41:45 +0000 (12:41 +0000)]
* attempt to be smarter than windows ;)
# seems that the regarding code in curl/multi.h that should prevent winsock(2) troubles does not take effect as it is intended
Michael Wallner [Wed, 9 Mar 2005 18:42:27 +0000 (18:42 +0000)]
* fix layout
Michael Wallner [Wed, 9 Mar 2005 16:23:12 +0000 (16:23 +0000)]
* pre-include winsock2.h
Michael Wallner [Wed, 9 Mar 2005 14:23:11 +0000 (14:23 +0000)]
* complete - commented - webdav request methods
Michael Wallner [Wed, 9 Mar 2005 13:34:36 +0000 (13:34 +0000)]
* cpp stuff
Michael Wallner [Wed, 9 Mar 2005 13:23:13 +0000 (13:23 +0000)]
* add webdav request methods to standard allowed methods
Michael Wallner [Wed, 9 Mar 2005 13:19:26 +0000 (13:19 +0000)]
* I always forget to update that...
Michael Wallner [Mon, 7 Mar 2005 13:10:09 +0000 (13:10 +0000)]
* docs
Michael Wallner [Mon, 7 Mar 2005 13:04:33 +0000 (13:04 +0000)]
* docs
Michael Wallner [Mon, 7 Mar 2005 12:50:38 +0000 (12:50 +0000)]
* 0.6.1
Michael Wallner [Mon, 7 Mar 2005 08:31:15 +0000 (08:31 +0000)]
* probably fixing getservby*() usage
Michael Wallner [Mon, 7 Mar 2005 08:30:01 +0000 (08:30 +0000)]
* use version info in <package> tag
Michael Wallner [Mon, 7 Mar 2005 07:12:24 +0000 (07:12 +0000)]
* run tests on linux - flushing changes
Michael Wallner [Sun, 6 Mar 2005 22:12:40 +0000 (22:12 +0000)]
* fix http_split_response[_ex]()
Michael Wallner [Sun, 6 Mar 2005 21:43:09 +0000 (21:43 +0000)]
* added HTTPi_Request::getResponseCode()
* renamed HTTPi_Request::getResponseHeader<del>s</del>() allowing retrieval of single header values
* HTTPi_Request::getResponseInfo() allows retrieval of single info values now
* fixed overflow in http_split_response()
Michael Wallner [Sun, 6 Mar 2005 11:30:35 +0000 (11:30 +0000)]
* excluding getservby*() in PHP4 (??)
Michael Wallner [Sun, 6 Mar 2005 11:14:46 +0000 (11:14 +0000)]
* tiny API adjustments
* fixed new http_asolute_uri()
Michael Wallner [Sat, 5 Mar 2005 23:22:34 +0000 (23:22 +0000)]
* much smarter & enhanced absolute_uri() using parse_url()
Michael Wallner [Sat, 5 Mar 2005 16:02:22 +0000 (16:02 +0000)]
* medthod docs
* more zval to hastable resolutions
Michael Wallner [Fri, 4 Mar 2005 16:34:13 +0000 (16:34 +0000)]
* bump
Michael Wallner [Fri, 4 Mar 2005 13:12:13 +0000 (13:12 +0000)]
* fix header ids
Michael Wallner [Fri, 4 Mar 2005 13:08:02 +0000 (13:08 +0000)]
* release 0.6.0
Michael Wallner [Thu, 3 Mar 2005 21:09:50 +0000 (21:09 +0000)]
* use curl's error messages
Michael Wallner [Thu, 3 Mar 2005 20:22:23 +0000 (20:22 +0000)]
* reset the curl handle if curl_easy_reset() is available
* 0x070c02 !== 71202
Michael Wallner [Thu, 3 Mar 2005 20:12:52 +0000 (20:12 +0000)]
* reordering things for curl info and options a bit, so that they can be better compared to the docs
* added some more curl options
* use better readable curl version numbers
Michael Wallner [Thu, 3 Mar 2005 18:59:27 +0000 (18:59 +0000)]
* ditch some inline functions and replace them with a macro
Michael Wallner [Sat, 26 Feb 2005 14:01:07 +0000 (14:01 +0000)]
* fix EOF
Michael Wallner [Fri, 25 Feb 2005 21:18:39 +0000 (21:18 +0000)]
* melt http_api down
Michael Wallner [Fri, 25 Feb 2005 18:47:01 +0000 (18:47 +0000)]
* ditch warnings
Michael Wallner [Fri, 25 Feb 2005 10:46:43 +0000 (10:46 +0000)]
* unused vars
Michael Wallner [Fri, 25 Feb 2005 10:21:36 +0000 (10:21 +0000)]
* add std defs header
Michael Wallner [Fri, 25 Feb 2005 10:20:22 +0000 (10:20 +0000)]
* moved defines into php_http_std_defs.h
* added http_urlencode_hash_ex()
* added CREDITS file
* integrated http_build_query()/php_url_encode_hash_ex() into std source files
Michael Wallner [Thu, 24 Feb 2005 19:19:55 +0000 (19:19 +0000)]
* don't enable compression by default
Michael Wallner [Thu, 24 Feb 2005 19:11:38 +0000 (19:11 +0000)]
* not curl but I behaved weird
Michael Wallner [Thu, 24 Feb 2005 19:07:12 +0000 (19:07 +0000)]
* strlen("") => sizeof("")-1
* major meltdown for the curl api
Michael Wallner [Thu, 24 Feb 2005 17:52:42 +0000 (17:52 +0000)]
* prevent inclusion of winsock.h
Michael Wallner [Wed, 23 Feb 2005 15:32:06 +0000 (15:32 +0000)]
* add src files
Michael Wallner [Wed, 23 Feb 2005 12:47:08 +0000 (12:47 +0000)]
* missed http_curl_api.c
Michael Wallner [Wed, 23 Feb 2005 12:40:16 +0000 (12:40 +0000)]
* ditch warning
Michael Wallner [Wed, 23 Feb 2005 11:34:57 +0000 (11:34 +0000)]
* un-hack curl info name duplication
Michael Wallner [Wed, 23 Feb 2005 11:31:41 +0000 (11:31 +0000)]
* fix memory-leaks/pre-use-frees
Michael Wallner [Wed, 23 Feb 2005 10:50:01 +0000 (10:50 +0000)]
* split into more reasonable modules
* no need to have separate buffers for headers and body
Michael Wallner [Tue, 22 Feb 2005 21:01:26 +0000 (21:01 +0000)]
* weird, weird