]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redire...
authorBrion Vibber <brion@pobox.com>
Wed, 28 Oct 2009 19:29:20 +0000 (15:29 -0400)
committerBrion Vibber <brion@pobox.com>
Mon, 2 Nov 2009 17:14:15 +0000 (09:14 -0800)
commit5581143bee602dbd5417f532f2b483e58d0a4269
treeed1da24d03d594895c743c8e0a4bd3c46c42c6c7
parent73b9e531bf7cab8ba6642f9cb85e4b37b48706d7
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
Caching support will be added in future work after unit tests have been added.

* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface

Note some plugins haven't been fully tested yet.
31 files changed:
classes/File_redirection.php
extlib/HTTP/Request2.php [new file with mode: 0644]
extlib/HTTP/Request2/Adapter.php [new file with mode: 0644]
extlib/HTTP/Request2/Adapter/Curl.php [new file with mode: 0644]
extlib/HTTP/Request2/Adapter/Mock.php [new file with mode: 0644]
extlib/HTTP/Request2/Adapter/Socket.php [new file with mode: 0644]
extlib/HTTP/Request2/Exception.php [new file with mode: 0644]
extlib/HTTP/Request2/MultipartBody.php [new file with mode: 0644]
extlib/HTTP/Request2/Observer/Log.php [new file with mode: 0644]
extlib/HTTP/Request2/Response.php [new file with mode: 0644]
extlib/Net/URL2.php
install.php
lib/Shorturl_api.php
lib/curlclient.php [deleted file]
lib/default.php
lib/httpclient.php
lib/oauthclient.php
lib/ping.php
lib/snapshot.php
plugins/BlogspamNetPlugin.php
plugins/GeonamesPlugin.php
plugins/LilUrl/LilUrlPlugin.php
plugins/LinkbackPlugin.php
plugins/SimpleUrl/SimpleUrlPlugin.php
plugins/TwitterBridge/daemons/synctwitterfriends.php
plugins/TwitterBridge/daemons/twitterstatusfetcher.php
plugins/TwitterBridge/twitter.php
plugins/TwitterBridge/twitterauthorization.php
plugins/TwitterBridge/twitterbasicauthclient.php
plugins/WikiHashtagsPlugin.php
scripts/enjitqueuehandler.php