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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setHeader()
 
Similar Threads
Content-Encoding
Performance Issue wth writing "text/javascript" content into HttpServletResponse
Control of content encoding
How to change the HTTP method (GET or POST)
Arabic characters issue in java mail