File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes setHeader() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "setHeader()" Watch "setHeader()" New topic
Author

setHeader()

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I have a few questions about setHeader(). What is the difference between response.setHeader("Content-Encoding", "gzip") and response.setHeader("Content-Encoding", "x-gzip")?
What does response.setHeader("Vary", "Accept-Encoding) do?
Thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: setHeader()