Re: HTTP headers - control from HTML?
by "Steve Mount" <steve(at)saltyrain.com>
|
| Date: |
Mon, 8 Oct 2001 10:19:18 -0400 |
| To: |
<jaitchis(at)hwy.com.au>, "HWG Techniques" <hwg-techniques(at)hwg.org> |
| References: |
localhost |
| |
todo: View
Thread,
Original
|
|
You can control some of them with META tags, but most have to be a part of
the HTTP header - in other words, generated by the server prior to the
placement of your file in the data stream.
As for the headers themselves, there's a list in Webmaster in a Nutshell
from O'Reilly that I've found handy on many an occasion - you can also
telnet to a web host and issue a GET statement by hand and see all the
headers (but that's a bit of a chore, getting all the syntax right). I
though fetch might be able to show HTTP headers, but I just read the man
page and it doesn't appear to be able to retain the headers after all ...
there may be another utility that will, or you could burn your own with
Perl.
-------------------------------------------------------------
Steve Mount, Software Engineer steve(at)saltyrain.com
Home Site http://www.saltyrain.com
US Constitution Online http://www.usconstitution.net
Clear your Soul http://www.anonymousconfession.com
----- Original Message -----
From: "John Aitchison" <jaitchis(at)hwy.com.au>
To: "HWG Techniques" <hwg-techniques(at)hwg.org>
Sent: Monday, October 08, 2001 9:37 PM
Subject: HTTP headers - control from HTML?
>
> Hi all,
> I have done a little bit of reading on the HTTP protocol and I cannot
> see how to control the HTTP headers from HTML .. I may be
> completely mixed up here, so any clarification would be welcome.
>
> For example, I see that there is a header Pragma:no-cache (which
> basically says that proxy servers cannot use their cached copy) ..
> well, it might give some increase in speed if that header were
> omitted (eg if you knew that the page was unlikely to change).
>
> If anyone can point me towards material which gives me a greater
> understanding of the relationship between HTML and what is in the
> HTTP headers, I'd appreciate it.
>
> Also, is there a small utility that will let me look at the complete HTTP
> headers and body exactly as they are sent and received?
>
> Thanks
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.