m6w6/ext-http
18 years ago- release .24.1
Michael Wallner [Thu, 23 Feb 2006 12:10:31 +0000 (12:10 +0000)] 
- release .24.1

18 years ago- fix a mistake crept in which prevented from setting custom request content type
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

18 years ago- fix bug #6861: 5 digit ports get truncated
Michael Wallner [Tue, 21 Feb 2006 22:43:17 +0000 (22:43 +0000)] 
- fix bug #6861: 5 digit ports get truncated

18 years ago- release .24
Michael Wallner [Mon, 20 Feb 2006 16:43:48 +0000 (16:43 +0000)] 
- release .24

18 years ago- need php_stream_open_wrapper_*ex* to pass a stream context
Michael Wallner [Mon, 20 Feb 2006 16:06:21 +0000 (16:06 +0000)] 
- need php_stream_open_wrapper_*ex* to pass a stream context

18 years ago- add default stream context support
Michael Wallner [Mon, 20 Feb 2006 15:59:38 +0000 (15:59 +0000)] 
- add default stream context support

18 years ago- simplify
Michael Wallner [Sat, 18 Feb 2006 19:44:40 +0000 (19:44 +0000)] 
- simplify

18 years ago- add HttpQueryString::iconv()
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

18 years ago- add portrange request option
Michael Wallner [Fri, 17 Feb 2006 16:35:05 +0000 (16:35 +0000)] 
- add portrange request option

18 years ago- fix bug #6804 - configure does not recognize --without-http-zlib-compression
Michael Wallner [Fri, 17 Feb 2006 09:28:37 +0000 (09:28 +0000)] 
- fix bug #6804 - configure does not recognize --without-http-zlib-compression

18 years ago- add support for If-Range header
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

18 years ago- fixed message chain order in HttpRequest::getHistory()
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

18 years ago- really fix http_parse_cookie()
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

18 years ago- release 0.23
Michael Wallner [Wed, 15 Feb 2006 07:44:31 +0000 (07:44 +0000)] 
- release 0.23

18 years ago- fix stupidities
Michael Wallner [Tue, 14 Feb 2006 20:17:19 +0000 (20:17 +0000)] 
- fix stupidities

18 years ago- save some time by reversing on the message level
Michael Wallner [Tue, 14 Feb 2006 18:08:06 +0000 (18:08 +0000)] 
- save some time by reversing on the message level

18 years ago- reverse request history
Michael Wallner [Tue, 14 Feb 2006 17:18:54 +0000 (17:18 +0000)] 
- reverse request history

18 years ago- cosmetics
Michael Wallner [Tue, 14 Feb 2006 14:24:17 +0000 (14:24 +0000)] 
- cosmetics

18 years ago- reset request->_error
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

18 years ago- typo
Michael Wallner [Tue, 14 Feb 2006 13:06:34 +0000 (13:06 +0000)] 
- typo

18 years ago- fix build
Michael Wallner [Tue, 14 Feb 2006 13:00:51 +0000 (13:00 +0000)] 
- fix build

18 years agotypo
Michael Wallner [Tue, 14 Feb 2006 09:35:54 +0000 (09:35 +0000)] 
typo

18 years ago- changed HttpRequest::getHistory() to return a real property
Michael Wallner [Tue, 14 Feb 2006 09:29:54 +0000 (09:29 +0000)] 
- changed HttpRequest::getHistory() to return a real property

18 years ago- add bool must_revalidate param to HttpResponse::setCacheControl()
Michael Wallner [Tue, 14 Feb 2006 08:10:53 +0000 (08:10 +0000)] 
- add bool must_revalidate param to HttpResponse::setCacheControl()

18 years ago- ditch useless convert
Michael Wallner [Mon, 13 Feb 2006 21:46:16 +0000 (21:46 +0000)] 
- ditch useless convert

18 years ago- fix HttpRequest::getResponseCookies()
Michael Wallner [Mon, 13 Feb 2006 21:42:16 +0000 (21:42 +0000)] 
- fix HttpRequest::getResponseCookies()

18 years ago- spawn off http_cookie_api
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().

18 years ago- rather use a list of disallowed chars
Michael Wallner [Sat, 11 Feb 2006 14:33:31 +0000 (14:33 +0000)] 
- rather use a list of disallowed chars
- fix "foo\s+"

18 years agochangelog & docs
Michael Wallner [Sat, 11 Feb 2006 14:11:09 +0000 (14:11 +0000)] 
changelog & docs

18 years agotypo
Michael Wallner [Sat, 11 Feb 2006 14:01:37 +0000 (14:01 +0000)] 
typo

18 years ago- fix 'a=b ;'
Michael Wallner [Sat, 11 Feb 2006 13:59:07 +0000 (13:59 +0000)] 
- fix 'a=b ;'
- fix 'c=".*'

18 years ago- add "@" to allowed token characters
Michael Wallner [Sat, 11 Feb 2006 12:19:10 +0000 (12:19 +0000)] 
- add "@" to allowed token characters
- add general error message on failure

18 years ago- add more sophisticated cookie parser
Michael Wallner [Sat, 11 Feb 2006 12:01:12 +0000 (12:01 +0000)] 
- add more sophisticated cookie parser

18 years ago- make http_parse_cookie() "quoted string" aware and add test
Michael Wallner [Fri, 10 Feb 2006 20:25:58 +0000 (20:25 +0000)] 
- make http_parse_cookie() "quoted string" aware and add test

18 years ago- add 'encodecookies' request option (defaults to true) and 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

18 years ago- typo
Michael Wallner [Thu, 9 Feb 2006 17:23:42 +0000 (17:23 +0000)] 
- typo

18 years ago- consistent usage of HTTP_G macro (only)
Michael Wallner [Tue, 7 Feb 2006 21:31:34 +0000 (21:31 +0000)] 
- consistent usage of HTTP_G macro (only)

18 years ago- use gethostname() if available in http_build_url()
Michael Wallner [Tue, 7 Feb 2006 16:04:03 +0000 (16:04 +0000)] 
- use gethostname() if available in http_build_url()

18 years ago- we actually never return by ref
Michael Wallner [Mon, 6 Feb 2006 21:02:07 +0000 (21:02 +0000)] 
- we actually never return by ref

18 years ago- docs for http_build_(url|str)
Michael Wallner [Mon, 6 Feb 2006 15:13:32 +0000 (15:13 +0000)] 
- docs for http_build_(url|str)

18 years ago- update docs
Michael Wallner [Mon, 6 Feb 2006 12:47:36 +0000 (12:47 +0000)] 
- update docs

18 years agohoppla
Michael Wallner [Mon, 6 Feb 2006 10:16:55 +0000 (10:16 +0000)] 
hoppla

18 years agoupdate
Michael Wallner [Mon, 6 Feb 2006 10:16:10 +0000 (10:16 +0000)] 
update

18 years ago- fix ssl options
Michael Wallner [Sun, 5 Feb 2006 21:53:47 +0000 (21:53 +0000)] 
- fix ssl options
- update http_get docs

18 years ago- implement accessors to messages response status text
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

18 years ago- avoid macro expansion to something different by using full opt constants
Michael Wallner [Sun, 5 Feb 2006 18:35:07 +0000 (18:35 +0000)] 
- avoid macro expansion to something different by using full opt constants

18 years ago- attempt to fix WONKY build
Michael Wallner [Sun, 5 Feb 2006 18:00:15 +0000 (18:00 +0000)] 
- attempt to fix WONKY build

18 years ago- buildQuery => buildStr
Michael Wallner [Sun, 5 Feb 2006 13:00:53 +0000 (13:00 +0000)] 
- buildQuery => buildStr

18 years ago- solve that another way
Michael Wallner [Sun, 5 Feb 2006 08:32:58 +0000 (08:32 +0000)] 
- solve that another way

18 years ago- fix win32 build, really, for now
Michael Wallner [Sun, 5 Feb 2006 07:54:31 +0000 (07:54 +0000)] 
- fix win32 build, really, for now

18 years ago- attempt to fix win32 build; not sure, though, if it's going to work...
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...

18 years ago- fix win32 build
Michael Wallner [Fri, 3 Feb 2006 09:45:22 +0000 (09:45 +0000)] 
- fix win32 build

18 years ago- prepare v.22 release
Michael Wallner [Fri, 3 Feb 2006 09:39:32 +0000 (09:39 +0000)] 
- prepare v.22 release

18 years ago- fix endless loop in http_build_url() with urls like "/.foo"
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

18 years ago- fix ::set() arginfo
Michael Wallner [Thu, 2 Feb 2006 16:43:15 +0000 (16:43 +0000)] 
- fix ::set() arginfo

18 years agoupdate
Michael Wallner [Tue, 31 Jan 2006 18:54:37 +0000 (18:54 +0000)] 
update

18 years ago- fix bug #6645: doesn't compile with zlib 1.2.2 (undefined Z_FIXED)
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)

18 years agoupdate
Michael Wallner [Mon, 30 Jan 2006 20:48:26 +0000 (20:48 +0000)] 
update

18 years ago- remove HttpQueryString::del() and ::mod() can be done with ::set()
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

18 years agoupdate docs
Michael Wallner [Mon, 30 Jan 2006 17:57:26 +0000 (17:57 +0000)] 
update docs

18 years agows
Michael Wallner [Mon, 30 Jan 2006 17:38:37 +0000 (17:38 +0000)] 
ws

18 years ago- add accessors by type
Michael Wallner [Mon, 30 Jan 2006 17:31:43 +0000 (17:31 +0000)] 
- add accessors by type

18 years agows
Michael Wallner [Mon, 30 Jan 2006 14:56:22 +0000 (14:56 +0000)] 
ws

18 years ago- make sure queryArray is actually an array
Michael Wallner [Mon, 30 Jan 2006 14:55:45 +0000 (14:55 +0000)] 
- make sure queryArray is actually an array

18 years ago- fix some typos
Michael Wallner [Mon, 30 Jan 2006 14:28:33 +0000 (14:28 +0000)] 
- fix some typos
- add HttpQueryString class and tests

18 years ago- fix win32 build
Michael Wallner [Fri, 27 Jan 2006 10:35:18 +0000 (10:35 +0000)] 
- fix win32 build

18 years ago- add/update tests
Michael Wallner [Fri, 27 Jan 2006 10:17:30 +0000 (10:17 +0000)] 
- add/update tests

18 years ago- add flag parameter to http_build_url(); slightly breaks parameter order
Michael Wallner [Fri, 27 Jan 2006 10:17:13 +0000 (10:17 +0000)] 
- add flag parameter to http_build_url(); slightly breaks parameter order

18 years ago- ws
Michael Wallner [Fri, 27 Jan 2006 10:16:29 +0000 (10:16 +0000)] 
- ws

18 years agoMF-curl: problems with other libraries setting ssl crypto locking callbacks
Michael Wallner [Fri, 27 Jan 2006 10:15:27 +0000 (10:15 +0000)] 
MF-curl: problems with other libraries setting ssl crypto locking callbacks

18 years agoadd addref param to RETURN_OBJVAL() etc
Michael Wallner [Fri, 20 Jan 2006 16:48:12 +0000 (16:48 +0000)] 
add addref param to RETURN_OBJVAL() etc

18 years agochangelog
Michael Wallner [Fri, 20 Jan 2006 14:54:53 +0000 (14:54 +0000)] 
changelog

18 years ago- add HttpMessage::toMessageTypeObject()
Michael Wallner [Fri, 20 Jan 2006 14:23:08 +0000 (14:23 +0000)] 
- add HttpMessage::toMessageTypeObject()
- add Iterator interface to HttpMessage

18 years ago- fix ce
Michael Wallner [Thu, 19 Jan 2006 18:47:27 +0000 (18:47 +0000)] 
- fix ce
- no add_ref in detach()

18 years agoclass has to extend HttpMessage
Michael Wallner [Thu, 19 Jan 2006 18:44:05 +0000 (18:44 +0000)] 
class has to extend HttpMessage

18 years ago- honor class of the current object
Michael Wallner [Thu, 19 Jan 2006 18:33:05 +0000 (18:33 +0000)] 
- honor class of the current object
- add optional class_name param to HttpMessage::fromString()

18 years ago- add internal http_message_set_info()
Michael Wallner [Thu, 19 Jan 2006 18:07:29 +0000 (18:07 +0000)] 
- add internal http_message_set_info()
- add HttpMessage::detach(), HttpMessage::prepend() and tests

18 years agoimprove default settings for configure
Michael Wallner [Thu, 19 Jan 2006 14:16:12 +0000 (14:16 +0000)] 
improve default settings for configure

18 years ago- some housekeeping
Michael Wallner [Thu, 19 Jan 2006 11:42:08 +0000 (11:42 +0000)] 
- some housekeeping
- use sapi_get_request_time() where reasonable

18 years agomove (re)setting of request methods to http_request_defaults()
Michael Wallner [Thu, 19 Jan 2006 10:34:04 +0000 (10:34 +0000)] 
move (re)setting of request methods to http_request_defaults()

18 years ago- reset CURLOPT_CUSTOMREQUEST at the correct places
Michael Wallner [Fri, 13 Jan 2006 14:30:46 +0000 (14:30 +0000)] 
- reset CURLOPT_CUSTOMREQUEST at the correct places

18 years agoDon't forget to reset CUSTOMREQUEST on method change and defaults restore.
Ilia Alshanetsky [Fri, 13 Jan 2006 02:57:21 +0000 (02:57 +0000)] 
Don't forget to reset CUSTOMREQUEST on method change and defaults restore.

18 years ago- fix http_get_request_body()
Michael Wallner [Wed, 11 Jan 2006 16:35:22 +0000 (16:35 +0000)] 
- fix http_get_request_body()
- add http_get_request_body_stream()

# TODO: locate everything that accepts a stream context and fix it up

18 years ago- use http_get_request_body() on the server side
Michael Wallner [Tue, 10 Jan 2006 19:04:43 +0000 (19:04 +0000)] 
- use http_get_request_body() on the server side

18 years ago- nuke lots of warnings by removing useless calls to zend_object_store_get_object()
Michael Wallner [Tue, 10 Jan 2006 16:05:40 +0000 (16:05 +0000)] 
- nuke lots of warnings by removing useless calls to zend_object_store_get_object()

18 years ago- enable zlib by default
Michael Wallner [Tue, 10 Jan 2006 15:55:13 +0000 (15:55 +0000)] 
- enable zlib by default
- simplify request method info
- fix tests; run-tests ENV support has changed drastically

18 years ago- version bump
Michael Wallner [Sun, 8 Jan 2006 16:21:45 +0000 (16:21 +0000)] 
- version bump
- changelog

18 years ago- improve http_redirect()
Michael Wallner [Sat, 7 Jan 2006 19:17:05 +0000 (19:17 +0000)] 
- improve http_redirect()

18 years ago- clarify http_curl_init(), it cannot be used with anything else than http_request
Michael Wallner [Sat, 7 Jan 2006 18:46:38 +0000 (18:46 +0000)] 
- clarify http_curl_init(), it cannot be used with anything else than http_request
- move http_request_defaults() to http_curl_init()

18 years agoDon't send user-agent if the user sets it to NULL or ''
Ilia Alshanetsky [Sat, 7 Jan 2006 18:31:06 +0000 (18:31 +0000)] 
Don't send user-agent if the user sets it to NULL or ''

18 years ago- initialize opts zval ptr to NULL as it's an optional parameter
Michael Wallner [Sat, 7 Jan 2006 17:46:48 +0000 (17:46 +0000)] 
- initialize opts zval ptr to NULL as it's an optional parameter

18 years ago- avoid "Content-Length: 0" header on custom requests
Michael Wallner [Sat, 7 Jan 2006 17:41:48 +0000 (17:41 +0000)] 
- avoid "Content-Length: 0" header on custom requests

18 years ago- don't bail out on allocated but empty request body
Michael Wallner [Sat, 7 Jan 2006 17:22:58 +0000 (17:22 +0000)] 
- don't bail out on allocated but empty request body

18 years ago- fix cloning if there's no curl handle yet
Michael Wallner [Sat, 7 Jan 2006 17:19:39 +0000 (17:19 +0000)] 
- fix cloning if there's no curl handle yet

18 years ago- create a request body only if there's something to feed into http_request_body_fill()
Michael Wallner [Sat, 7 Jan 2006 17:02:27 +0000 (17:02 +0000)] 
- create a request body only if there's something to feed into http_request_body_fill()

18 years ago- set curl options that won't change only at initialization time
Michael Wallner [Sat, 7 Jan 2006 15:57:38 +0000 (15:57 +0000)] 
- set curl options that won't change only at initialization time

18 years ago- PHP4 always sends 302 on redirects
Michael Wallner [Fri, 6 Jan 2006 23:43:39 +0000 (23:43 +0000)] 
- PHP4 always sends 302 on redirects

18 years ago- http_request_defaults() already takes care of resetting curl options so check strin...
Michael Wallner [Fri, 6 Jan 2006 23:34:45 +0000 (23:34 +0000)] 
- http_request_defaults() already takes care of resetting curl options so check string length in the conditional where reasonable
- move redirect constants and init to http_send_api
- register global version constants
- php_stream_open_wrapper already takes care of open_basedir on http_log()
- add HTTP_REDIRECT_AUTO being PHP default behaviour and make it default for http_redirect()
- fix tests

18 years agoSet options to NULL if no value is provided, this prevents empty headers
Ilia Alshanetsky [Fri, 6 Jan 2006 23:12:27 +0000 (23:12 +0000)] 
Set options to NULL if no value is provided, this prevents empty headers
from being set on unset options.

18 years agoAdded "protocol" option that allows changing of the HTTP protocol used for
Ilia Alshanetsky [Fri, 6 Jan 2006 21:23:02 +0000 (21:23 +0000)] 
Added "protocol" option that allows changing of the HTTP protocol used for
requests.
Do not try to send POST request components when making an OPTIONS request.