W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1996

origin server vs. proxy with full URL

From: Dave Kristol <dmk@research.bell-labs.com>
Date: Fri, 27 Dec 96 10:53:15 EST
Message-Id: <9612271553.AA18075@zp>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Okay, this may be a dumb question....  (Not my first!)

HTTP/1.1 requires a server to accept an absoluteURI, like
http://www.business.com/foo/bar.

Question:  how does a server that acts both as a proxy and as an origin
server determine whether to service a request (as origin server) or
forward it (as a proxy)?  The requests look the same.

Possible answers:
1) That's an implementation issue.  Not germane.
2) The server examines the net_loc and decides whether the addressed
host corresponds to the origin server's name.  If not, the request is
a proxy request.  (The server must also check aliases, IP addresses, etc.)

Dave Kristol
Received on Friday, 27 December 1996 08:05:10 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:20 EDT