On Wed, Aug 14, 2002, Oleg Kobets wrote about "Re: ipchains --string on http":
> you forget that HTTP is stateless protocol. after one GET you will be
> disconnected.

This is only strictly true in HTTP 0.9, a standard that nobody is using for
at least 5 years.
You can make requests in HTTP 1.1 if you want the connection to stick
around (keep-alive is the default in HTTP 1.1). For example:

GET / HTTP/1.1
Host: host.name.com
<empty line>

in HTTP 1.0, you have to enable keep-alive explicitly:

GET / HTTP/1.0
Connection: keep-alive
<empty line>


-- 
Nadav Har'El                        |      Wednesday, Aug 14 2002, 6 Elul 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Fame: when your name is in everything but
http://nadav.harel.org.il           |the phone book.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to