To use HTTP/1.1, just type the following using a telnet app on port 80 of
your target web server

GET /index.html HTTP/1.1<single return>
Host: anything<double return>

Rgds

Kenneth

        -----Original Message-----
        From:   jos?placide [mailto:[EMAIL PROTECTED]]
        Sent:   Thursday, March 15, 2001 7:29 AM
        To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
        Subject:        Re: Cache problem with IE

        Hello,


        Could somebody tell me please,
        how can i set HTTP/1.1 instead of 1.0

        regards.

        ----- Original Message -----
        From: "Joe Laffey" <[EMAIL PROTECTED]>
        To: <[EMAIL PROTECTED]>
        Sent: Tuesday, March 13, 2001 7:41 PM
        Subject: Re: Cache problem with IE


        > On Tue, 13 Mar 2001, Zsolt Koppany wrote:
        >
        > > I do it from a JSP and not from a servlet and the page look
like:
        > >
        > > <%response.setHeader("Cache-Control",
        > > "no-cache");response.setHeader("Pragma", "no-cache");%>
        >
        > OK,
        >
        > Try telnetting to your box and issue the HTTP command:
        >
        > GET /<root/relative/path/to/file> HTTP/1.0
        >
        > (two returns)
        >
        > Then look at the header (which will be at the top and may scroll
off the
        > screen). You can also try the HEAD command instead of GET.
        >
        > You might also try HTTP/1.1 instead of 1.0 and see what the
responses are.
        > If you get headers like the ones you set ("Pragma: no-cache",
etc.) then
        > the problem is with the browser not honoring them. In this case
try the
        > META versions instead. If you do not get those headers than your
JSP
        > container is not setting the headers for some reason.
        >
        > When you telnet look also for other headers like max-age and
expires. You
        > may have your server configured to set these for the file. The
browser may
        > be using these instead. Turn off Expires for the directory or
location in
        > question.
        >
        > Joe Laffey
        > LAFFEY Computer Imaging
        > St. Louis, MO
        > ----------------------
        >
        >
        >
---------------------------------------------------------------------
        > To unsubscribe, e-mail: [EMAIL PROTECTED]
        > For additional commands, email:
[EMAIL PROTECTED]
        >
        >

Reply via email to