aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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.
 
wood burning stoves
 
subject: setHeader()