Until you find the right tool, there's always

telnet yourserver yourport

GET yourUrl HTTP/1.0

Which will show you all the headers.

For instance:


telnet www.zapatec.com 80
Trying 205.162.5.101...
Connected to two.zapatec.com.
Escape character is '^]'.
GET /website/main/index.form HTTP/1.0

HTTP/1.1 200 OK
Date: Thu, 08 Aug 2002 19:43:00 GMT
Server: Apache/2.0.39 (Unix) mod_jk/1.2.0 mod_ssl/2.0.39 OpenSSL/0.9.6e
Pragma: no-cache
Set-Cookie: JSESSIONID=CA4FFD9C16B9F2B5E202F05F053C31B6;Path=/website
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
<!-- <UserForm name="/main/template/template.form" tagPrefix="template">
-->
<html>
<head>
        <title>Zapatec, Inc.</title>
        <META NAME="author" CONTENT="Zapatec, Inc.">
....



On Thu, Aug 08, 2002 at 12:36:07PM -0700, Richard Yee wrote:
> Do any of you know of any good Http Proxy Sniffer programs that are
> available. I need to monitor the headers of some HTTP requests and
> responses for my SERVLET development. I've seen one that displayed the
> information in side-by-side text areas using a Swing GUI, but I forgot
> where I saw it. Any information is appreciated.
>
> I'm particularly interested in viewing the If-Modified-Since request header
> and the Expires response headers on a servlet that returns images from a
> database.
>
> Thanks,
>
> Richard
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to