11.07.2015 Views

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

Network Working Group R. Fielding Request for Comments: 2616 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Via = "Via" ":" 1#( received-protocol received-by [ comment ] )received-protocol = [ protocol-name "/" ] protocol-versionprotocol-name = tokenprotocol-version = tokenreceived-by = ( host [ ":" port ] ) | pseudonympseudonym = tokenThe received-protocol indicates the protocol version of the messagereceived by the server or client along each segment of therequest/response chain. The received-protocol version is appended tothe Via field value when the message is <strong>for</strong>warded so that in<strong>for</strong>mationabout the protocol capabilities of upstream applications remainsvisible to all recipients.<strong>Fielding</strong>, et al. Standards Track [Page 146]RFC <strong>2616</strong> HTTP/1.1 June 1999The protocol-name is optional if and only if it would be "HTTP". Thereceived-by field is normally the host and optional port number of arecipient server or client that subsequently <strong>for</strong>warded the message.However, if the real host is considered to be sensitive in<strong>for</strong>mation,it MAY be replaced by a pseudonym. If the port is not given, it MAYbe assumed to be the default port of the received-protocol.Multiple Via field values represents each proxy or gateway that has<strong>for</strong>warded the message. Each recipient MUST append its in<strong>for</strong>mationsuch that the end result is ordered according to the sequence of<strong>for</strong>warding applications.<strong>Comments</strong> MAY be used in the Via header field to identify the softwareof the recipient proxy or gateway, analogous to the User-Agent andServer header fields. However, all comments in the Via field areoptional and MAY be removed by any recipient prior to <strong>for</strong>warding themessage.For example, a request message could be sent from an HTTP/1.0 useragent to an internal proxy code-named "fred", which uses HTTP/1.1 to<strong>for</strong>ward the request to a public proxy at nowhere.com, which completesthe request by <strong>for</strong>warding it to the origin server at www.ics.uci.edu.The request received by www.ics.uci.edu would then have the followingVia header field:Via: 1.0 fred, 1.1 nowhere.com (Apache/1.1)Proxies and gateways used as a portal through a network firewall

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!