[CLUE-Tech] PHP Sessions and Cookies: Brain Cramp
Matt Gushee
mgushee at havenrock.com
Sat Oct 12 23:04:47 MDT 2002
On Sat, Oct 12, 2002 at 10:53:23PM -0600, David Anselmi wrote:
> Matt Gushee wrote:
> [...]
> >
> >Whoa, now that is cool! I had no idea you could do that with Telnet.
> >Certainly useful; however, I just tried it on my Web site, and the
> >server returned the document at the requested URL, but no headers. Are
> >there any command options or environment variables that might affect
> >that?
>
> The headers are the stuff before the <HTML> tag. There should at least
> be one that say "HTTP" followed by a 3 digit result code (like 200 or 400).
Dave, please. I know perfectly well what HTTP headers are, and I was
unable to view them using Jeff's method. And when I tried a HEAD
request, I got:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
client sent invalid HTTP/0.9 request: HEAD /index.html<P>
</BODY></HTML>
So apparently this doesn't work for all servers.
--
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USA Horses bear manure through
mgushee at havenrock.com its fields;
http://www.havenrock.com/ When a nation ignores the Way,
Horses bear soldiers through
its streets.
--Lao Tzu (Peter Merel, trans.)
More information about the clue-tech
mailing list