HTTP ProxyScope of ChangeA functionality will be added to the peer.http.HttpConnection class to support HTTP proxies. Rationale
Some machines in restricted networks may not access other networks
directly. Functionality
API: The HttpProxy class
class HttpProxy extends Object {
API: The HttpConnection class
class HttpConnection extends Object {
Example
$conn= new HttpConnection($url);
Security considerations
n/a Speed impact
n/a Dependencies
n/a Related documents
Comments
friebe, Sun Jun 1 13:56:30 2008
I'm not really happy with the implementation, and it is not testable
in an easy fashion. Since the HttpConnection class itself isn't easily
testable either and accessing the request (e.g. for logging purposes)
is hacky, too (can't be done until is has been sent!), maybe we should
rewrite completely within this RFC (thus delaying it longer, though). | Table of contents |