Title: RE: [jdjlist] Viewing response headers
Use a proxy that will display the headers.
 
I use muffin when debugging http problems:
 
-----Original Message-----
From: Alan Williamson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 11:45 PM
To: JDJList
Subject: [jdjlist] RE: Viewing response headers

 

I'm trying to debug the response headers our application is generating so I
can know exactly what is getting sent to the browser.  Is there a way in a
JSP to print out all of the headers?  Like the getHeaderNames() for request,
only for response instead?
 
[ArW]  The easiest and quickest way, is to pretend to be a browser!
 
telnet to your server and simply issue the commands manually.  For example:
 
% telnet www.n-ary.com 80
HEAD / HTTP/1.1
<carriage return>
 
and you'll see the response headers the server will generate.  You can also do HEAD/GET/TRACE/POST the full works.  A lot of people forget HTTP is just a text protocol and the most basic of utilities, ie TELNET, is all you need to get the most information out.
 
enjoy
 
alan
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to