Michael Wallner [Fri, 31 Mar 2006 11:07:54 +0000 (11:07 +0000)]
- Improved performance of the message and header parser
* Fixed internal http_parse_headers() always returning success
Michael Wallner [Thu, 30 Mar 2006 17:17:11 +0000 (17:17 +0000)]
* Fixed missing "parentMessage" entry in print_r($HttpMessageObject)
Michael Wallner [Wed, 29 Mar 2006 12:38:01 +0000 (12:38 +0000)]
- allocate known count of HashTables entries on init
Michael Wallner [Wed, 29 Mar 2006 12:23:14 +0000 (12:23 +0000)]
- fix warning (initialize zend_object_value)
Michael Wallner [Tue, 28 Mar 2006 20:20:40 +0000 (20:20 +0000)]
- get rid of 1001 strict-aliasing warnings
Michael Wallner [Tue, 28 Mar 2006 10:08:03 +0000 (10:08 +0000)]
- release 1.0.0RC2
Michael Wallner [Tue, 28 Mar 2006 09:50:47 +0000 (09:50 +0000)]
- fix too aggressive caching behavour of HttpResponse
Michael Wallner [Mon, 27 Mar 2006 17:41:25 +0000 (17:41 +0000)]
- make this class usable, mostly by fixing typos
Michael Wallner [Mon, 27 Mar 2006 17:38:21 +0000 (17:38 +0000)]
- fix sending userspace streams (only reading 8k at once)
# clean up http_response_data_fetch() at the same run
Michael Wallner [Mon, 27 Mar 2006 09:28:03 +0000 (09:28 +0000)]
- override INI(http.force_exit) when calling http_exit() in ob_etaghandler
- check if ob is locked in http_exit()
Michael Wallner [Sun, 26 Mar 2006 16:05:50 +0000 (16:05 +0000)]
- fixed access of super globals
Michael Wallner [Fri, 24 Mar 2006 18:40:03 +0000 (18:40 +0000)]
- remove debug printf
Michael Wallner [Fri, 24 Mar 2006 18:35:18 +0000 (18:35 +0000)]
* Fixed Bug #7192: Build against libcurl >= 7.15.2 fails
Michael Wallner [Sun, 19 Mar 2006 18:43:31 +0000 (18:43 +0000)]
- release 1.0.0RC1
Michael Wallner [Sun, 19 Mar 2006 15:02:57 +0000 (15:02 +0000)]
- add note about HttpResponse::getHeader() not working with Apache2 and PHP<5.1.3
Michael Wallner [Sun, 19 Mar 2006 13:13:16 +0000 (13:13 +0000)]
- some test fixup
Michael Wallner [Sun, 19 Mar 2006 12:05:42 +0000 (12:05 +0000)]
- fix HttpQueryString::xlate()
- add xlate test
- fixup old tests for encoded square brackets
Michael Wallner [Sun, 19 Mar 2006 10:28:51 +0000 (10:28 +0000)]
- fix builds where include/php/ext/iconv does not have php_have_*.h files
by #undef PHP_ATOM_INC
# What is this for actually?
Michael Wallner [Tue, 14 Mar 2006 09:01:11 +0000 (09:01 +0000)]
- rather use '\r'/'\n' character symbols than the hex values
Michael Wallner [Sun, 12 Mar 2006 18:05:20 +0000 (18:05 +0000)]
- fix php-4 build
Michael Wallner [Wed, 8 Mar 2006 21:52:55 +0000 (21:52 +0000)]
- fix http_build_str(): urlencode [] brackets
Michael Wallner [Wed, 8 Mar 2006 20:41:50 +0000 (20:41 +0000)]
- version bump
- prevent possible crash if sapi_module.treat_data is not set
Michael Wallner [Tue, 7 Mar 2006 15:08:57 +0000 (15:08 +0000)]
- fix proto *static* HttpQueryString::singleton()
Michael Wallner [Tue, 7 Mar 2006 14:59:15 +0000 (14:59 +0000)]
- rename HttpQueryString::getInstance() to HttpQueryString::singleton()
- rename HttpQueryString::iconv() to HttpQueryString::xlate()
Michael Wallner [Mon, 6 Mar 2006 16:07:19 +0000 (16:07 +0000)]
- ws
Michael Wallner [Mon, 6 Mar 2006 16:00:50 +0000 (16:00 +0000)]
- split off files from tutorial.txt into lib/*.php
- prepare release v.25
Michael Wallner [Sun, 5 Mar 2006 11:04:17 +0000 (11:04 +0000)]
- fix build (unknown macro)
- use exceptions where methods should return an object
Michael Wallner [Fri, 3 Mar 2006 20:19:45 +0000 (20:19 +0000)]
- methods that return an object should throw an exception on failure (tm)
HttpMessage::getParentMessage() throws HttpMessageException if
there's no parent message
Michael Wallner [Fri, 3 Mar 2006 20:18:44 +0000 (20:18 +0000)]
- unroll http_message_dup()
Michael Wallner [Fri, 3 Mar 2006 16:06:02 +0000 (16:06 +0000)]
- use OBJ_PROP_CE macro
Michael Wallner [Fri, 3 Mar 2006 13:25:54 +0000 (13:25 +0000)]
- fix win32 build
Michael Wallner [Mon, 27 Feb 2006 16:55:13 +0000 (16:55 +0000)]
- add 'range' request option
- add 'proxytype' request option
- add proxy type constants
Michael Wallner [Mon, 27 Feb 2006 14:35:04 +0000 (14:35 +0000)]
- ditch warnings
- give anonymous types a name
Michael Wallner [Sat, 25 Feb 2006 16:16:53 +0000 (16:16 +0000)]
- prettify header array keys at add time so that check_content_type() works properly
- do a more sophisticated lookup for the content type header
Michael Wallner [Fri, 24 Feb 2006 20:39:14 +0000 (20:39 +0000)]
- add test file
Michael Wallner [Fri, 24 Feb 2006 20:32:08 +0000 (20:32 +0000)]
- add test
Michael Wallner [Fri, 24 Feb 2006 20:31:53 +0000 (20:31 +0000)]
- add http_put_data() and HttpRequest::(set|get|add)PutData()
- fix HttpRequest::addRawPostData()
- properly initialize request body in http_(post|put)_*()
Michael Wallner [Fri, 24 Feb 2006 14:34:14 +0000 (14:34 +0000)]
- fix OSX linkage
Michael Wallner [Thu, 23 Feb 2006 12:10:31 +0000 (12:10 +0000)]
- release .24.1
Michael Wallner [Wed, 22 Feb 2006 17:58:44 +0000 (17:58 +0000)]
- fix a mistake crept in which prevented from setting custom request content type
Michael Wallner [Tue, 21 Feb 2006 22:43:17 +0000 (22:43 +0000)]
- fix bug #6861: 5 digit ports get truncated
Michael Wallner [Mon, 20 Feb 2006 16:43:48 +0000 (16:43 +0000)]
- release .24
Michael Wallner [Mon, 20 Feb 2006 16:06:21 +0000 (16:06 +0000)]
- need php_stream_open_wrapper_*ex* to pass a stream context
Michael Wallner [Mon, 20 Feb 2006 15:59:38 +0000 (15:59 +0000)]
- add default stream context support
Michael Wallner [Sat, 18 Feb 2006 19:44:40 +0000 (19:44 +0000)]
- simplify
Michael Wallner [Sat, 18 Feb 2006 19:11:33 +0000 (19:11 +0000)]
- add HttpQueryString::iconv()
- let HttpQueryString implement Serializable
- make operations on the array recursive
Michael Wallner [Fri, 17 Feb 2006 16:35:05 +0000 (16:35 +0000)]
- add portrange request option
Michael Wallner [Fri, 17 Feb 2006 09:28:37 +0000 (09:28 +0000)]
- fix bug #6804 - configure does not recognize --without-http-zlib-compression
Michael Wallner [Thu, 16 Feb 2006 17:49:54 +0000 (17:49 +0000)]
- add support for If-Range header
- fix cases where 412 Precondition failed should be generated
Michael Wallner [Thu, 16 Feb 2006 09:09:23 +0000 (09:09 +0000)]
- fixed message chain order in HttpRequest::getHistory()
# no need to reverse there; I got tricked by my own toString() impl
Michael Wallner [Wed, 15 Feb 2006 18:44:12 +0000 (18:44 +0000)]
- really fix http_parse_cookie()
- fix version info in main header file
- release .23.1
Michael Wallner [Wed, 15 Feb 2006 07:44:31 +0000 (07:44 +0000)]
- release 0.23
Michael Wallner [Tue, 14 Feb 2006 20:17:19 +0000 (20:17 +0000)]
- fix stupidities
Michael Wallner [Tue, 14 Feb 2006 18:08:06 +0000 (18:08 +0000)]
- save some time by reversing on the message level
Michael Wallner [Tue, 14 Feb 2006 17:18:54 +0000 (17:18 +0000)]
- reverse request history
Michael Wallner [Tue, 14 Feb 2006 14:24:17 +0000 (14:24 +0000)]
- cosmetics
Michael Wallner [Tue, 14 Feb 2006 13:53:00 +0000 (13:53 +0000)]
- reset request->_error
- add request->_error to info array
- update HttpRequest properties with empty values on failed request
- always fetch request info with HttpRequest
- append request message to history on failed request
- call HttpRequest::onFinish even on failure with a bool param indicating success
Michael Wallner [Tue, 14 Feb 2006 13:06:34 +0000 (13:06 +0000)]
- typo
Michael Wallner [Tue, 14 Feb 2006 13:00:51 +0000 (13:00 +0000)]
- fix build
Michael Wallner [Tue, 14 Feb 2006 09:35:54 +0000 (09:35 +0000)]
typo
Michael Wallner [Tue, 14 Feb 2006 09:29:54 +0000 (09:29 +0000)]
- changed HttpRequest::getHistory() to return a real property
Michael Wallner [Tue, 14 Feb 2006 08:10:53 +0000 (08:10 +0000)]
- add bool must_revalidate param to HttpResponse::setCacheControl()
Michael Wallner [Mon, 13 Feb 2006 21:46:16 +0000 (21:46 +0000)]
- ditch useless convert
Michael Wallner [Mon, 13 Feb 2006 21:42:16 +0000 (21:42 +0000)]
- fix HttpRequest::getResponseCookies()
Michael Wallner [Sat, 11 Feb 2006 21:19:29 +0000 (21:19 +0000)]
- spawn off http_cookie_api
- changed the workings, arguments and return value of http_parse_cookie()
to something that seems to be more appropriate then the old implementation.
- rename HttpRequest::getRequestCookie() to HttpRequest::getResponseCookies(),
compliant to http_parse_cookie().
Michael Wallner [Sat, 11 Feb 2006 14:33:31 +0000 (14:33 +0000)]
- rather use a list of disallowed chars
- fix "foo\s+"
Michael Wallner [Sat, 11 Feb 2006 14:11:09 +0000 (14:11 +0000)]
changelog & docs
Michael Wallner [Sat, 11 Feb 2006 14:01:37 +0000 (14:01 +0000)]
typo
Michael Wallner [Sat, 11 Feb 2006 13:59:07 +0000 (13:59 +0000)]
- fix 'a=b ;'
- fix 'c=".*'
Michael Wallner [Sat, 11 Feb 2006 12:19:10 +0000 (12:19 +0000)]
- add "@" to allowed token characters
- add general error message on failure
Michael Wallner [Sat, 11 Feb 2006 12:01:12 +0000 (12:01 +0000)]
- add more sophisticated cookie parser
Michael Wallner [Fri, 10 Feb 2006 20:25:58 +0000 (20:25 +0000)]
- make http_parse_cookie() "quoted string" aware and add test
Michael Wallner [Fri, 10 Feb 2006 16:58:51 +0000 (16:58 +0000)]
- add 'encodecookies' request option (defaults to true) and test
- add HttpMessage::reverse() and test
Michael Wallner [Thu, 9 Feb 2006 17:23:42 +0000 (17:23 +0000)]
- typo
Michael Wallner [Tue, 7 Feb 2006 21:31:34 +0000 (21:31 +0000)]
- consistent usage of HTTP_G macro (only)
Michael Wallner [Tue, 7 Feb 2006 16:04:03 +0000 (16:04 +0000)]
- use gethostname() if available in http_build_url()
Michael Wallner [Mon, 6 Feb 2006 21:02:07 +0000 (21:02 +0000)]
- we actually never return by ref
Michael Wallner [Mon, 6 Feb 2006 15:13:32 +0000 (15:13 +0000)]
- docs for http_build_(url|str)
Michael Wallner [Mon, 6 Feb 2006 12:47:36 +0000 (12:47 +0000)]
- update docs
Michael Wallner [Mon, 6 Feb 2006 10:16:55 +0000 (10:16 +0000)]
hoppla
Michael Wallner [Mon, 6 Feb 2006 10:16:10 +0000 (10:16 +0000)]
update
Michael Wallner [Sun, 5 Feb 2006 21:53:47 +0000 (21:53 +0000)]
- fix ssl options
- update http_get docs
Michael Wallner [Sun, 5 Feb 2006 21:18:14 +0000 (21:18 +0000)]
- implement accessors to messages response status text
- implement FR #6698 etag support (like 'lastmodified')
- add test
Michael Wallner [Sun, 5 Feb 2006 18:35:07 +0000 (18:35 +0000)]
- avoid macro expansion to something different by using full opt constants
Michael Wallner [Sun, 5 Feb 2006 18:00:15 +0000 (18:00 +0000)]
- attempt to fix WONKY build
Michael Wallner [Sun, 5 Feb 2006 13:00:53 +0000 (13:00 +0000)]
- buildQuery => buildStr
Michael Wallner [Sun, 5 Feb 2006 08:32:58 +0000 (08:32 +0000)]
- solve that another way
Michael Wallner [Sun, 5 Feb 2006 07:54:31 +0000 (07:54 +0000)]
- fix win32 build, really, for now
Michael Wallner [Sat, 4 Feb 2006 20:53:42 +0000 (20:53 +0000)]
- attempt to fix win32 build; not sure, though, if it's going to work...
Michael Wallner [Fri, 3 Feb 2006 09:45:22 +0000 (09:45 +0000)]
- fix win32 build
Michael Wallner [Fri, 3 Feb 2006 09:39:32 +0000 (09:39 +0000)]
- prepare v.22 release
Michael Wallner [Fri, 3 Feb 2006 09:06:51 +0000 (09:06 +0000)]
- fix endless loop in http_build_url() with urls like "/.foo"
- reset HTTP_GLOBALS->read_post_data for each request
- allow HttpQueryString objects as param its methods
Michael Wallner [Thu, 2 Feb 2006 16:43:15 +0000 (16:43 +0000)]
- fix ::set() arginfo
Michael Wallner [Tue, 31 Jan 2006 18:54:37 +0000 (18:54 +0000)]
update
Michael Wallner [Tue, 31 Jan 2006 18:52:50 +0000 (18:52 +0000)]
- fix bug #6645: doesn't compile with zlib 1.2.2 (undefined Z_FIXED)
Michael Wallner [Mon, 30 Jan 2006 20:48:26 +0000 (20:48 +0000)]
update
Michael Wallner [Mon, 30 Jan 2006 20:46:55 +0000 (20:46 +0000)]
- remove HttpQueryString::del() and ::mod() can be done with ::set()
- add optional second param to constructor
Michael Wallner [Mon, 30 Jan 2006 17:57:26 +0000 (17:57 +0000)]
update docs
Michael Wallner [Mon, 30 Jan 2006 17:38:37 +0000 (17:38 +0000)]
ws
Michael Wallner [Mon, 30 Jan 2006 17:31:43 +0000 (17:31 +0000)]
- add accessors by type