From http-wg-request@cuckoo.hpl.hp.com  Mon Jan  3 14:29:08 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06350
	for <http-archive@odin.ietf.org>; Mon, 3 Jan 2000 14:29:04 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 2ED588525; Mon,  3 Jan 2000 14:28:43 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA28419;
	Mon, 3 Jan 2000 19:27:49 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA18989; Mon, 3 Jan 2000 19:27:34 GMT
Resent-Date: Mon, 3 Jan 2000 19:27:34 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Mark Nottingham" <mnot@pobox.com>, <http-wg@hplb.hpl.hp.com>
Cc: <mnot@akamai.com>
Subject: RE: server parsing of URI path parameters
Date: Mon, 3 Jan 2000 14:25:47 -0500
Message-ID: <000801bf5620$567f78c0$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <19991230095914.A436@i.mnot.net>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"EfF4Q2.0.ge4.cWFSu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/656
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> From: Mark Nottingham [mnot@pobox.com]
> To: http-wg@hplb.hpl.hp.com
> Subject: server parsing of URI path parameters

> I've been looking at use of parameters on path segments of URIs,
> as discussed in RFC2396 (section 3.3).
> [...]
> With that in mind, a more HTTP-specific question: How should an
> origin server treat a request that includes parameters?

Any confusion here results from equating 'URL path' to 'file path';
it need not be.  Something in the server is responsible for
interpreting a path - doing so as a file path is just one
possibility.

> I suspect the answer depends on the purpose and uses of
> parameters, but I'm interested to get some views on this.

Exactly so.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/



From http-wg-request@cuckoo.hpl.hp.com  Mon Jan  3 14:32:09 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06472
	for <http-archive@odin.ietf.org>; Mon, 3 Jan 2000 14:32:09 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id D99DEC21F; Mon,  3 Jan 2000 14:31:18 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA28576;
	Mon, 3 Jan 2000 19:30:37 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA19103; Mon, 3 Jan 2000 19:30:15 GMT
Resent-Date: Mon, 3 Jan 2000 19:30:15 GMT
To: Mark Nottingham <mnot@pobox.com>
Cc: http-wg@hplb.hpl.hp.com, mnot@akamai.com
Subject: Re: server parsing of URI path parameters 
In-reply-to: Your message of "Thu, 30 Dec 1999 09:59:15 +1100."
             <19991230095914.A436@i.mnot.net> 
Date: Mon, 03 Jan 2000 11:28:23 -0800
From: "Roy T. Fielding" <fielding@kiwi.ICS.UCI.EDU>
Message-ID:  <200001031128.aa04479@gremlin-relay.ics.uci.edu>
Resent-Message-ID: <"YGUmY2.0.Sg4.7ZFSu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/657
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

In message <19991230095914.A436@i.mnot.net>, Mark Nottingham writes:
>
>I've been looking at use of parameters on path segments of URIs, as
>discussed in RFC2396 (section 3.3).
>
>As I understand it, the original reason that parameters were used, and
>therefore the semicolon was a reserved character, is pre-HTTP/1.1 range
>specification.

Actually, no, they were introduced in RFC 1808 long before the
range hack.  Before that, I'd say they were most influenced by
the deisre to support versioning a la VMS.

>I'm not clear on their current use, and was a bit surprised
>to see 2396 say that each path segment could have its own parameters, so
>that you could get:
>  http://www.foo.com/bar;a=1;b=2/baz/bat.gif;g=5
>and so forth. If anyone could clear up the history here, I'd be grateful.

Think of it as an issue of precedence.  In almost all URL parsers,
the slash characters have precedence over any other character during
routine parsing of components.  The result is that the path is
separated into path segments before anything looks at the semicolons.

>With that in mind, a more HTTP-specific question:
>How should an origin server treat a request that includes parameters? Some
>trival testing suggests that current practice is to treat them as part of
>the path, so that an error is returned. Would it be better to have them
>ignore parameters that aren't understood? 

That is entirely dependent on the nature of the resource.  A server
can interpret its own namespace however it wants.

Cheers,

....Roy



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan  5 03:53:10 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA29361
	for <http-archive@odin.ietf.org>; Wed, 5 Jan 2000 03:53:09 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 59B98593; Wed,  5 Jan 2000 03:52:54 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id IAA00939;
	Wed, 5 Jan 2000 08:52:49 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id IAA20626; Wed, 5 Jan 2000 08:52:20 GMT
Resent-Date: Wed, 5 Jan 2000 08:52:20 GMT
From: opportunities45@eastmail.com
Date: Thu, 6 Jan 2000 19:58:16
Message-Id: <517.716456.734316@mail.mia.spjiioj.com>
Apparently-To: <rokahn@hplb.hpl.hp.com>
Apparently-To: <wm@hplb.hpl.hp.com>
Apparently-To: <mn@hplb.hpl.hp.com>
Apparently-To: <ewc@hplb.hpl.hp.com>
Apparently-To: <http-wg@hplb.hpl.hp.com>
Resent-Message-ID: <"Fxkpn3.0.B25.4PmSu"@cuckoo>
To: http-wg@cuckoo.hpl.hp.com
Resent-From: http-wg@cuckoo.hpl.hp.com
Subject: Unidentified subject!
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/658
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com


JOIN ME AT THE TOP


My name is Robert Todd 

The Golden Era Of Internet Marketing Has Arrived! 

Will You Be Part Of It? 

How Can You? 

Having the potential to reach millions with relatively little
investment, the Internet provides opportunities for mass 
marketing that
have never been seen before! You can now compete on the same 
level as
the Big Boys. 

Your presence on the World Wide Web can be as great as the 
biggest of
the big corporations -- 
IF YOU HAVE THE TOOLS - and -
IF YOU KNOW HOW TO USE THEM! 

  You now have before you the Opportunity to get in on the Ground
Floor of a BRAND NEW Network Marketing Opportunity? Have  you 
ever
wished you could have started out in the beginning with Nu-Skin, 
Amway
or any of the other networking Giants? 

  Our plan is to bring massive signups into our program. 

The support and tools we provide are unequaled . These tools have 
been
used by networkers to build enormous downlines in short periods 
of time.
(One Networker built a downline of 80,000 in 12 months while 
working a
full time job, using our tools). 

And I promise you will not find a more qualified nor will you 
find a
more supportive upline anywhere in the world. 

What we are offering is a business with the following     * FREE
State of the art webpage 
    * FREE On hands Training.
    * FREE Tremendous Upline Support! 
    * FREE Step-By-Step Business Building Plan!     *
FREE Opportunity Business Conferences Daily!     * FREE take
advantage of our unlimited lead generating system. 

    Also Everyone Who Joins Us can have 
* Merchant account - 99% approval 
* Web Hosting 
* Flat Rate Long Distance Telephone Service for only $39.99 per 
month. 

* You can add unlimited calling card for additional $59.99 
Monthly. This
service is 24 hours X 7 days a week only in the lower 48 states 

When you decide to take advantage of this Opportunity, you will:
    * HAVE the Potential to Earn an unlimited Income!
    * HAVE a Golden 
Opportunity to Secure Your Financial Future! 

    * AND finally earn the Money most 

Networkers only Dream about 

    * Be Mentored by networking Leaders from Nu-Skin, Amway,
Excel, Etc. 

    * Unlimited access to all our leaders.     * 

$5,500 Bonus commission on 6 sales! No limit on $5,500 Bonuses. 

Be a part of the fastest growing market in the world! 

About the Internet: 

The Internet has grown from 2 million users in 1993 to over 70 
million
users today 

Experts project that there will be 500 million users by the year 
2000
The number of new users on the "Net" doubles every 8 months Every 
cable,
long distance company and "Baby Bell" will insure that all 
Americans
have easy access to the Internet including TV set access through 
"Web
TV" providers We Provide a complete "Marketplace on the Internet" 
for
home and business consumers 

-This is a precious commodity. Busy consumers are looking for 
faster,
more hassle free ways to do their shopping- According to The 
Kiplinger
Letter, May 9, 1997, the number of firms currently using the 
Internet to
buy or sell is growing 10% per month... doubling every seven 
months! 

Make sure you DO NOT miss this new and exciting opportunity that 
is
taking the Internet 
by storm! 

    WE ALREADY HAVE MLM LEADERS JOINING OUR COMPANY DAILY.
SECURE YOUR POSITION NOW FOR A MOST REASONABLE JOINING FEE! 

If interested please fill in info below and I'll get back to you 
ASAP. 

Send to kahuna-info2@online-venture.com 

Name: 

Email address: 

Telephone: 

Best time to call: 

Sincerely yours, 


Robert Todd 

~~~~~~~~~~~~~~~~~~~~ 
Robert Todd ICQ#1769450
PO Box 3077
Oneco, FL 34205 USA
cyber-kahuna@webtv.net 

http://www.freeyellow.com/members/irongate/index.htm
 
Toll Free VoiceMail 877-817-6020
FAX 310-495-0415 



 
 
 
 
 
 



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan  5 05:41:53 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA00821
	for <http-archive@odin.ietf.org>; Wed, 5 Jan 2000 05:41:53 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 4A1D5564; Wed,  5 Jan 2000 02:41:43 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id KAA06809;
	Wed, 5 Jan 2000 10:41:39 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id KAA21050; Wed, 5 Jan 2000 10:41:04 GMT
Resent-Date: Wed, 5 Jan 2000 10:41:04 GMT
From: "Vani" <vani@chiplogic.com>
To: "HTTP" <http-wg@cuckoo.hpl.hp.com>
Subject: unsubscribe
Date: Wed, 5 Jan 2000 14:43:46 +0530
Message-ID: <01bf575d$2bd33420$4402a8c0@vani>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0026_01BF578B.458B7020"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Resent-Message-ID: <"D0ikI2.0.t85._-nSu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/659
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.

------=_NextPart_000_0026_01BF578B.458B7020
Content-Type: text/plain;
	charset="windows-1257"
Content-Transfer-Encoding: quoted-printable

unsubscribe

N.SatyaVani=20
A.M.T.S=20
Chiplogic India Pvt. Ltd.=20
Plot No.144,2nd Floor,Akashganga Chambers=20
Srinagar Colony ,Hyderabad :500073  (A.P.)=20
Tel: +91(40)3750251,3750252 (Off)
                   3040203(Res)
Email:vani@chiplogic.com      (Official)=20


------=_NextPart_000_0026_01BF578B.458B7020
Content-Type: text/html;
	charset="windows-1257"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Dwindows-1257" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>unsubscribe</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3D"Courier New" size=3D2>N.SatyaVani =
<BR>A.M.T.S=20
<BR>Chiplogic India Pvt. Ltd. <BR>Plot No.144,2nd Floor,Akashganga =
Chambers=20
<BR>Srinagar Colony ,Hyderabad :500073&nbsp; (A.P.) <BR>Tel:=20
+91(40)3750251,3750252=20
(Off)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
3040203(Res)<BR><A=20
href=3D"mailto:Email:vani@chiplogic.com">Email:vani@chiplogic.com</A>&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
(Official) <BR></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0026_01BF578B.458B7020--



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan  6 09:36:18 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA13039
	for <http-archive@odin.ietf.org>; Thu, 6 Jan 2000 09:36:17 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id E433DA0; Thu,  6 Jan 2000 06:36:09 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA12337;
	Thu, 6 Jan 2000 14:35:54 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA22880; Thu, 6 Jan 2000 14:35:09 GMT
Resent-Date: Thu, 6 Jan 2000 14:35:09 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: "IETF HTTP List" <http-wg@hplb.hpl.hp.com>
Subject: draft-ietf-tls-http-upgrade reissued
Date: Thu, 6 Jan 2000 09:31:16 -0500
Message-ID: <001701bf5852$b07feec0$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"BvHkC1.0.Tb5.TWATu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/660
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

The secretariat didn't forward this announcement to this list, so I
will.

The only change from version -04 is the addition of the standard
boilerplate and references  regarding the keywords (MUST, SHOULD,
MAY, etc).

A New Internet-Draft is available from the on-line Internet-Drafts
directories.
This draft is a work item of the Transport Layer Security Working
Group of the IETF.

	Title		: Upgrading to TLS Within HTTP/1.1
	Author(s)	: R. Khare, S. Lawrence
	Filename	: draft-ietf-tls-http-upgrade-05.txt
	Pages		: 13
	Date		: 05-Jan-00

This memo explains how to use the Upgrade mechanism in HTTP/1.1 to
initiate Transport Layer Security (TLS) over an existing TCP
connection. This allows unsecured and secured HTTP traffic to share
the same well known port (in this case, http: at 80 rather than
https: at 443). It also enables 'virtual hosting,' so a single HTTP
+ TLS server can disambiguate traffic intended for several hostnames
at a single IP address.
Since HTTP/1.1[1] defines Upgrade as a hop-by-hop mechanism, this
memo also documents the HTTP CONNECT method for establishing
end-to-end tunnels across HTTP proxies. Finally, this memo
establishes new IANA registries for public HTTP status codes, as
well as public or private Upgrade product tokens.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-tls-http-upgrade-05.t
xt

Internet-Drafts are also available by anonymous FTP. Login with the
username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-tls-http-upgrade-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-tls-http-upgrade-05.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail
readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/




From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 12 10:22:10 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA17648
	for <http-archive@odin.ietf.org>; Wed, 12 Jan 2000 10:22:08 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id B9B4359B; Wed, 12 Jan 2000 07:22:01 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA00573;
	Wed, 12 Jan 2000 15:21:47 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA02798; Wed, 12 Jan 2000 15:20:55 GMT
Resent-Date: Wed, 12 Jan 2000 15:20:55 GMT
From: "nate" <nate@los.net>
To: <http-wg@cuckoo.hpl.hp.com>
Subject: HTTP/proxy calls
Date: Wed, 12 Jan 2000 10:19:44 -0600
Message-ID: <NDBBKJGLBMDHJNPJLIKBGEKFCAAA.nate@los.net>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Resent-Message-ID: <"wQedQ.0.hh.Nl9Vu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/661
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Hello, I just subscribed to this list.  It didn't look that
active(archives), I hope I am wrong.

Of course I have a question.  GET http://www.webpage.com/download.zip
HTTP/1.0 is a valid get request for file download.zip.  Now, how does the
SERVER have to handle this?  Assuming the file exists.  What I mean is, when
i click on the link in a browser(IE 5.01), I am prompted for the SaveAs/Run
from current.  Well I wrote the web server, so I know that I simply send the
file back to the requestor.  If the file is small(2000 bytes) then it is
completely downloaded before the user is able to click anything. I know my
question is vague, but 1. I am wondering if there are other ways that a
server can distribute the file?  Also, 2. what are my security concerns when
making a request like this on the BROWSER end, if any?

Finally, 3.  How do I keep a Proxy from caching a file like this?  what if
it is a 400 meg file?

Thanks much for any help at all.  Am I in the correct list?



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 03:50:24 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA24765
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 03:50:23 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id C94EE974; Wed, 19 Jan 2000 00:50:19 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id IAA17309;
	Wed, 19 Jan 2000 08:50:11 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id IAA03567; Wed, 19 Jan 2000 08:50:08 GMT
Resent-Date: Wed, 19 Jan 2000 08:50:08 GMT
Message-ID: <00b601bf625a$43076500$5f897ed2@web114.co.kr>
From: =?ks_c_5601-1987?B?vK3BpLG5?= <mmouse@web114.co.kr>
To: <http-wg@cuckoo.hpl.hp.com>
Subject: test mail dont read this
Date: Wed, 19 Jan 2000 17:50:35 +0900
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00AF_01BF62A5.B072C260"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Resent-Message-ID: <"uWqUa3.0.ft._gNXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/662
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.

------=_NextPart_000_00AF_01BF62A5.B072C260
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

dGVzdA0KDQoNCg0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQ0KSmVvbmdLb29rLCBTZW8gKG1tb3VzZUB3ZWIxMTQuY28ua3IpDQpBcmlzb28gSW50ZXJu
ZXQgSW5jLg0KV2ViRGV2ZWxvbWVudCBUZWFtDQoNClRlbCA6ICs4Mi0yLTUyNS04Mzg2DQpGYXgg
OiArODItMi0zNDc0LTQ1ODcNCg0KaHR0cDovL3d3dy53ZWIxNC5jby5rcg0KPT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K

------=_NextPart_000_00AF_01BF62A5.B072C260
Content-Type: text/html;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWtz
X2NfNTYwMS0xOTg3IiBodHRwLWVxdWl2PUNvbnRlbnQtVHlwZT4NCjxNRVRBIGNvbnRlbnQ9Ik1T
SFRNTCA1LjAwLjI5MTkuNjMwNyIgbmFtZT1HRU5FUkFUT1I+DQo8U1RZTEU+PC9TVFlMRT4NCjwv
SEVBRD4NCjxCT0RZIGJnQ29sb3I9I2ZmZmZmZj4NCjxESVY+PEZPTlQgc2l6ZT0yPnRlc3Q8L0ZP
TlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj48L0ZPTlQ+Jm5ic3A7PC9ESVY+DQo8RElWPiZu
YnNwOzwvRElWPg0KPERJVj48Rk9OVCANCnNpemU9Mj48QlI+PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PTxCUj5KZW9uZ0tvb2ssIFNlbyANCig8QSBocmVm
PSJtYWlsdG86bW1vdXNlQHdlYjExNC5jby5rciI+bW1vdXNlQHdlYjExNC5jby5rcjwvQT4pPEJS
PkFyaXNvbyANCkludGVybmV0IEluYy48QlI+V2ViRGV2ZWxvbWVudCBUZWFtPC9GT05UPjwvRElW
Pg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPlRlbCA6ICs4Mi0yLTUyNS04
Mzg2PEJSPkZheCA6ICs4Mi0yLTM0NzQtNDU4NzwvRk9OVD48L0RJVj4NCjxESVY+Jm5ic3A7PC9E
SVY+DQo8RElWPjxGT05UIHNpemU9Mj48QSANCmhyZWY9Imh0dHA6Ly93d3cud2ViMTQuY28ua3Ii
Pmh0dHA6Ly93d3cud2ViMTQuY28ua3I8L0E+PEJSPj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT08L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4NCg==

------=_NextPart_000_00AF_01BF62A5.B072C260--



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 11:38:20 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA01725
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 11:38:18 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id A1E06B07; Wed, 19 Jan 2000 08:38:10 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA21560;
	Wed, 19 Jan 2000 16:38:07 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA04262; Wed, 19 Jan 2000 13:46:36 GMT
Resent-Date: Wed, 19 Jan 2000 13:46:36 GMT
X-Authentication-Warning: www.talk7.com: peterw owned process doing -bs
Date: Wed, 19 Jan 2000 08:45:00 -0500 (EST)
From: Peter W <peterw@usa.net>
X-Sender: peterw@localhost
To: http-wg@cuckoo.hpl.hp.com
Subject: webmail vulnerabilities: a new pragma token?
Message-ID: <Pine.LNX.4.10.10001190748520.19514-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"viug12.0.Z21.y0SXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/663
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com


Before making this suggestion to client app vendors, I would very much
appreciate the comments of this working group.

Background:

On the Bugtraq security discussion mailing list[1], there has been much
conversation of late about webmail vulnerabilities. Essentially, the
webmail sites offer HTTP/HTML frontends to read Internet mail. They
normally can display HTML-encoded email. Such systems usually try to
remove all scripting code from email before displaying it. This is to
prevent those scripts from being executed in a way that might exploit
current client scripting lnguage problems, or simply exploit the trust
that a user might normally place in the site running the webmail frontend.

Suggestion:

It would be nice if there were on an HTTP header that, if sent to the
client, would cause the client to disable javascript, vbscript, etc. for
that document only. Sites who wished to display untrusted pages (webmail
sites, web discussion forums, etc.) could then use a multi-frame layout.
Any frame that contained untrusted code would have this header included in
the delivery of its content to ensure that the scripts would not be
evaluated, regardless of the normal client settings; other frames, whose
"trusted" documents would be sent without this header, would still be able
to use scripting (if enabled on the client).

May I suggest

Pragma: disable-scripting

which I suppose means a no-cache page would be sent with

Pragma: no-cache, disable-scripting

Per RFC 2616, all Pragma headers must be passed to the client by all proxy
server or gateway applications. So this header would be passed to the
client application, as desired. But is it an acceptable use for "Pragma"?

Comments, suggestions?

-Peter

http://www.bastille-linux.org/ : working towards more secure Linux systems

[1] http://www.securityfocus.com/



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 12:14:29 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02226
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 12:14:27 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 00ABD220; Wed, 19 Jan 2000 09:14:17 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA23586;
	Wed, 19 Jan 2000 17:14:14 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA05364; Wed, 19 Jan 2000 17:14:13 GMT
Resent-Date: Wed, 19 Jan 2000 17:14:13 GMT
Message-ID: <01BF6276.6C228D90.eric@infobro.com>
From: "Eric D. Williams" <eric@infobro.com>
To: "http-wg@cuckoo.hpl.hp.com" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Wed, 19 Jan 2000 12:12:12 -0500
Organization: Information Brokers, Inc.
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"iR2zF3.0.jJ1.b3VXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/664
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Hello all,

To get straight to the point.  I think the stated is the reason Pragma exists. 
 It is a perfectly apropos usage and addresses the problems discussed on 
BugTraq directly and efficiently.  However, this does not completely address 
the issues in implementation of the clients and their treatment of these 
WebMail systems nor the treatment of proxies concerning those systems.  Perhaps 
a poll of those providers would glean some information concerning the current 
treatment or their client expectations as to the treatment of the 'un-trusted' 
content types.  In any event, this seems to be at least a relevant and 
appropriate use of Pragma as stipulated in RFC 2616.

Eric

Eric Williams, Pres.
Information Brokers, Inc.    Phone: +1 202.889.4395
http://www.infobro.com/        Fax: +1 202.889.4396
mailto:eric@infobro.com      Pager: +1 301.303.8998
           For More Info: info@infobro.com


On Wednesday, January 19, 2000 8:45 AM, Peter W [SMTP:peterw@usa.net] wrote:
>
> Before making this suggestion to client app vendors, I would very much
> appreciate the comments of this working group.
>
> Background:
>
> On the Bugtraq security discussion mailing list[1], there has been much
> conversation of late about webmail vulnerabilities. Essentially, the
> webmail sites offer HTTP/HTML frontends to read Internet mail. They
> normally can display HTML-encoded email. Such systems usually try to
> remove all scripting code from email before displaying it. This is to
> prevent those scripts from being executed in a way that might exploit
> current client scripting lnguage problems, or simply exploit the trust
> that a user might normally place in the site running the webmail frontend.
>
> Suggestion:
>
> It would be nice if there were on an HTTP header that, if sent to the
> client, would cause the client to disable javascript, vbscript, etc. for
> that document only. Sites who wished to display untrusted pages (webmail
> sites, web discussion forums, etc.) could then use a multi-frame layout.
> Any frame that contained untrusted code would have this header included in
> the delivery of its content to ensure that the scripts would not be
> evaluated, regardless of the normal client settings; other frames, whose
> "trusted" documents would be sent without this header, would still be able
> to use scripting (if enabled on the client).
>
> May I suggest
>
> Pragma: disable-scripting
>
> which I suppose means a no-cache page would be sent with
>
> Pragma: no-cache, disable-scripting
>
> Per RFC 2616, all Pragma headers must be passed to the client by all proxy
> server or gateway applications. So this header would be passed to the
> client application, as desired. But is it an acceptable use for "Pragma"?
>
> Comments, suggestions?
>
> -Peter
>
> http://www.bastille-linux.org/ : working towards more secure Linux systems
>
> [1] http://www.securityfocus.com/



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 14:12:51 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03810
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 14:12:48 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id B75E91D8; Wed, 19 Jan 2000 11:12:28 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA00386;
	Wed, 19 Jan 2000 19:12:25 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA05714; Wed, 19 Jan 2000 19:12:21 GMT
Resent-Date: Wed, 19 Jan 2000 19:12:21 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Peter W" <peterw@usa.net>, <http-wg@cuckoo.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Wed, 19 Jan 2000 14:08:34 -0500
Message-ID: <002501bf62b0$955e13c0$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <Pine.LNX.4.10.10001190748520.19514-100000@localhost>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"5JBML2.0.FP1.LoWXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/665
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> From: Peter W
> Subject: RE: webmail vulnerabilities: a new pragma token?

> It would be nice if there were on an HTTP header that, if sent to
> the client, would cause the client to disable javascript,
vbscript,
> etc. for that document only. Sites who wished to display untrusted
> pages (webmail sites, web discussion forums, etc.) could then use
a
> multi-frame layout.  Any frame that contained untrusted code would
> have this header included in the delivery of its content to ensure
> that the scripts would not be evaluated, regardless of the normal
> client settings; other frames, whose "trusted" documents would be
> sent without this header, would still be able to use scripting (if
> enabled on the client).

  The problem with Pragma as an extension mechanism is that there is
  no way for the server to know whether or not the client
understands
  any particular pragma token, so it becomes an unreliable
mechanism.
  In this case, the server can send 'disable-scripting', but it
can't
  tell whether or not that will have any effect.  Worse - today it
  can be assured that it will not, since no browsers implement it.

  The degree of trust that a user should have in scripts, as this
  example illustrates, is really a property of the script itself, or
  perhaps of the containing document, not of the server from which
it
  is obtained.  There are already mechanisms available for signing
  email, so if anything we should be looking for ways for browsers
to
  make the trust decisions appropriately - based on the document,
not
  the web server.

  As an interim solution for the webmail sites today, I'd suggest
that
  you've already got the basis for a solution.  Serve the framework
  that you want the user to trust from 'webmailbox.example.com', and
  then serve the content of the mail frame from 'mail.example.com'.
  Instruct users to trust 'webmailbox' and not to trust 'mail'.  A
  solution like this can be implemented with many of todays browsers
  with no protocol change.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 19:59:49 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA06981
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 19:59:49 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id CD3DB1470C; Wed, 19 Jan 2000 19:59:42 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id AAA18695;
	Thu, 20 Jan 2000 00:59:36 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id AAA06305; Thu, 20 Jan 2000 00:59:35 GMT
Resent-Date: Thu, 20 Jan 2000 00:59:35 GMT
Date: Thu, 20 Jan 2000 11:46:13 +1100
From: Mark Nottingham <mnot@pobox.com>
To: Peter W <peterw@usa.net>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: webmail vulnerabilities: a new pragma token?
Message-ID: <20000120114613.C18872@i.mnot.net>
References: <Pine.LNX.4.10.10001190748520.19514-100000@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
In-Reply-To: <Pine.LNX.4.10.10001190748520.19514-100000@localhost>; from Peter W on Wed, Jan 19, 2000 at 08:45:00AM -0500
X-URL: http://www.mnot.net/
Sender: mnot@mnot.net
Resent-Message-ID: <"yADgq1.0.UY1.stbXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/666
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com


Just a reminder- Pragma: no-cache is a request header, not a response header.

Also, RFC2616 says that 'No new Pragma directives will be defined in HTTP'.
That seems to preclude this use of it.

Cheers,


On Wed, Jan 19, 2000 at 08:45:00AM -0500, Peter W wrote:
> 
> Before making this suggestion to client app vendors, I would very much
> appreciate the comments of this working group.
> 
> Background:
> 
> On the Bugtraq security discussion mailing list[1], there has been much
> conversation of late about webmail vulnerabilities. Essentially, the
> webmail sites offer HTTP/HTML frontends to read Internet mail. They
> normally can display HTML-encoded email. Such systems usually try to
> remove all scripting code from email before displaying it. This is to
> prevent those scripts from being executed in a way that might exploit
> current client scripting lnguage problems, or simply exploit the trust
> that a user might normally place in the site running the webmail frontend.
> 
> Suggestion:
> 
> It would be nice if there were on an HTTP header that, if sent to the
> client, would cause the client to disable javascript, vbscript, etc. for
> that document only. Sites who wished to display untrusted pages (webmail
> sites, web discussion forums, etc.) could then use a multi-frame layout.
> Any frame that contained untrusted code would have this header included in
> the delivery of its content to ensure that the scripts would not be
> evaluated, regardless of the normal client settings; other frames, whose
> "trusted" documents would be sent without this header, would still be able
> to use scripting (if enabled on the client).
> 
> May I suggest
> 
> Pragma: disable-scripting
> 
> which I suppose means a no-cache page would be sent with
> 
> Pragma: no-cache, disable-scripting
> 
> Per RFC 2616, all Pragma headers must be passed to the client by all proxy
> server or gateway applications. So this header would be passed to the
> client application, as desired. But is it an acceptable use for "Pragma"?
> 
> Comments, suggestions?
> 
> -Peter
> 
> http://www.bastille-linux.org/ : working towards more secure Linux systems
> 
> [1] http://www.securityfocus.com/
> 

-- 
Mark Nottingham, Melbourne Australia 
http://www.mnot.net/



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 19 22:35:48 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA09754
	for <http-archive@odin.ietf.org>; Wed, 19 Jan 2000 22:35:44 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id EA501D92A; Wed, 19 Jan 2000 22:35:39 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id DAA26186;
	Thu, 20 Jan 2000 03:35:36 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id DAA06575; Thu, 20 Jan 2000 03:35:32 GMT
Resent-Date: Thu, 20 Jan 2000 03:35:32 GMT
Message-ID: <01BF62CD.4DF65430.eric@infobro.com>
From: "Eric D. Williams" <eric@infobro.com>
To: "'Mark Nottingham'" <mnot@pobox.com>, Peter W <peterw@usa.net>
Cc: "http-wg@cuckoo.hpl.hp.com" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Wed, 19 Jan 2000 22:32:19 -0500
Organization: Information Brokers, Inc.
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"BBSNY2.0.ic1.3AeXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/667
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Mark,

On Wednesday, January 19, 2000 7:46 PM, Mark Nottingham [SMTP:mnot@pobox.com] 
wrote:
>
> Just a reminder- Pragma: no-cache is a request header, not a response header.

This is as it should be.

> Also, RFC2616 says that 'No new Pragma directives will be defined in HTTP'.
> That seems to preclude this use of it.

But what Peter suggests is an extension-pragma and not a new Pragma directive 
e.g.

Pragma: no-cache, disable-scripting

and not;

Pragma: disable-scipting

The question that seems more apropos is what is the provider expecting from the 
client, not the converse.  Any implementor that decides to modify her client to 
extend Pragma: no-cache to Pragma: no-cache, disable-scripting should 
reasonably expect the server to have implemented a Reply with scripting 
disabled. OR should we expect the Response chain to ONLY disable those scripted 
elements it 'understands' or the client 'understands' - to me that is the 
dilemma.  What would the clients and servers [sic] be expected to expect. NPI

Eric


> Cheers,
>
>
> On Wed, Jan 19, 2000 at 08:45:00AM -0500, Peter W wrote:
> >
> > Before making this suggestion to client app vendors, I would very much
> > appreciate the comments of this working group.
> >
> > Background:
> >
> > On the Bugtraq security discussion mailing list[1], there has been much
> > conversation of late about webmail vulnerabilities. Essentially, the
> > webmail sites offer HTTP/HTML frontends to read Internet mail. They
> > normally can display HTML-encoded email. Such systems usually try to
> > remove all scripting code from email before displaying it. This is to
> > prevent those scripts from being executed in a way that might exploit
> > current client scripting lnguage problems, or simply exploit the trust
> > that a user might normally place in the site running the webmail frontend.
> >
> > Suggestion:
> >
> > It would be nice if there were on an HTTP header that, if sent to the
> > client, would cause the client to disable javascript, vbscript, etc. for
> > that document only. Sites who wished to display untrusted pages (webmail
> > sites, web discussion forums, etc.) could then use a multi-frame layout.
> > Any frame that contained untrusted code would have this header included in
> > the delivery of its content to ensure that the scripts would not be
> > evaluated, regardless of the normal client settings; other frames, whose
> > "trusted" documents would be sent without this header, would still be able
> > to use scripting (if enabled on the client).
> >
> > May I suggest
> >
> > Pragma: disable-scripting
> >
> > which I suppose means a no-cache page would be sent with
> >
> > Pragma: no-cache, disable-scripting
> >
> > Per RFC 2616, all Pragma headers must be passed to the client by all proxy
> > server or gateway applications. So this header would be passed to the
> > client application, as desired. But is it an acceptable use for "Pragma"?
> >
> > Comments, suggestions?
> >
> > -Peter
> >
> > http://www.bastille-linux.org/ : working towards more secure Linux systems
> >
> > [1] http://www.securityfocus.com/
> >
>
> --
> Mark Nottingham, Melbourne Australia
> http://www.mnot.net/



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 02:55:47 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA23590
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 02:55:46 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id C13B3201D; Wed, 19 Jan 2000 23:55:40 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id HAA17268;
	Thu, 20 Jan 2000 07:55:31 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id HAA15265; Thu, 20 Jan 2000 07:55:27 GMT
Resent-Date: Thu, 20 Jan 2000 07:55:27 GMT
Message-ID: <BFF90FB6CF66D111BF4F0000F840DB850BCBBFF7@lassie.dns.microsoft.com>
From: Josh Cohen <joshco@Exchange.Microsoft.com>
To: "'Eric D. Williams'" <eric@infobro.com>,
        "'Mark Nottingham'" <mnot@pobox.com>, Peter W <peterw@usa.net>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Wed, 19 Jan 2000 23:32:27 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
Resent-Message-ID: <"vECH1.0.Rk3.lzhXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/668
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

> -----Original Message-----
> From: Eric D. Williams [mailto:eric@infobro.com]
> Sent: Wednesday, January 19, 2000 7:32 PM
> To: 'Mark Nottingham'; Peter W
> Cc: http-wg@cuckoo.hpl.hp.com
> Subject: RE: webmail vulnerabilities: a new pragma token?
> 
> 
> Mark,
> 
> On Wednesday, January 19, 2000 7:46 PM, Mark Nottingham 
> [SMTP:mnot@pobox.com] 
> wrote:
> >
> > Just a reminder- Pragma: no-cache is a request header, not 
> a response header.
> 
> This is as it should be.
>
But what your talking about means that the server would
send the pragma: disable-scripting to the client.
That is a response header, not a request header as the
spec defines it.
 
> > Also, RFC2616 says that 'No new Pragma directives will be 
> defined in HTTP'.
> > That seems to preclude this use of it.
> 
> But what Peter suggests is an extension-pragma and not a new 
> Pragma directive 
> e.g.
> 
> Pragma: no-cache, disable-scripting
>
No, thats a new directive.   You're just listing
multiple directives in a single pragma statement.
 
The point of that part of the spec is to declare
pragma obsolete and not to be used in future work.

> 
> The question that seems more apropos is what is the provider 
> expecting from the 
> client, not the converse.  Any implementor that decides to 
> modify her client to 
> extend Pragma: no-cache to Pragma: no-cache, disable-scripting should 
> reasonably expect the server to have implemented a Reply with 
> scripting 

I think the original poster meant that the CLIENT
would disable scripting code that was sent by the server.
What you seem to be describing is that the client would
send a requedt with "please dont send me any script"
which defeats the purpose since you now have to trust
the server....

I see your problem, but I dont think pragma is 
the right place for a solution.
As a matter of fact, I dont think HTTP is the place
for your solution.  Why not just stick a meta tag
in the HTML itself ?

Finally, as scott said, this problem can be solved
by using existing browser functionality.  This
is certainly easier than modifying the protocol and
hoping that people will implement it.  
(I for one would recommend against implementing
 your solution in our browser)

> 
> 
> > Cheers,
> >
> >
> > On Wed, Jan 19, 2000 at 08:45:00AM -0500, Peter W wrote:
> > >
> > > Before making this suggestion to client app vendors, I 
> would very much
> > > appreciate the comments of this working group.
> > >
> > > Background:
> > >
> > > On the Bugtraq security discussion mailing list[1], there 
> has been much
> > > conversation of late about webmail vulnerabilities. 
> Essentially, the
> > > webmail sites offer HTTP/HTML frontends to read Internet 
> mail. They
> > > normally can display HTML-encoded email. Such systems 
> usually try to
> > > remove all scripting code from email before displaying 
> it. This is to
> > > prevent those scripts from being executed in a way that 
> might exploit
> > > current client scripting lnguage problems, or simply 
> exploit the trust
> > > that a user might normally place in the site running the 
> webmail frontend.
> > >
> > > Suggestion:
> > >
> > > It would be nice if there were on an HTTP header that, if 
> sent to the
> > > client, would cause the client to disable javascript, 
> vbscript, etc. for
> > > that document only. Sites who wished to display untrusted 
> pages (webmail
> > > sites, web discussion forums, etc.) could then use a 
> multi-frame layout.
> > > Any frame that contained untrusted code would have this 
> header included in
> > > the delivery of its content to ensure that the scripts 
> would not be
> > > evaluated, regardless of the normal client settings; 
> other frames, whose
> > > "trusted" documents would be sent without this header, 
> would still be able
> > > to use scripting (if enabled on the client).
> > >
> > > May I suggest
> > >
> > > Pragma: disable-scripting
> > >
> > > which I suppose means a no-cache page would be sent with
> > >
> > > Pragma: no-cache, disable-scripting
> > >
> > > Per RFC 2616, all Pragma headers must be passed to the 
> client by all proxy
> > > server or gateway applications. So this header would be 
> passed to the
> > > client application, as desired. But is it an acceptable 
> use for "Pragma"?
> > >
> > > Comments, suggestions?
> > >
> > > -Peter
> > >
> > > http://www.bastille-linux.org/ : working towards more 
> secure Linux systems
> > >
> > > [1] http://www.securityfocus.com/
> > >
> >
> > --
> > Mark Nottingham, Melbourne Australia
> > http://www.mnot.net/
> 



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 08:11:16 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA27138
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 08:11:16 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id BA62865A; Thu, 20 Jan 2000 05:06:40 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id NAA04829;
	Thu, 20 Jan 2000 13:06:37 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA15965; Thu, 20 Jan 2000 13:06:33 GMT
Resent-Date: Thu, 20 Jan 2000 13:06:33 GMT
X-Authentication-Warning: www.talk7.com: peterw owned process doing -bs
Date: Thu, 20 Jan 2000 08:04:24 -0500 (EST)
From: Peter W <peterw@usa.net>
X-Sender: peterw@localhost
To: Scott Lawrence <lawrence@agranat.com>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: RE: webmail vulnerabilities: a new pragma token?
In-Reply-To: <002501bf62b0$955e13c0$954768c0@oyster.agranat.com>
Message-ID: <Pine.LNX.4.10.10001191420260.20045-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"Ab6I_3.0.Qv3.PXmXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/669
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

At 2:08pm Jan 19, 2000, Scott Lawrence wrote:

> > From: Peter W

> > It would be nice if there were on an HTTP header that, if sent to
> > the client, would cause the client to disable javascript,
> > vbscript, etc. for that document only.

>   The problem with Pragma as an extension mechanism is that there is
>   no way for the server to know whether or not the client understands
>   any particular pragma token, so it becomes an unreliable
>   mechanism.

True, but that's just an issue of getting client vendors on board.

Others have written that Pragma is a request header. Hmm. While RFC 2616
only defines its meaning as a request header, it defines Pragma as a
general header field, doesn't it? (sections 4.5 and 14.32). Anyhow, if
Pragma is a bad choice, then perhaps a new entity header should be used,
in which case this is not an HTTP protocol question, as new entity
headers can be added without changing the protocol. ;-)

> The degree of trust that a user should have in scripts, as this
> example illustrates, is really a property of the script itself, or
> perhaps of the containing document, not of the server from which it is
> obtained.  There are already mechanisms available for signing email,
> so if anything we should be looking for ways for browsers to make the
> trust decisions appropriately - based on the document, not the web
> server.

Agreed. I think it would be nice if HTTP provided a way to indicate to the
client where they might find a signature or verification service to
authenticate individual pieces of content. That way a photographer could
publish an image file and a detached .asc PGP signature, and the HTTP
client could obtain information from the httpd about where/how to get the
signature. Arguably this could be an attribute of an <IMG> tag, but IMHO
the signature is as much an attribute of the document as the last-modified
date and should be revealed by the httpd, not the referring document. So
this, too, is a good candidate for a new entity header.

I also think there should be an HTML/XML DTD extension to allow a document
to mark a portion of it (e.g., a certain DIV) as signed text, e.g. the
news paragraphs are signed, but not the doubleclick ad banner. ;-)

> As an interim solution for the webmail sites today, I'd suggest that
> you've already got the basis for a solution.  Serve the framework that
> you want the user to trust from 'webmailbox.example.com', and then
> serve the content of the mail frame from 'mail.example.com'. Instruct
> users to trust 'webmailbox' and not to trust 'mail'.  A solution like
> this can be implemented with many of todays browsers with no protocol
> change.

With Internet Explorer at least, yes, using Zones. Very clever idea. I
like it, except it's a hassle for the end users. But it would be nice,
don't you think, if a site could explicitly repudiate a document without
needing a different base URL?

That's the essence of the problem: we have two different
run-this-script? security models with Netscape and IE:
 Netscape: based on how we got the document (HTTP vs POP3/IMAP/NNTP)
	   -this made more sense when it wasn't so easy to anonymously
	    publish content through other folks' Web sites, see below
 IE:       based on where we got the document (domains & zones)
	   -made more sense when sites generally contained only content
	    locally produced or approved

I don't see signed scripts going anywhere soon; too much of a hassle for
Web publishers. What I'm basically suggesting is a way to improve the
all-or-nothing security model: let the server repudiate an individual
document. Why not a META tag? Because I see this as applying to different
documents than HTML(/XML). Consider PostScript files, Java classes, and
other content that you might get through HTTP.

Two growing trends make this repudiation a valuable notion: webmail
systems (ala Hotmail) and discussion-based Web sites (ala Slashdot). In
both these models, it's natural that externally-supplied content should
not be trusted to the same degree that content created by Microsoft
(Hotmail) or Andover (Slashdot) should be. And especially for webmail, it
seems very, very difficult for the server to filter out all the different
ways of embedding scripts. (Actually, sanitizing other objects like
PostScript files or Java classes would be more difficult.)

Anyhow, until/unless we have a usable document-based trust model, it would
be helpful if servers could indicate that a document should not be given
the same trust as official documents.

Thanks very much,

-Peter

http://www.bastille-linux.org/ : working towards more secure Linux systems



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 09:32:38 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA00013
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 09:32:37 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 4BF9ADEF; Thu, 20 Jan 2000 06:30:53 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA09722;
	Thu, 20 Jan 2000 14:30:35 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA16378; Thu, 20 Jan 2000 14:30:34 GMT
Resent-Date: Thu, 20 Jan 2000 14:30:34 GMT
Message-ID: <01BF6328.C052B270.eric@infobro.com>
From: "Eric D. Williams" <eric@infobro.com>
To: "http-wg@cuckoo.hpl.hp.com" <http-wg@cuckoo.hpl.hp.com>
Cc: "'Josh Cohen'" <joshco@Exchange.Microsoft.com>,
        "'Mark Nottingham'" <mnot@pobox.com>, Peter W <peterw@usa.net>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 09:28:11 -0500
Organization: Information Brokers, Inc.
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"HmNLF3.0.t_3.AmnXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/670
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit



On Thursday, January 20, 2000 2:32 AM, Josh Cohen 
[SMTP:joshco@Exchange.Microsoft.com] wrote:
> > -----Original Message-----
> > From: Eric D. Williams [mailto:eric@infobro.com]
> > Sent: Wednesday, January 19, 2000 7:32 PM
> > To: 'Mark Nottingham'; Peter W
> > Cc: http-wg@cuckoo.hpl.hp.com
> > Subject: RE: webmail vulnerabilities: a new pragma token?
> >
> >
> > Mark,
> >
> > On Wednesday, January 19, 2000 7:46 PM, Mark Nottingham
> > [SMTP:mnot@pobox.com]
> > wrote:
> > >
> > > Just a reminder- Pragma: no-cache is a request header, not
> > a response header.
> >
> > This is as it should be.
> >
> But what your talking about means that the server would
> send the Pragma: disable-scripting to the client.
> That is a response header, not a request header as the
> spec defines it.
>
> > > Also, RFC2616 says that 'No new Pragma directives will be
> > defined in HTTP'.
> > > That seems to preclude this use of it.
> >
> > But what Peter suggests is an extension-pragma and not a new
> > Pragma directive
> > e.g.
> >
> > Pragma: no-cache, disable-scripting
> >
> No, thats a new directive.   You're just listing
> multiple directives in a single pragma statement.
>
> The point of that part of the spec is to declare
> pragma obsolete and not to be used in future work.
>

Got it.  That is a fine explanation of the intent as Pragma was included only 
for backward compatibility.

> >
> > The question that seems more apropos is what is the provider
> > expecting from the
> > client, not the converse.  Any implementor that decides to
> > modify her client to
> > extend Pragma: no-cache to Pragma: no-cache, disable-scripting should
> > reasonably expect the server to have implemented a Reply with
> > scripting
>
> I think the original poster meant that the CLIENT
> would disable scripting code that was sent by the server.

I disagree, I think the intent was to activate some 'procedure' in the response 
chain such that no scirpting elements would be returned in the content.  I 
certainly could have mis-interpreted this (and the Pragma directive is a 
request header) but it seems that is the intent.

> What you seem to be describing is that the client would
> send a request with "please don't send me any script"
> which defeats the purpose since you now have to trust
> the server....

That's the rub.

> I see your problem, but I dot think pragma is
> the right place for a solution.
> As a matter of fact, I dot think HTTP is the place
> for your solution.  Why not just stick a meta tag
> in the HTML itself ?

Therein lies the dilemma.  A question of whether the intended use of the 
browser as 'eMail UI' would be defeated in a substantial portion of WebMail 
based sites.  Also if the mere presence of a meta-tag could be used to disable 
(or enable) scripting in a browser (although, IMHO, disabling would be a good 
thing under some circumstances) it could lead to other issues concerning the 
'authenticity' or 'integrity' of page elements intended to be 'calculated' by 
the browser or passed to other modules for further processing.

Certainly we are not (yet) talking about SHTTP  like functionality for WebMail 
systems (maybe HTML or XML will?) but these issues of trusted and un-trusted 
scripting elements are currently being dealt with at the provider side through 
script filtering mechanisms, which seem to be inadequate at times.  This 
functionality may be best implemented as a Meta-Tag SUPPORTED in client 
implementations (who turns scripting back on?).  This would require a change in 
either usage expectations or browser HTML-parsing implementations ("I disable 
scripting every time I visit webmail.com?", "my browser ``remembers'' to 
disable scripting for this site element".) .  And still imposes a requirement 
on the provider concerning 'what to expect' the client will do as it relates to 
this meta-info certainly not a discussion for this WG, but IMHO may be best 
handled at the protocol level.

> Finally, as scott said, this problem can be solved
> by using existing browser functionality.  This
> is certainly easier than modifying the protocol and
> hoping that people will implement it.
> (I for one would recommend against implementing
>  your solution in our browser)

Just a note, this is not my solution.  Merely a seconding of a proposed measure 
to address some difficult areas concerning user expectations of behavior in 
these systems.  I would contend that the solution WILL require either:

1.  A change in the way WebMail systems are implemented (which could include 
protocol changes) or;
2.  A change in the functionality of browsers at some level (read HTML 
parsing).


Eric

Eric Williams, Pres.
Information Brokers, Inc.    Phone: +1 202.889.4395
http://www.infobro.com/        Fax: +1 202.889.4396
mailto:eric@infobro.com      Pager: +1 301.303.8998
           For More Info: info@infobro.com



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 09:55:34 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA00596
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 09:55:33 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 0F6D1F5E; Thu, 20 Jan 2000 06:55:30 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA11435;
	Thu, 20 Jan 2000 14:55:25 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA16727; Thu, 20 Jan 2000 14:55:24 GMT
Resent-Date: Thu, 20 Jan 2000 14:55:24 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: <http-wg@cuckoo.hpl.hp.com>
Cc: <peterw@usa.net>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 09:51:35 -0500
Message-ID: <000401bf6355$d9127a20$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <Pine.LNX.4.10.10001191420260.20045-100000@localhost>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Resent-Message-ID: <"YCPcv3.0.K54.S7oXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/671
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> From: Peter W

> It would be nice if there were on an HTTP header that, if sent
> to the client, would cause the client to disable javascript,
> vbscript, etc. for that document only.

> > The problem with Pragma as an extension mechanism is
> > that there is
> > no way for the server to know whether or not the
> > client understands
> > any particular pragma token, so it becomes an unreliable
> > mechanism.

> True, but that's just an issue of getting client vendors on
> board.

Believe me, that is a big hurdle to get over.  I'm one of the
authors of RFC 2617 - Digest Authentication, whose goal is simply
to stop publishing passwords on the Net in cleartext (as all web
mail sites do now - do any use Digest yet?  IE5 supports it.)
Getting new extensions into browsers is not an easy task
(Netscape doesn't even support HTTP/1.1 yet), and you have to
always assume that some won't have it.

> Agreed. I think it would be nice if HTTP provided a way to
> indicate to the client where they might find a signature or
> verification service to authenticate individual pieces of
> content. [...]
> So this, too, is a good candidate for a new entity header.

I should think that multipart/signed would be a better way to go;
the server provides both the object and its signature together.

> I also think there should be an HTML/XML DTD extension to allow
> a document to mark a portion of it (e.g., a certain DIV) as
> signed text, e.g. the news paragraphs are signed, but not the
> doubleclick ad banner. ;-)

That sounds like grist for the XML Signatures WG.

> But it would be nice, don't you think, if a site could
> explicitly repudiate a document without needing a different
> base URL?

I think that you've got the problem backwards - rather than
trying to find a way to explicitly repudiate things, the model
needs to be that nothing is trusted unless vouched for
explicitly.  Otherwise, an attacker can just strip the
repudiation and the result is a trusted object.

> I don't see signed scripts going anywhere soon; too much of a
> hassle for Web publishers.

I think that if Web publishers want to run their programs on my
system with my privileges, then the burden belongs on them to
establish that I can trust them and their scripts.

> Two growing trends make this repudiation a valuable notion:
> webmail systems (ala Hotmail) and discussion-based Web sites
> (ala Slashdot). In both these models, it's natural that
> externally-supplied content should not be trusted to the same
> degree that content created by Microsoft (Hotmail) or Andover
> (Slashdot) should be.

Interesting assumption - that the service provider should be
presumed more trustworthy.  One I don't share, but that is not a
protocol issue.

> And especially for webmail, it seems
> very, very difficult for the server to filter out all the
> different ways of embedding scripts. (Actually, sanitizing
> other objects like PostScript files or Java classes would be
> more difficult.)

Which is why they should put the burden on the originator of the
mail and the recipient to implement a trust model that flows
through their service, rather than taking on the (probably
impossible) job of making all the content safe.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/




From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 13:54:49 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA12020
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 13:54:49 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 16436AFD; Thu, 20 Jan 2000 13:54:39 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id SAA26358;
	Thu, 20 Jan 2000 18:54:35 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id SAA17507; Thu, 20 Jan 2000 18:54:34 GMT
Resent-Date: Thu, 20 Jan 2000 18:54:34 GMT
X-Authentication-Warning: shell1. ncal.verio.com: dwm owned process doing -bs
Date: Thu, 20 Jan 2000 10:48:04 -0800 (PST)
From: "David W. Morris" <dwm@XPASC.COM>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: RE: webmail vulnerabilities: a new pragma token?
In-Reply-To: <BFF90FB6CF66D111BF4F0000F840DB850BCBBFF7@lassie.dns.microsoft.com>
Message-ID: <Pine.GSO.4.05.10001201038490.15051-100000@shell1>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"MTywA2.0.UH4.gdrXu"@cuckoo>
To: http-wg@cuckoo.hpl.hp.com
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/672
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com



On Wed, 19 Jan 2000, Josh Cohen wrote:

> 
> I see your problem, but I dont think pragma is 
> the right place for a solution.
> As a matter of fact, I dont think HTTP is the place
> for your solution.  Why not just stick a meta tag
> in the HTML itself ?

Because that means parsing and modification of the HTML.  Doesn't scale to
any future content type ... I for one prefer security features out of band
to the channel or in this case processing layer of the client.

But I'm not sure this is a complete solution as proposed in any case. At
what point does not having scripting enabled prevent reasonable rendering
of the content?  Should plugins be enabled? What about content within
frames (or iframe) within the file which reference other servers? Meta
refresh tags which redirect to new content?

Dave Morris



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 14:10:28 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA12405
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 14:10:27 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id C8846E31; Thu, 20 Jan 2000 14:10:22 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA26928;
	Thu, 20 Jan 2000 19:10:19 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA17643; Thu, 20 Jan 2000 19:10:18 GMT
Resent-Date: Thu, 20 Jan 2000 19:10:18 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A67524F@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@cuckoo.hpl.hp.com
Subject: Browser support for request pipelining
Date: Thu, 20 Jan 2000 19:08:51 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"NdFnP.0.eJ4.QsrXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/673
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Does anybody have any stats on which or how many, if any, 
mainstream browsers will pipeline requests over a persistent 
connection as per RFC2616 8.1.1.

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 14:20:44 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA12626
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 14:20:44 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id A34429B5; Thu, 20 Jan 2000 14:20:38 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA28014;
	Thu, 20 Jan 2000 19:20:34 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA17744; Thu, 20 Jan 2000 19:20:33 GMT
Resent-Date: Thu, 20 Jan 2000 19:20:33 GMT
From: "Larry Masinter" <masinter@attlabs.att.com>
To: <http-wg@cuckoo.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 11:16:23 -0800
Message-ID: <NDBBKEBDLFENBJCGFOIJAEKGCBAA.masinter@attlabs.att.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <000401bf6355$d9127a20$954768c0@oyster.agranat.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Resent-Message-ID: <"RQ2yr1.0.BL4.10sXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/674
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

(Please note that the mailing list is really http-wg@hplb.hpl.hp.com;
the "cuckoo" machine apparently is willing to forward some mail,
but I'm not at all sure that it's running the same mailing list.)

Even if sticking this kind of information in HTTP were appropriate
(which I don't think it is), using "pragma" would be the wrong
way to go about it. The whole notion of "Pragma" as a HTTP header
came from programming languages which used "Pragma" as a way of
sticking in random additional compiler directives because there were
a fixed number of "reserved words" in the language. There's was no
reason to use "Pragma" as an extension mechanism in the first place,
and certainly it shouldn't be continued.


> It would be nice if there were on an HTTP header that, if sent
> to the client, would cause the client to disable javascript,
> vbscript, etc. for that document only.

If you really wanted ot go this way, how about a new MIME type, e.g.,
"message/unsafe;type=http" which would have the semantics of
message/type (message/rfc822 or message/http) with the proviso that
the body is likely to be unsafe content.

At least it would have the right extension behavior, namely
that unaware recipients might save the content to disk but would
be less likely to open it.



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 14:45:35 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA13376
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 14:45:35 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 3A8D75E0; Thu, 20 Jan 2000 11:45:29 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA28849;
	Thu, 20 Jan 2000 19:45:25 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA17923; Thu, 20 Jan 2000 19:45:24 GMT
Resent-Date: Thu, 20 Jan 2000 19:45:24 GMT
Date: Thu, 20 Jan 2000 14:43:17 -0500 (EST)
From: Dave Kristol <dmk@research.bell-labs.com>
Message-Id: <200001201943.OAA21186@aleatory.research.bell-labs.com>
To: http-wg@cuckoo.hpl.hp.com
Subject: RE: webmail vulnerabilities: a new pragma token?
Resent-Message-ID: <"CjHL-3.0.0O4.KNsXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/675
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

In my opinion, the whole idea of using HTTP to alert the client of
"unsafe content" is wrong-headed.  ALL content is unsafe unless you
trust it.  Therefore, the client *must* provide facilities to let the
user identify trusted content and to protect him/her from untrusted
content.  The content could come equally well from FTP or some other
protocol.

We have seen that bugs in design and/or implementation of scripting
languages have left users vulnerable.  These bugs would still exist
even if an HTTP header were added.  And an HTTP header would provide no
protection from scripts obtained via FTP.  The real solution is to fix
the implementations.

That may seem like a slow and painful solution, but it puts control in
the hands of the user, who has the most at stake.  And given that new
browsers would be required to detect a new HTTP header anyway, fixing
the problem (faulty browser security), and not the symptom (scripts
embedded in web-based email), is the right way to go.

Dave Kristol



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 15:26:56 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA14579
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 15:26:55 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 3029612D2; Thu, 20 Jan 2000 12:26:51 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id UAA01559;
	Thu, 20 Jan 2000 20:26:48 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id UAA18106; Thu, 20 Jan 2000 20:26:46 GMT
Resent-Date: Thu, 20 Jan 2000 20:26:46 GMT
Message-ID: <01BF635A.6848EF40.eric@infobro.com>
From: "Eric D. Williams" <eric@infobro.com>
To: "'Larry Masinter'" <masinter@attlabs.att.com>
Cc: "'http-wg@hplb.hpl.hp.com'" <http-wg@hplb.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 15:15:56 -0500
Organization: Information Brokers, Inc.
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"-kLgN3.0.tQ4.6-sXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/676
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Larry,

I think you are coming real close here.  We are definitely looking at an issue 
of 'levels of trust' that must be understood by client implementations and 
end-users.  I suppose another MIME type would address the issue and allow some 
freeform for a time as to how to handle unsafe content.  For me you have made 
it no longer as perplexing a conundrum as before:

1.  A change in the way WebMail systems are implemented (which could include 
protocol changes) or;
2.  A change in the functionality of browsers at some level (read HTML 
parsing).

and,

On Thursday, January 20, 2000 2:16 PM, Larry Masinter 
[SMTP:masinter@attlabs.att.com] wrote:
--8<--snip-->8--
>
> Even if sticking this kind of information in HTTP were appropriate
> (which I don't think it is), using "pragma" would be the wrong
> way to go about it. The whole notion of "Pragma" as a HTTP header
> came from programming languages which used "Pragma" as a way of
> sticking in random additional compiler directives because there were
> a fixed number of "reserved words" in the language. There's was no
> reason to use "Pragma" as an extension mechanism in the first place,
> and certainly it shouldn't be continued.
>

I think the intent of the HTTP/1.1 support was for backward compatibility, only 
yes?  The 1.0 header request Pragma was a way of addressing "no-cache".

> > It would be nice if there were on an HTTP header that, if sent
> > to the client, would cause the client to disable javascript,
> > vbscript, etc. for that document only.
>
> If you really wanted to go this way, how about a new MIME type, e.g.,
> "message/unsafe;type=http" which would have the semantics of
> message/type (message/rfc822 or message/http) with the proviso that
> the body is likely to be unsafe content.

Here is where the 'levels of trust' (that's the bug-a-boo) would be important 
(to me).  It would be good not to limit the description here to merely 
"unsafe", per se I think I see your point clearly.

> At least it would have the right extension behavior, namely
> that unaware recipients might save the content to disk but would
> be less likely to open it.

I don't know about that; if its not safe to a later 'aware' recipient is 
probable and good, but older clients would not be able to discriminate.  That 
could set up an interesting situation where browsers are updated or 
trust-levels are upgraded; Excellent though.

Eric

Eric Williams, Pres.
Information Brokers, Inc.    Phone: +1 202.889.4395
http://www.infobro.com/        Fax: +1 202.889.4396
mailto:eric@infobro.com
           For More Info: info@infobro.com




From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 16:15:44 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15578
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 16:15:43 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 44A1D11F5A; Thu, 20 Jan 2000 16:15:35 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id VAA03586;
	Thu, 20 Jan 2000 21:15:23 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id VAA18286; Thu, 20 Jan 2000 21:15:19 GMT
Resent-Date: Thu, 20 Jan 2000 21:15:19 GMT
Message-ID: <BFF90FB6CF66D111BF4F0000F840DB850BCBC013@lassie.dns.microsoft.com>
From: Josh Cohen <joshco@Exchange.Microsoft.com>
To: "'Eric D. Williams'" <eric@infobro.com>,
        "'Larry Masinter'" <masinter@attlabs.att.com>
Cc: "'http-wg@hplb.hpl.hp.com'" <http-wg@hplb.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 12:54:29 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
Resent-Message-ID: <"JSBIh1.0.hT4.dhtXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/677
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

> -----Original Message-----
> From: Eric D. Williams [mailto:eric@infobro.com]
> Sent: Thursday, January 20, 2000 12:16 PM
> To: 'Larry Masinter'
> Cc: 'http-wg@hplb.hpl.hp.com'
> Subject: RE: webmail vulnerabilities: a new pragma token?
> > Larry said:
> > 
> > At least it would have the right extension behavior, namely
> > that unaware recipients might save the content to disk but would
> > be less likely to open it.
> 
> Eric said:
> 
> I don't know about that; if its not safe to a later 'aware' 
> recipient is 
> probable and good, but older clients would not be able to 
> discriminate.  That 
> could set up an interesting situation where browsers are updated or 
> trust-levels are upgraded; Excellent though.
> 
Maybe Im misreading your words, but I think you missed
part of larry's point.  By using a new MIME type,
older browsers would implicitly discriminate.
Today, a browser that gets an unknown mime time, which this
new one would be, it will prompt the user to save it to disk
instead of showing it.

This would effectively prevent it from being displayed
or executed without user consent.

> Eric
> 
> Eric Williams, Pres.
> Information Brokers, Inc.    Phone: +1 202.889.4395
> http://www.infobro.com/        Fax: +1 202.889.4396
> mailto:eric@infobro.com
>            For More Info: info@infobro.com
> 



From http-wg-request@cuckoo.hpl.hp.com  Thu Jan 20 20:48:39 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA18054
	for <http-archive@odin.ietf.org>; Thu, 20 Jan 2000 20:48:39 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id C7613DA8; Thu, 20 Jan 2000 20:48:33 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id BAA18075;
	Fri, 21 Jan 2000 01:48:30 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA18694; Fri, 21 Jan 2000 01:48:28 GMT
Resent-Date: Fri, 21 Jan 2000 01:48:28 GMT
Message-ID: <01BF6387.877352C0.eric@infobro.com>
From: "Eric D. Williams" <eric@infobro.com>
To: "'Josh Cohen'" <joshco@Exchange.Microsoft.com>
Cc: "'http-wg@hplb.hpl.hp.com'" <http-wg@hplb.hpl.hp.com>
Subject: RE: webmail vulnerabilities: a new pragma token?
Date: Thu, 20 Jan 2000 20:45:25 -0500
Organization: Information Brokers, Inc.
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"IkdkV2.0.0a4.ihxXu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/678
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

On Thursday, January 20, 2000 3:54 PM, Josh Cohen 
[SMTP:joshco@Exchange.Microsoft.com] wrote:
> > -----Original Message-----
> > From: Eric D. Williams [mailto:eric@infobro.com]
> > Sent: Thursday, January 20, 2000 12:16 PM
> > To: 'Larry Masinter'
> > Cc: 'http-wg@hplb.hpl.hp.com'
> > Subject: RE: webmail vulnerabilities: a new pragma token?
> > > Larry said:
> > >
> > > At least it would have the right extension behavior, namely
> > > that unaware recipients might save the content to disk but would
> > > be less likely to open it.
> >
> > Eric said:
> >
> > I don't know about that; if its not safe to a later 'aware'
> > recipient is probable and good, but older clients would not be able to
> > discriminate.  That could set up an interesting situation where browsers 
are updated or
> > trust-levels are upgraded; Excellent though.
> >
> Maybe Im misreading your words, but I think you missed
> part of larry's point.  By using a new MIME type,
> older browsers would implicitly discriminate.
> Today, a browser that gets an unknown mime time, which this
> new one would be, it will prompt the user to save it to disk
> instead of showing it.

Yes, that is true, my concern was/is with just that point.  After the item is 
saved many users attempt to open that 'troublesome' downloaded page.  The only 
thing I am saying is the content after saving to disk can still contain 
'malicious' scripting code and the browser could not then successfully 
discriminate unless the file name was some how also unlinked from the types 
'compatible' with the browser (read viewer) and parsed without scripting.

I say yes, Josh, you are correct that part was not clear.  Thanks.

> This would effectively prevent it from being displayed
> or executed without user consent.
>

Yes, user consent is a primary factor here (always), as well as _expected 
behavior_.  One should consider what a user would do concerning unknown types 
that are nominally displayed in their client, it could get confusing to say the 
least. A user may just map an association back to the browser at worst 
(education of the user is also a key issue) perhaps as you mentioned this is 
not an effective track (http-wg), but I am still not sure.

Eric


> >
> > Eric Williams, Pres.
> > Information Brokers, Inc.    Phone: +1 202.889.4395
> > http://www.infobro.com/        Fax: +1 202.889.4396
> > mailto:eric@infobro.com
> >            For More Info: info@infobro.com
> > 



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 03:40:37 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA05304
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 03:40:37 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 4E715D740; Fri, 21 Jan 2000 03:40:32 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id IAA15304;
	Fri, 21 Jan 2000 08:40:28 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id IAA27410; Fri, 21 Jan 2000 08:40:24 GMT
Resent-Date: Fri, 21 Jan 2000 08:40:24 GMT
Sender: patrik@hplb.hpl.hp.com
Message-ID: <38881C7E.AEF7FEC0@bluetail.com>
Date: Fri, 21 Jan 2000 09:44:46 +0100
From: Patrik Winroth <patrik@bluetail.com>
Organization: Bluetail AB
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Miles Sabin <msabin@cromwellmedia.co.uk>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: Browser support for request pipelining
References: <AA4C152BA2F9D211B9DD0008C79F760A67524F@odin.cromwellmedia.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"nBtWh2.0.Fi6.tj1Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/679
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

I have performed some limited tests while developing our
Web Robustifier.
I found that Netscape Navigator 4.61/Linux doesn't support
pipelining as per RFC2616. It does however pipeline if
you browse a Netscape Enterprise server. I assume it is using
the explicit Keep-Alive (RFC2616:19.6.2) method.
Internet Explorer v4.72.3110 does support RFC2616 pipelining
though, I have tested browsing Apache/1.3.9/Linux.
Trying to browse the same Netscape Enterprise server (with IE)
that supported 'Keep-Alive' pipelining when browsed with the
Netscape Navigator did not result in a pipelined connection
though.
  
These are just my limited findings, so far. It would be nice
if anyone else had more extensive tests to share.

Cheers,

/Patrik.
 
Miles Sabin wrote:
> 
> Does anybody have any stats on which or how many, if any,
> mainstream browsers will pipeline requests over a persistent
> connection as per RFC2616 8.1.1.
> 
> Cheers,
> 
> Miles
> 
> --
> Miles Sabin                       Cromwell Media
> Internet Systems Architect        5/6 Glenthorne Mews
> +44 (0)20 8817 4030               London, W6 0LJ, England
> msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 06:59:55 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA06940
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 06:59:55 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 96C261501D; Fri, 21 Jan 2000 06:59:50 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id LAA26577;
	Fri, 21 Jan 2000 11:59:47 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id LAA27725; Fri, 21 Jan 2000 11:59:43 GMT
Resent-Date: Fri, 21 Jan 2000 11:59:43 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A675251@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@cuckoo.hpl.hp.com
Subject: RE: Browser support for request pipelining
Date: Fri, 21 Jan 2000 11:58:17 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"vaBPf3.0.An6.le4Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/680
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Patrik Winroth,
> <snip/>

Thanks, but as far as I can see you're talking about what
RFC 2616 call persistent connections.

Request pipelining presupposes a persistent connection, but
adds the following: subsequent requests are be sent before the
corresponding responses are received, ie. instead of,

  Request1
           Response1
  Request2
           Response2
  Request3
           Response3

we could have,

  Request1
  Request2
  Request3
           Response1
           Response2
           Response3

(although, clearly, if there are many requests we might expect 
the request stream to partially overlap the response stream).

So, does anyone have any info on browser support for pipelining?

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/


 



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 09:01:09 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA10046
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 09:01:08 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id F2A9126D; Fri, 21 Jan 2000 06:01:04 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA03029;
	Fri, 21 Jan 2000 14:01:01 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA28000; Fri, 21 Jan 2000 14:01:00 GMT
Resent-Date: Fri, 21 Jan 2000 14:01:00 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Miles Sabin" <msabin@cromwellmedia.co.uk>, <http-wg@cuckoo.hpl.hp.com>
Subject: RE: Browser support for request pipelining
Date: Fri, 21 Jan 2000 08:57:09 -0500
Message-ID: <000b01bf6417$68e7a460$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <AA4C152BA2F9D211B9DD0008C79F760A675251@odin.cromwellmedia.co.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Resent-Message-ID: <"bB2213.0.Tr6.SQ6Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/681
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> So, does anyone have any info on browser support for pipelining?

According to "Persistent Connection Behavior of Popular Browsers" 
[1]:

  "Both Navigator and Explorer support persistent connections 
   to Web servers and proxies. However, neither supports request
   pipelining on a persistent connection."

I found that by rummaging around in the Web Characterization 
Activity area of the W3C web site [2].

[1] http://www.cs.wisc.edu/~cao/papers/persistent-connection.html

    Zhe Wang and Pei Cao
    Department of Computer Sciences
    University of Wisconsin, Madison
    1210 West Dayton Street
    Madison, WI 53706 USA
    {zhe,cao}@cs.wisc.edu

[2] http://www.w3.org/WCA/

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/




From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 09:05:45 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA10129
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 09:05:44 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 6B7B4DCF; Fri, 21 Jan 2000 09:05:39 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA03279;
	Fri, 21 Jan 2000 14:05:36 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA28108; Fri, 21 Jan 2000 14:05:34 GMT
Resent-Date: Fri, 21 Jan 2000 14:05:34 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A675253@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@cuckoo.hpl.hp.com
Subject: RE: Browser support for request pipelining
Date: Fri, 21 Jan 2000 14:04:06 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"rl9os1.0.7t6.kU6Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/682
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Scott Lawrence wrote,
> I found that by rummaging around in the Web Characterization 
> Activity area of the W3C web site [2].
>
> [1] http://www.cs.wisc.edu/~cao/papers/persistent-connection.html

I've seen that, but it's dated Dec 9 1998, so things might have
changed since then.

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 09:44:35 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA10996
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 09:44:35 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id CB9003A6; Fri, 21 Jan 2000 06:44:20 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id OAA05440;
	Fri, 21 Jan 2000 14:44:17 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA28301; Fri, 21 Jan 2000 14:44:15 GMT
Resent-Date: Fri, 21 Jan 2000 14:44:15 GMT
Message-Id: <3.0.6.32.20000121154336.00997610@elektra.opera.no>
X-Sender: yngve@elektra.opera.no
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Fri, 21 Jan 2000 15:43:36 +0100
To: http-wg@cuckoo.hpl.hp.com
From: "Yngve N. Pettersen" <yngve@operasoftware.com>
Subject: Re: Browser support for request pipelining
In-Reply-To: <AA4C152BA2F9D211B9DD0008C79F760A67524F@odin.cromwellmedia.
 co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"aNy6O1.0.Aw6._27Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/683
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

At 19:08 20.01.00 -0000, Miles Sabin wrote:
>Does anybody have any stats on which or how many, if any, 
>mainstream browsers will pipeline requests over a persistent 
>connection as per RFC2616 8.1.1.

Opera v4.0 supports HTTP 1.1 persistent connections and pipelining of
requests.

Opera v4 is presently being tested by our beta test group, but we expect a
public beta to be released soon.


Sincerely,
Yngve N. Pettersen

********************************************************************
Web-sites:       http://www.opera.no
                 http://www.opera.com
--------------------------------------------------------------------
Yngve Nysaeter Pettersen             Phone:  +47 23 23 48 88
Opera Software AS                    Fax:    +47 23 23 48 70
Waldemar Thranes gt. 86 B, 
0175 OSLO, Norway                    Email:  yngve@opera.com
********************************************************************
*                     Opera v3.61 out now.                         *
********************************************************************



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 10:37:17 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA11950
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 10:37:17 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 4704DAD0; Fri, 21 Jan 2000 10:37:13 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA08813;
	Fri, 21 Jan 2000 15:37:10 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA28480; Fri, 21 Jan 2000 15:37:08 GMT
Resent-Date: Fri, 21 Jan 2000 15:37:08 GMT
Message-Id: <s88836d9.027@mailbox.econ.ag.gov>
X-Mailer: Novell GroupWise 5.2
Date: Fri, 21 Jan 2000 10:35:53 -0500
From: "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>
To: http-wg@cuckoo.hpl.hp.com
Subject: On pipelining
Resent-Message-ID: <"w4BFW3.0.vy6.aq7Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/684
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

I'm redoing the persistent-connection/pipelining support in my web
server, and
the question came up of how to resolve pipelined requests. By resolve,
I mean
the act of the server using the request line (and headers, etc) to
determine which file to read, which script to run, etc ... the end
result being the creation of  a response to  send to the client.

Basically,  in the following scenario (from mike sabin)..

>  Request1
>  Request2
 > Request3
>         Response1
>           Response2
 >         Response3
>(although, clearly, if there are many requests we might expect 
>the request stream to partially overlap the response stream).

would "resolution of request2" await the completion of transmission
of response1? Or can these  3 requests be resolved simultaneously
(say, using
seperate threads); with first response1 sent, then 2, then 3.
That is, could a multi-threaded server create response2,  wait for
succesful transmission of  response1 (over the persistent connection),
and then transmit response2 (over this
same persistent connection)?

This is a problem if the resolution of request2 can depend on the
resolution of
request 1 (for example, when request1 causes some client-specific
state variable, that is  used in request2, to change)

The definition of idempotency (rfc2616  9.1.2)  suggests NO -- since
identical sequences should return the same result, which would
preclude
situations where the oddities of server load may dictate the  speed
with which
simultaneously resolved requests are processed.

Any strong opinions?


Daniel Hellerstein
danielh@crosslink.net
http://www.srehttp.org



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 10:53:53 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA12206
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 10:53:53 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 4DEEDC47; Fri, 21 Jan 2000 07:53:48 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA10239;
	Fri, 21 Jan 2000 15:53:43 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA28725; Fri, 21 Jan 2000 15:53:42 GMT
Resent-Date: Fri, 21 Jan 2000 15:53:42 GMT
X-Lotus-FromDomain: NEON
From: "Fred Bohle" <fbohle@neonsys.com>
To: "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>
Cc: http-wg@cuckoo.hpl.hp.com
Message-ID: <8625686D.00571D35.00@internet1.neonsys.com>
Date: Fri, 21 Jan 2000 09:48:42 -0600
Subject: Re: On pipelining
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Resent-Message-ID: <"hVNEC2.0.o07.648Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/685
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com





Fred Bohle@NEON
01/21/2000 09:48 AM

Daniel,

     I would suggest that the multi-threading be done at the connection
level,
not at the request level.  That way you can be sure the requests are
handled in their
proper order.  Multi-threading at the request level would require some
other mechanism
to be sure that they are executed in the same order, defeating the purpose
of multi-
threading.  At a minimum, you must return the responses in the same order
that you
received them.  Again multi-threading the requests would require a
mechanism to
ensure this order, minimizing the benefits of such multi-threading.

     Consider three requests that:
1. display a database item.
2. update that database item.
3. display the same database item.

The intent here is to show the before and after views of the database item.
In a
multi-threaded request server, if the requests execute in 1,3,2 order, or
2,1,3 order,
the before/after sense of the display is lost.  Note that this is true even
if you force
the order of responses to be reshuffled as 1,2,3.

     So, I don't see how you can make it work if you multi-thread the
requests.

Fred Bohle






"Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov> on 01/21/2000 09:35:53
AM

To:   http-wg@cuckoo.hpl.hp.com
cc:    (bcc: Fred Bohle/Dev/Neon)

Subject:  On pipelining




I'm redoing the persistent-connection/pipelining support in my web
server, and
the question came up of how to resolve pipelined requests. By resolve,
I mean
the act of the server using the request line (and headers, etc) to
determine which file to read, which script to run, etc ... the end
result being the creation of  a response to  send to the client.

Basically,  in the following scenario (from mike sabin)..

>  Request1
>  Request2
 > Request3
>         Response1
>           Response2
 >         Response3
>(although, clearly, if there are many requests we might expect
>the request stream to partially overlap the response stream).

would "resolution of request2" await the completion of transmission
of response1? Or can these  3 requests be resolved simultaneously
(say, using
seperate threads); with first response1 sent, then 2, then 3.
That is, could a multi-threaded server create response2,  wait for
succesful transmission of  response1 (over the persistent connection),
and then transmit response2 (over this
same persistent connection)?

This is a problem if the resolution of request2 can depend on the
resolution of
request 1 (for example, when request1 causes some client-specific
state variable, that is  used in request2, to change)

The definition of idempotency (rfc2616  9.1.2)  suggests NO -- since
identical sequences should return the same result, which would
preclude
situations where the oddities of server load may dictate the  speed
with which
simultaneously resolved requests are processed.

Any strong opinions?


Daniel Hellerstein
danielh@crosslink.net
http://www.srehttp.org







From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 11:02:13 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12452
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 11:02:12 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 310A58F73; Fri, 21 Jan 2000 11:02:02 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA10596;
	Fri, 21 Jan 2000 16:01:57 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA28822; Fri, 21 Jan 2000 16:01:56 GMT
Resent-Date: Fri, 21 Jan 2000 16:01:56 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A675258@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: Daniel Hellerstein <DANIELH@mailbox.econ.ag.gov>,
        http-wg@cuckoo.hpl.hp.com
Subject: RE: On pipelining
Date: Fri, 21 Jan 2000 16:00:26 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"yQJOM.0.J27.qB8Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/686
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Daniel Hellerstein wrote,
> Basically,  in the following scenario (from mike sabin)..
>
> Request1
> Request2
> Request3
>         Response1
>         Response2
>         Response3
>
> would "resolution of request2" await the completion of 
> transmission of response1? Or can these  3 requests be 
> resolved simultaneously (say, using seperate threads); with 
> first response1 sent, then 2, then  3. That is, could a 
> multi-threaded server create response2,  wait for succesful 
> transmission of  response1 (over the persistent connection),
> and then transmit response2 (over this same persistent 
> connection)?
>
> This is a problem if the resolution of request2 can depend on 
> the resolution of request 1 (for example, when request1 
> causes some client-specific state variable, that is  used in 
> request2, to change)

As I read it RFC 2616 is silent on this. I think that's as it
should be, because server-side client-specific state isn't
any part of the HTTP protocol. Again as I read it, a server
is allowed to process the requests it receives on a persistent 
connection in any order it chooses, including concurrently, so 
long as responses are returned in the same order as the 
corresponding requests were sent.

I don't think that strictly speaking the constaints in 9.1.2
apply, because they're supposed to be enforced by the user-
agent before request are sent rather than when they arrive at 
the server.

Cheers,


Miles (not Mike ;-)

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 11:03:35 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12478
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 11:03:35 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id C5F0E477; Fri, 21 Jan 2000 11:03:31 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA10713;
	Fri, 21 Jan 2000 16:03:27 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA28882; Fri, 21 Jan 2000 16:03:26 GMT
Resent-Date: Fri, 21 Jan 2000 16:03:26 GMT
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>,
        <http-wg@cuckoo.hpl.hp.com>
Subject: RE: On pipelining
Date: Fri, 21 Jan 2000 10:59:41 -0500
Message-ID: <001b01bf6428$86c6ace0$954768c0@oyster.agranat.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <s88836d9.027@mailbox.econ.ag.gov>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Resent-Message-ID: <"af-Si.0.F37.ED8Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/687
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit


> Basically,  in the following scenario (from mike sabin)..
>
> >  Request1
> >  Request2
>  > Request3
> >         Response1
> >           Response2
>  >         Response3
> >(although, clearly, if there are many requests we might expect
> >the request stream to partially overlap the response stream).
>
> would "resolution of request2" await the completion of
> transmission
> of response1? Or can these  3 requests be resolved simultaneously
> (say, using
> seperate threads); with first response1 sent, then 2, then 3.
> That is, could a multi-threaded server create response2,  wait for
> succesful transmission of  response1 (over the persistent
> connection),
> and then transmit response2 (over this
> same persistent connection)?

If request1 is a GET, HEAD, TRACE, or OPTIONS, then I would say that
the server could legitimately assume that it had no side effects.
One could be more conservative and assume that any CGI (or CGI-like)
resource had side effects.  Having assumed that there were no side
effects it might be reasonable to overlap the processing, if you
have the buffer space to spare.

--
Scott Lawrence      Director of R & D        <lawrence@agranat.com>
Agranat Systems   Embedded Web Technology   http://www.agranat.com/




From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 11:13:49 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12933
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 11:13:48 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 58150EE8; Fri, 21 Jan 2000 11:13:45 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA11182;
	Fri, 21 Jan 2000 16:13:41 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA29146; Fri, 21 Jan 2000 16:13:40 GMT
Resent-Date: Fri, 21 Jan 2000 16:13:40 GMT
From: "Larry Masinter" <LM@att.com>
To: "Fred Bohle" <fbohle@neonsys.com>,
        "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>
Cc: "HTTP Working Group" <http-wg@hplb.hpl.hp.com>
Subject: RE: On pipelining
Date: Fri, 21 Jan 2000 08:09:38 -0800
Message-ID: <NDBBKEBDLFENBJCGFOIJGEMFCBAA.LM@att.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
In-Reply-To: <8625686D.00571D35.00@internet1.neonsys.com>
Resent-Message-ID: <"RWYDE3.0.J77.qM8Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/688
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Multi-threading can be done for requests that come in over the
same connection; this seems valuable, especially if each of the
requests require computation or communication with other service
elements in the network.

For example, you could have a server with a request thread and
a response thread, where requests would spawn additional threads
to handle them if necessary (e.g., if the request was for a
CGI or non-local resource) and then queue the results for the
response thread.

#    I would suggest that the multi-threading be done at the connection
level,
# not at the request level.  That way you can be sure the requests are
handled in their
# proper order.  Multi-threading at the request level would require some
other mechanism
# to be sure that they are executed in the same order, defeating the purpose
of multi-
# threading.  At a minimum, you must return the responses in the same order
that you
# received them.  Again multi-threading the requests would require a
mechanism to
# ensure this order, minimizing the benefits of such multi-threading.

 #     Consider three requests that:
# 1. display a database item.
# 2. update that database item.
# 3. display the same database item.

# The intent here is to show the before and after views of the database
item. In a
# multi-threaded request server, if the requests execute in 1,3,2 order, or
2,1,3 order,
# the before/after sense of the display is lost.  Note that this is true
even if you force
# the order of responses to be reshuffled as 1,2,3.

#      So, I don't see how you can make it work if you multi-thread the
requests.

but

   Clients SHOULD NOT pipeline requests using non-idempotent methods or
   non-idempotent sequences of methods (see section 9.1.2). Otherwise, a
   premature termination of the transport connection could lead to
   indeterminate results. A client wishing to send a non-idempotent
   request SHOULD wait to send that request until it has received the
   response status for the previous request.

It is not the server's responsibility to insure consistency, and a server
implementation that multithreads the responses would seem to be valid.



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 11:48:59 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA13564
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 11:48:58 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id D2DFBA8; Fri, 21 Jan 2000 08:48:54 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id QAA13845;
	Fri, 21 Jan 2000 16:48:49 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA29307; Fri, 21 Jan 2000 16:48:48 GMT
Resent-Date: Fri, 21 Jan 2000 16:48:48 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A67525B@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@hplb.hpl.hp.com
Subject: Idempotent sequences of methods
Date: Fri, 21 Jan 2000 16:47:15 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"LCV5z3.0.u97.lt8Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/689
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

The discussion in the 'On piplining' thread reminded me of
something I found puzzling in 9.1.

I have a strong suspicion that although 9.1.2 suggests that
an idempotent sequence of methods might contain non-safe
idempotent methods (PUT, DELETE), this can't actually be the
case.

Here's the argument,

* A sequence which contains a PUT/DELETE <uri1> after a 
  GET/HEAD/TRACE/OPTIONS <uri2> is idempotent only if
  uri1 is independent of uri2.

* There is nothing in the definition of an HTTP URI which
  allows us to infer that two URIs are independent.

Suppose, for the sake of argument, that a URI path maps
in a natural way onto part of the servers filesystem tree.
In this case, it's clear that we can't infer that,

  http://www.foo.com/a/b/c

is independent of,

  http://www.foo.com/a

on a purely textual basis because if we were to DELETE the 
latter we would have also deleted the former.

Again, with the filesystem mapping assumption, we can't even
assume that,

  http://www.foo.com/a/b/c

is independent of,

  http://www.foo.com/d/e/f

because they might both reference the same underlying file
in the servers filesystem (eg. via a symlink, or via an
HTTP server path mapping).

So, we can't use textual difference of URIs to infer 
independence. Given that we haven't anything else to go on at 
the user-agent end I conclude that an idempotent sequence of
methods can't contain any non-safe methods.

QED ;-)

Comments?

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/






From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 12:21:14 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14255
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 12:21:12 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 8926BD79; Fri, 21 Jan 2000 09:21:06 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA15646;
	Fri, 21 Jan 2000 17:21:03 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA29461; Fri, 21 Jan 2000 17:21:02 GMT
Resent-Date: Fri, 21 Jan 2000 17:21:02 GMT
Message-Id: <s8884f2e.007@mailbox.econ.ag.gov>
X-Mailer: Novell GroupWise 5.2
Date: Fri, 21 Jan 2000 12:19:33 -0500
From: "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>
To: lawrence@agranat.com
Cc: http-wg@hplb.hpl.hp.com
Subject: RE: On pipelining -Reply
Resent-Message-ID: <"dS-yD.0.IC7.zL9Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/690
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

>If request1 is a GET, HEAD, TRACE, or OPTIONS, then I would say that
>the server could legitimately assume that it had no side effects.
>One could be more conservative and assume that any CGI (or CGI-like)
>resource had side effects.  Having assumed that there were no side
>effects it might be reasonable to overlap the processing, if you
>have the buffer space to spare.

That's a reasonable notion.  However, in practice it might be a bit
complicated (i.e.; server side includes in GETs of html documents
might
cause changes in  "state" variables.).

It seems that the tradeoff is between speed and
being-nice-to-less-then-careful-clients.
For now, I'll stick with sequential resolution, and then 
consider how to detect circumstances where 
sequentiality can be loosened.



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 12:27:08 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14344
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 12:27:04 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 2C65D396; Fri, 21 Jan 2000 09:26:52 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA15858;
	Fri, 21 Jan 2000 17:26:48 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA29522; Fri, 21 Jan 2000 17:26:47 GMT
Resent-Date: Fri, 21 Jan 2000 17:26:47 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A675260@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@hplb.hpl.hp.com
Subject: RE: On pipelining -Reply
Date: Fri, 21 Jan 2000 17:25:15 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"GrUVM1.0.FD7.NR9Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/691
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Daniel Hellerstein wrote,
> server side includes in GETs of html documents might cause 
> changes in  "state" variables.).

That's not allowed. GET is idempotent which implies it must
be stateless.

You should be using POST for that sort of thing.

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 12:36:00 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14483
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 12:35:55 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id AA64DAF90; Fri, 21 Jan 2000 12:34:45 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA16165;
	Fri, 21 Jan 2000 17:34:42 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA29627; Fri, 21 Jan 2000 17:34:40 GMT
Resent-Date: Fri, 21 Jan 2000 17:34:40 GMT
Message-ID: <38889741.C282E66F@quik.com>
Date: Fri, 21 Jan 2000 11:28:33 -0600
From: "Christopher K. St. John" <cstjohn@quik.com>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
Cc: http-wg@hplb.hpl.hp.com
Subject: Re: On pipelining -Reply
References: <AA4C152BA2F9D211B9DD0008C79F760A675260@odin.cromwellmedia.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"tJeDk3.0.qE7.mY9Yu"@cuckoo>
To: http-wg@cuckoo.hpl.hp.com
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/692
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Miles Sabin wrote:
> 
> Daniel Hellerstein wrote,
> > server side includes in GETs of html documents might cause
> > changes in  "state" variables.).
> 
> That's not allowed. GET is idempotent which implies it must
> be stateless.
> 
> You should be using POST for that sort of thing.
> 

 SHOULD (in the rfc2119 sense) is unfortunately the operative
word here. GET's idempotence is a SHOULD, not a MUST. Reference
rfc2616, section 9.1.1. 


-cks



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 12:41:42 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14567
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 12:41:40 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 24C95D0A6; Fri, 21 Jan 2000 12:41:32 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA16427;
	Fri, 21 Jan 2000 17:41:28 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA29795; Fri, 21 Jan 2000 17:41:27 GMT
Resent-Date: Fri, 21 Jan 2000 17:41:27 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A675263@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@cuckoo.hpl.hp.com
Subject: RE: On pipelining -Reply
Date: Fri, 21 Jan 2000 17:39:55 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"c_mRT1.0.WH7.7f9Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/693
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Christopher K. St. John wrote,
> SHOULD (in the rfc2119 sense) is unfortunately the operative
> word here. GET's idempotence is a SHOULD, not a MUST. 
> Reference rfc2616, section 9.1.1. 

Not at all. I don't see anything there, or anywhere else, which
states that GETs idempotence is optional.

All it says is that GET "SHOULD NOT have any significance other 
than retreival". That's a *very* long way from permitting side-
effects. It allows but discourages, for example, a server
making a rude noise when it handles a GET ... but that's not 
state.

Cheers,


Miles

-- 
Miles Sabin                       Cromwell Media
Internet Systems Architect        5/6 Glenthorne Mews
+44 (0)20 8817 4030               London, W6 0LJ, England
msabin@cromwellmedia.com          http://www.cromwellmedia.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 12:49:24 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14659
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 12:49:23 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 5BDE27FB; Fri, 21 Jan 2000 12:49:17 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA17527;
	Fri, 21 Jan 2000 17:49:14 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA29933; Fri, 21 Jan 2000 17:49:12 GMT
Resent-Date: Fri, 21 Jan 2000 17:49:12 GMT
Message-Id: <s88855cf.045@mailbox.econ.ag.gov>
X-Mailer: Novell GroupWise 5.2
Date: Fri, 21 Jan 2000 12:48:11 -0500
From: "Daniel Hellerstein" <DANIELH@mailbox.econ.ag.gov>
To: http-wg@cuckoo.hpl.hp.com
Subject: Re: On pipelining -Reply -Reply
Resent-Message-ID: <"qoOMI1.0.cJ7.Om9Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/694
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

>> server side includes in GETs of html documents might cause 
> changes in  "state" variables.).
>>That's not allowed. GET is idempotent which implies it must
>be stateless.
>You should be using POST for that sort of thing.

Interesting point.

But does that mean that  proper http/1.1 server-software should
enforce this? That server software should somehow not allow
GET to invoke scripts, etc. that might change "state" variables. 
That's a tough requirement (from a server author's point of view).

Also, what, if a response has an immediate exipiration (say, it's
generated by
a script that changes state variables, or it's generated from an SHTML
resource that
contains hit counts, time of day, or other dynamic elements).

My reading of idempotency suggests that in such cases the
"statelessness"
of GET is no longer a constraint. 



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 13:02:36 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA14825
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 13:02:34 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id 1C934E56; Fri, 21 Jan 2000 10:02:26 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id SAA17985;
	Fri, 21 Jan 2000 18:02:22 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id SAA00204; Fri, 21 Jan 2000 18:02:21 GMT
Resent-Date: Fri, 21 Jan 2000 18:02:21 GMT
X-Authentication-Warning: shell1. ncal.verio.com: dwm owned process doing -bs
Date: Fri, 21 Jan 2000 09:58:45 -0800 (PST)
From: "David W. Morris" <dwm@XPASC.COM>
To: Daniel Hellerstein <DANIELH@mailbox.econ.ag.gov>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: On pipelining -Reply -Reply
In-Reply-To: <s88855cf.045@mailbox.econ.ag.gov>
Message-ID: <Pine.GSO.4.05.10001210954280.21860-100000@shell1>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"XmAkj3.0.93.jy9Yu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/695
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com



On Fri, 21 Jan 2000, Daniel Hellerstein wrote:

> >> server side includes in GETs of html documents might cause 
> > changes in  "state" variables.).
> >>That's not allowed. GET is idempotent which implies it must
> >be stateless.
> >You should be using POST for that sort of thing.
> 
> Interesting point.
> 
> But does that mean that  proper http/1.1 server-software should
> enforce this? That server software should somehow not allow
> GET to invoke scripts, etc. that might change "state" variables. 
> That's a tough requirement (from a server author's point of view).
> 
> Also, what, if a response has an immediate exipiration (say, it's
> generated by
> a script that changes state variables, or it's generated from an SHTML
> resource that
> contains hit counts, time of day, or other dynamic elements).
> 
> My reading of idempotency suggests that in such cases the
> "statelessness"
> of GET is no longer a constraint. 

There is no reason for the 'server' which happens to be extended by a CGI
or other bit of active code to have to enforce compliance ... that is the
responsiblity of the author of the application. And it is the application
which will break or otherwise offend the user.  The protocol specifies the
correct and safe way to produce well behaved applications.  During the
years of producing the HTTP RFCs, it was always understood that a content
provider could take the risk of changing server side state ... and a
common example is a hit counter on a page. But would you want to insist
that pipelining be disabled because a non-semantic state change occured
with a different result?

I wouldn't.

Dave Morris



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 13:28:24 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA15212
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 13:28:17 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id E3D76E66; Fri, 21 Jan 2000 10:28:09 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id SAA19535;
	Fri, 21 Jan 2000 18:28:06 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id SAA00347; Fri, 21 Jan 2000 18:28:05 GMT
Resent-Date: Fri, 21 Jan 2000 18:28:05 GMT
Message-ID: <3888A3CB.BA86BFFA@quik.com>
Date: Fri, 21 Jan 2000 12:22:03 -0600
From: "Christopher K. St. John" <cstjohn@quik.com>
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: Re: On pipelining -Reply
References: <AA4C152BA2F9D211B9DD0008C79F760A675263@odin.cromwellmedia.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"zJhHw3.0.O5.rKAYu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/696
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Miles Sabin wrote:
> 
> Christopher K. St. John wrote,
>
> > SHOULD (in the rfc2119 sense) is unfortunately the operative
> > word here. GET's idempotence is a SHOULD, not a MUST.
> > Reference rfc2616, section 9.1.1.
> 
> Not at all. I don't see anything there, or anywhere else, which
> states that GETs idempotence is optional.
>

 From section 9.1.1:

     "Naturally, it is not possible to ensure that the server does not
   generate side-effects as a result of performing a GET request; in
   fact, some dynamic resources consider that a feature. The important
   distinction here is that the user did not request the side-effects,
   so therefore cannot be held accountable for them."

 However, from section 9.1.2:

    "Methods can also have the property of "idempotence" in that (aside
   from error or expiration issues) the side-effects of N > 0 identical
   requests is the same as for a single request. The methods GET, HEAD,
   PUT and DELETE share this property."

 Which, as I read it, says you are free to have GET requests change
server side state as long as the state changes are idempotent. (Although
9.1.1's language can easily be read as weakening that considerably)

 
> All it says is that GET "SHOULD NOT have any significance other
> than retreival". That's a *very* long way from permitting side-
> effects. It allows but discourages, for example, a server
> making a rude noise when it handles a GET ... but that's not
> state.
>

 So, a compliant implementation may have idempotent side effects,
but an unconditionally compliant implementation may not.

 Unfortunately, my experience with servlets and other application server
technologies leads me to believe that the "idempotent" requirement for
side effects is widely ignored (and not just for page counters) Not that
that's an excuse, just a data point :-)

 Thanks for the clarification,


-cks



From http-wg-request@cuckoo.hpl.hp.com  Fri Jan 21 14:15:59 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA15873
	for <http-archive@odin.ietf.org>; Fri, 21 Jan 2000 14:15:59 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id D95A6425; Fri, 21 Jan 2000 14:15:54 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA21760;
	Fri, 21 Jan 2000 19:15:51 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA00612; Fri, 21 Jan 2000 19:15:50 GMT
Resent-Date: Fri, 21 Jan 2000 19:15:50 GMT
From: "Larry Masinter" <LM@att.com>
To: "HTTP Working Group" <http-wg@hplb.hpl.hp.com>
Subject: RE: On pipelining -Reply -Reply
Date: Fri, 21 Jan 2000 11:11:51 -0800
Message-ID: <NDBBKEBDLFENBJCGFOIJMEMNCBAA.LM@att.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <Pine.GSO.4.05.10001210954280.21860-100000@shell1>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
Resent-Message-ID: <"HVzlv2.0.X9.b1BYu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/697
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

(mailing list name 'cuckoo' -> 'hplb' again).

There's no point in restricting side effects in general; the
idea was to restrict side effects that somehow mattered! And
whether or not it matters depends on the application. For the
traditional web browsing application, clicking on a link twice,
refetching a web page, or even prospectively fetching a page
that you think someone *might* want, using GET to mirror a site,
etc ... those shouldn't have significant side effects.

For interactions between subsequent requests and pipelining,
since it is the client that decides whether to pipeline,
it is also the client that has the responsibility for
deciding whether pipelining matters.

For web browsing, there's no real problem: the only
state change where consistency matters is the interaction
between the POST from a form being filled and the subsequent
GETs that are triggered by embedded URLs in the content
that is returned from the post.

For other applications that are being built on top of
HTTP, there must be some agreement between client and
back-end application as to what the dependencies and
transaction semantics must be; the HTTP server needn't
enforce these, since the clients have complete control
over whether they ATTEMPT pipelining.

I suppose you might want to note that intermediaries
shouldn't introduce pipelining (e.g., by prospectively
guessing what URLs might appear in subsequent content
and prefetching them!) but otherwise, this is a client,
not a server, responsibility (IMO).

Servers need not serialize processing pipelined requests;
clients that care shouldn't pipeline.

Larry
-- 
http://larry.masinter.net



From http-wg-request@cuckoo.hpl.hp.com  Sun Jan 23 12:54:53 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA10677
	for <http-archive@odin.ietf.org>; Sun, 23 Jan 2000 12:54:53 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 30F0723F; Sun, 23 Jan 2000 12:54:50 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA06124;
	Sun, 23 Jan 2000 17:54:45 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA18899; Sun, 23 Jan 2000 17:54:41 GMT
Resent-Date: Sun, 23 Jan 2000 17:54:41 GMT
Sender: tchao@alteon.com
Message-ID: <388B403E.CDA3FE46@alteon.com>
Date: Sun, 23 Jan 2000 09:54:06 -0800
From: Tim Chao <tchao@alteon.com>
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@cuckoo.hpl.hp.com
Subject: Two questions
References: <AA4C152BA2F9D211B9DD0008C79F760A675263@odin.cromwellmedia.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"VcE9A1.0.Dd4.X1qYu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/698
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

1.  I looked into several captured packets of a HTTP request,
     there are lots of "OD OA" as deviders for headers;
     sometimes a request ends with "OD 0A 0D 0A", sometimes ends
      with "0A 0A 0A" or ....
     In the RFC, the request can end with 0D or 0A or their combination,

     I wonder how does a HTTP server or HTTP client determines
     a full request is received?.  Shouldn't we have a better way to
determine
     it?

2.   When a user is using a Web browser , the "Reload" in netscape
       or the"Refresh" in IE is pressed, what's the policy the browser
       to use about when to start with a new connection( SYN issued
first).
       or to start with just a HTTP request( ACK push)?

Many thanks!





From http-wg-request@cuckoo.hpl.hp.com  Mon Jan 24 10:24:00 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA10516
	for <http-archive@odin.ietf.org>; Mon, 24 Jan 2000 10:24:00 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 0F881957; Mon, 24 Jan 2000 07:23:56 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA22191;
	Mon, 24 Jan 2000 15:23:46 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA29033; Mon, 24 Jan 2000 15:23:42 GMT
Resent-Date: Mon, 24 Jan 2000 15:23:42 GMT
X-Lotus-FromDomain: NEON
From: "Fred Bohle" <fbohle@neonsys.com>
To: Tim Chao <tchao@alteon.com>
Cc: http-wg@cuckoo.hpl.hp.com
Message-ID: <86256870.00545F0C.00@internet1.neonsys.com>
Date: Mon, 24 Jan 2000 09:18:23 -0600
Subject: Re: Two questions
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Resent-Message-ID: <"w75mF.0.c57.-v6Zu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/699
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com





Fred Bohle@NEON
01/24/2000 09:18 AM

Tim,

     I look for either 0A or 0D.  If I find 0D, I look for 0A behind it.
If any
of these conditions are true, it is end of line.  If I find a line with no
characters,
this is the null line that ends the headers.  That way you can end any
line,
any way you want, without looking for strings like 0D0A0D0A,  or 0A0A.
I can detect screwy end of line pairs like 0A0D0A or 0D0A0A.


Fred




From http-wg-request@cuckoo.hpl.hp.com  Mon Jan 24 21:52:11 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA03544
	for <http-archive@odin.ietf.org>; Mon, 24 Jan 2000 21:52:11 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 5A2EE15B1D; Mon, 24 Jan 2000 21:49:54 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id CAA29425;
	Tue, 25 Jan 2000 02:49:50 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id CAA00317; Tue, 25 Jan 2000 02:49:46 GMT
Resent-Date: Tue, 25 Jan 2000 02:49:46 GMT
Message-ID: <388D0F12.D76950DC@netscape.com>
Date: Mon, 24 Jan 2000 18:48:50 -0800
From: jpierre@netscape.com (Julien Pierre)
Organization: Messy
X-Mailer: Mozilla 4.7 [en]C-NSCP  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "David W. Morris" <dwm@xpasc.com>
Cc: Daniel Hellerstein <DANIELH@mailbox.econ.ag.gov>,
        http-wg@cuckoo.hpl.hp.com
Subject: Re: On pipelining -Reply -Reply
References: <Pine.GSO.4.05.10001210954280.21860-100000@shell1>
Content-Type: multipart/mixed;
 boundary="------------22DD4DD8EB7434C49B5CA668"
Resent-Message-ID: <"FsqxW2.0.w4.AzGZu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/700
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.
--------------22DD4DD8EB7434C49B5CA668
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

"David W. Morris" wrote:

> There is no reason for the 'server' which happens to be extended by a CGI
> or other bit of active code to have to enforce compliance ... that is the
> responsiblity of the author of the application. And it is the application
> which will break or otherwise offend the user.  The protocol specifies the
> correct and safe way to produce well behaved applications.  During the
> years of producing the HTTP RFCs, it was always understood that a content
> provider could take the risk of changing server side state ... and a
> common example is a hit counter on a page. But would you want to insist
> that pipelining be disabled because a non-semantic state change occured
> with a different result?
>
> I wouldn't.

I don't think anyone was suggesting that pipelining should be disabled for
such applications; simply that the server should process the requests in
serial order so as to preserve the expected behavior.

I tend to agree with that. I considered multithreaded execution of pipelined
requests on a single connection for the Netscape Enterprise Server. However,
it turned out that most deployed applications are not idempotent (irrespective
of the request method), so in practice this would create more trouble than it
was worth. Also, the extra load on the server, in terms of buffer space and
extra threads, was significant.

The cases where processing requests out of order would benefit most are when
high-latency content is involved. Let's say for example there is a CGI request
sent by the browser to update the HTML content of a frame, followed by
requests for static images that were part of a document. The CGI will take
some time to execute, and obviously with the current version of HTTP/1.1 that
will hold up the images. What is really needed to benefit is a way for the
server to send replies out-of-order . So the static images could be delivered
right away while the CGI application is running. I have heard that HTTP/NG may
actually resolve that issue but I haven't checked into it yet.

--
for a good time, try kill -9 -1


--------------22DD4DD8EB7434C49B5CA668
Content-Type: text/x-vcard; charset=us-ascii;
 name="jpierre.vcf"
Content-Description: Card for Julien Pierre
Content-Disposition: attachment;
 filename="jpierre.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pierre;Julien
tel;work:650 937 3659
x-mozilla-html:FALSE
url:http://www.iplanet.com
org:America On-Line - Sun-Netscape Alliance;Webhosting - Netscape Enterprise Server
adr:;;;Mountain View;California;94043;USA
version:2.1
email;internet:jpierre@netscape.com
title:Software Developer
x-mozilla-cpt:;11152
fn:Julien Pierre
end:vcard

--------------22DD4DD8EB7434C49B5CA668--



From http-wg-request@cuckoo.hpl.hp.com  Wed Jan 26 06:28:51 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA01143
	for <http-archive@odin.ietf.org>; Wed, 26 Jan 2000 06:28:50 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 8AB609C2; Wed, 26 Jan 2000 03:28:44 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id LAA02023;
	Wed, 26 Jan 2000 11:28:35 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id LAA19703; Wed, 26 Jan 2000 11:28:31 GMT
Resent-Date: Wed, 26 Jan 2000 11:28:31 GMT
From: koen@win.tue.nl (Koen Holtman)
Message-Id: <200001261124.MAA01066@wsooti09.win.tue.nl>
Subject: Re: Two questions
In-Reply-To: <388B403E.CDA3FE46@alteon.com> from Tim Chao at "Jan 23, 2000  9:54: 6 am"
To: tchao@alteon.com (Tim Chao)
Date: Wed, 26 Jan 2000 12:24:36 +0100 (MET)
Cc: http-wg@cuckoo.hpl.hp.com
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"o6OqL.0.qp4.VfjZu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/701
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

>
>2.   When a user is using a Web browser , the "Reload" in netscape
>       or the"Refresh" in IE is pressed, what's the policy the browser
>       to use about when to start with a new connection( SYN issued
>first).
>       or to start with just a HTTP request( ACK push)?

There are no TCP/IP level or connection level policies implied as far
as I know.  The implied policy is to get the page again, and get a
copy fresh from the origin server, without any intermediate cached
copy being used instead.  This implies that a new HTTP request has to be
sent, but not necessarily that an existing persistent connection has
to be broken.

Hope this helps,

Koen.



