jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes request headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "request headers" Watch "request headers" New topic
Author

request headers

mocca az
Ranch Hand

Joined: Mar 07, 2001
Posts: 93
Hi,
Where can i get the list of all available request headers such as request.getHeader("USER-AGENT");
thx
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
Their is no specific list this varies by the Web Server. check your web server docs for what you can obtain.
------------------
In Gates we trust. Yeah right....


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by mocca az:
Where can i get the list of all available request headers such as request.getHeader("USER-AGENT");

First off, let me say that the fields in the request header have absolutely nothing to do with the web server and everything with the client (i.e., the browser).
The authoritative definition of the standard header fields is RFC 2616.
- Peter

[This message has been edited by Peter den Haan (edited March 08, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: request headers