I need to observe what my browser is sending to my server
under two different circumstances. I am betting that,
even when the return content type is application/x-zip-compressed that
IE only makes byte-range requests when the URL it is
requesting does not have a query string.
I have observed this phenomenologically. I had the following
simple webpage:
<form action=file.zip>
<input type=submit value="Download Now!">
and IE would resume the download if I cancelled in the middle.
However the following webpage:
<form action=download.cgi?filename=file.zip>
<input type=submit value="Download Now!">
did not result in IE making partial requests for the
zip file even though the CGI program is returning
the same MIME type as above and the file does
download successfully. But for some reason,
a partial request is not supported here.
I hypothesize that IE is not making a partial request but
would like to ensure this by getting a printout of
what HTTP is being sent to my webserver.
So my question is
How can I get an exact printout of everything that was in
IE's request.
i was nearly successful with
HTTPi
A small webserver written entirely in Perl, but it only
serves executables and HTML files.
I think I have seen various Perl HTTP sniffers around,
but I couldn't find any in a websearch just now.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.