From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 10:35:03 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA02925
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 10:34:45 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id PAA22724;
	Wed, 2 Aug 2000 15:32:35 +0100 (BST)
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 PAA07372;
	Wed, 2 Aug 2000 15:32:32 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA14631; Wed, 2 Aug 2000 15:32:12 +0100 (BST)
Resent-Date: Wed, 2 Aug 2000 15:32:12 +0100 (BST)
Message-Id: <200008021434.JAA24654@hex.tamu.edu>
From: James G Smith <JGSmith@TAMU.Edu>
To: http-wg@cuckoo.hpl.hp.com
Cc: JGSmith@TAMU.Edu
Subject: ticket based authentication
Reply-To: JGSmith@TAMU.Edu
X-Office: 317 Teague
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x7991CC92 by sending message with subject: "get pgp key"
X-Url: http://HeX.TAMU.Edu/
X-Reposting-Policy: redistribute only with permission
Date: Wed, 02 Aug 2000 09:34:07 -0500
Sender: jgsmith@hex.tamu.edu
Resent-Message-ID: <"5AkEe2.0.aa3.i33Yv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/830
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

I think I recall some mention that security related issues were 
not being dealt with by this group, but then I saw the RFC for 
Basic and Digest Access Authentication among this groups RFCs...

If this has been answered already, then a gentle reminder of 
where I need to look will be sufficient :P

+---
|
| I would like to propose an extension to the HTTP standard to 
  include yet another authentication scheme.  This would allow for 
  clients to use a third-party URL (third party being not the 
  client and not the site requiring authentication) to generate the 
  authentication credentials.

  This would allow for one site to know who someone is without 
  having access to the information which would prove their 
  identity.  This requires that the site requiring authentication 
  trust the site issuing the credentials.

  This allows for a central authority to issue credentials without 
  untrusted sites having sufficient information to reproduce those 
  credentials.  This can be important when the identity of the 
  untrusted sites may be unknown, or when the information used to 
  authenticate to the central authority may be legally protected.

  This scheme also solves the problem with POST requests and other
  requests with a body when trying to implement this scheme with
  the current standards (cookies and redirects) and with finite
  credential lifetimes.  With the client unaware of the overall 
  process, the user experience is severly affected.

  I believe this can be done within the present framework outlined 
  in RFC 2617.  

  The auth-scheme would be "ticket" or "third-party" or some other 
  sensical tag.  The auth-param would be `realm' as presently 
  defined.  Any parameters required by the site issuing the 
  credentials would be included in the URL for that site (see next
  paragraph).

  In addition to the challange, a location header would need to be 
  sent so the client knows where to go to obtain the credentials.  
  The client would need to not retry the request requiring the 
  credentials until it has obtained those credentials from 
  following the actions at that location.

  Any request for credentials with this scheme should preempt any 
  other request for credentials with this same scheme.  This allows 
  a client to only track one such request at a time, without 
  requiring an unbounded stack of nested requests, or even 
  unrelated requests.  This also allows for the third-party site to 
  use any other authentication scheme it might find necessary 
  before issuing the credentials.

  The third-party may issue the credentials in the response header 
  with the `Authorization' header line.  The client should be able 
  to use the contents of this header line verbatim in retrying the 
| original request.
|
+--

This is a bit rough in the description, but if there are any questions,
let me know.  If this is something worthwhile, I'll put together a more
formal description.
--
James Smith <JGSmith@TAMU.Edu>, 409-862-3725
Texas A&M CIS Operating Systems Group, Unix



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 11:51:14 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA01033
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 11:51:13 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id QAA26052;
	Wed, 2 Aug 2000 16:50:11 +0100 (BST)
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 QAA16754;
	Wed, 2 Aug 2000 16:50:09 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA15316; Wed, 2 Aug 2000 16:49:57 +0100 (BST)
Resent-Date: Wed, 2 Aug 2000 16:49:57 +0100 (BST)
Date: Wed, 2 Aug 2000 08:46:05 -0700
From: "Life is hard, and then you die" <ronald@innovation.ch>
To: James G Smith <JGSmith@TAMU.Edu>
Cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: ticket based authentication
Message-ID: <20000802084605.C14060@innovation.ch>
Mail-Followup-To: James G Smith <JGSmith@TAMU.Edu>,
	http-wg@cuckoo.hpl.hp.com
References: <200008021434.JAA24654@hex.tamu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <200008021434.JAA24654@hex.tamu.edu>; from JGSmith@TAMU.Edu on Wed, Aug 02, 2000 at 09:34:07AM -0500
Resent-Message-ID: <"hOCoK1.0.Hl3.bC4Yv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/831
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

On Wed, Aug 02, 2000 at 09:34:07AM -0500, James G Smith wrote:
> I think I recall some mention that security related issues were 
> not being dealt with by this group, but then I saw the RFC for 
> Basic and Digest Access Authentication among this groups RFCs...
> 
> If this has been answered already, then a gentle reminder of 
> where I need to look will be sufficient :P
> 
> +---
> |
> | I would like to propose an extension to the HTTP standard to 
>   include yet another authentication scheme.  This would allow for 
>   clients to use a third-party URL (third party being not the 
>   client and not the site requiring authentication) to generate the 
>   authentication credentials.
[snip]

Isn't the algorithm=MD5-sess in Digest auth sufficient? The A1 is
basically your ticket. Or maybe I'm missing something.


  Cheers,

  Ronald



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 14:18:22 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA20403
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 14:18:21 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id TAA00303;
	Wed, 2 Aug 2000 19:17:40 +0100 (BST)
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 TAA26462;
	Wed, 2 Aug 2000 19:17:37 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA16077; Wed, 2 Aug 2000 19:17:34 +0100 (BST)
Resent-Date: Wed, 2 Aug 2000 19:17:34 +0100 (BST)
From: "Scott Lawrence" <lawrence@agranat.com>
To: "Life is hard, and then you die" <ronald@innovation.ch>,
        "James G Smith" <JGSmith@TAMU.Edu>
Cc: <http-wg@cuckoo.hpl.hp.com>
Subject: RE: ticket based authentication
Date: Wed, 2 Aug 2000 14:13:10 -0400
Message-ID: <002f01bffcad$50bf0160$6d864993@oyster.ietf.marconi.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: <20000802084605.C14060@innovation.ch>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"YF5Hr.0.7x3.-M6Yv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/832
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit


> From: ronald@innovation.ch

> Isn't the algorithm=MD5-sess in Digest auth sufficient? The A1 is
> basically your ticket. Or maybe I'm missing something.

No, Digest as currently defined allows the http server to consult a
third party authentication server in order to obtain the secret (but
does not specify how that should be done).  It does not, however, meet
the need described here - that the http server be able to instruct the
client to first obtain credentials through the third party server.

--
Scott Lawrence



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 15:29:36 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA15936
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 15:29:35 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id UAA02022;
	Wed, 2 Aug 2000 20:28:37 +0100 (BST)
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 UAA01283;
	Wed, 2 Aug 2000 20:28:35 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id UAA16625; Wed, 2 Aug 2000 20:28:33 +0100 (BST)
Resent-Date: Wed, 2 Aug 2000 20:28:33 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: <JGSmith@TAMU.Edu>
Cc: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: ticket based authentication
Date: Wed, 2 Aug 2000 21:26:08 +0200
Message-ID: <000201bffcb7$84493c30$0e0aa8c0@THUIS.LOCAL>
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 CWS, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <200008021434.JAA24654@hex.tamu.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Resent-Message-ID: <"aKp0i.0.k34.XP7Yv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/833
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

You might look at Kerberos. Maybe this already provides what you want to
have in the authentication. However there needs to come a standard
describing how to use Kerberos authentication with HTTP.

At least I assumed Kerberos also used tickets e.d. Maybe that it needs to be
a bit modified (e.g. HTTP-Kerberos), because something with certificates (I
don't know how it all works).....

Only a suggestion......

- Joris Dobbelsteen

> -----Original Message-----
> From: jgsmith@hex.tamu.edu [mailto:jgsmith@hex.tamu.edu]On Behalf Of
> James G Smith
> Sent: woensdag 2 augustus 2000 16:34
> To: http-wg@cuckoo.hpl.hp.com
> Cc: JGSmith@TAMU.Edu
> Subject: ticket based authentication
>
>
> I think I recall some mention that security related issues were
> not being dealt with by this group, but then I saw the RFC for
> Basic and Digest Access Authentication among this groups RFCs...
>
> If this has been answered already, then a gentle reminder of
> where I need to look will be sufficient :P
>
> +---
> |
> | I would like to propose an extension to the HTTP standard to
>   include yet another authentication scheme.  This would allow for
>   clients to use a third-party URL (third party being not the
>   client and not the site requiring authentication) to generate the
>   authentication credentials.
>
>   This would allow for one site to know who someone is without
>   having access to the information which would prove their
>   identity.  This requires that the site requiring authentication
>   trust the site issuing the credentials.
>
>   This allows for a central authority to issue credentials without
>   untrusted sites having sufficient information to reproduce those
>   credentials.  This can be important when the identity of the
>   untrusted sites may be unknown, or when the information used to
>   authenticate to the central authority may be legally protected.
>
>   This scheme also solves the problem with POST requests and other
>   requests with a body when trying to implement this scheme with
>   the current standards (cookies and redirects) and with finite
>   credential lifetimes.  With the client unaware of the overall
>   process, the user experience is severly affected.
>
>   I believe this can be done within the present framework outlined
>   in RFC 2617.
>
>   The auth-scheme would be "ticket" or "third-party" or some other
>   sensical tag.  The auth-param would be `realm' as presently
>   defined.  Any parameters required by the site issuing the
>   credentials would be included in the URL for that site (see next
>   paragraph).
>
>   In addition to the challange, a location header would need to be
>   sent so the client knows where to go to obtain the credentials.
>   The client would need to not retry the request requiring the
>   credentials until it has obtained those credentials from
>   following the actions at that location.
>
>   Any request for credentials with this scheme should preempt any
>   other request for credentials with this same scheme.  This allows
>   a client to only track one such request at a time, without
>   requiring an unbounded stack of nested requests, or even
>   unrelated requests.  This also allows for the third-party site to
>   use any other authentication scheme it might find necessary
>   before issuing the credentials.
>
>   The third-party may issue the credentials in the response header
>   with the `Authorization' header line.  The client should be able
>   to use the contents of this header line verbatim in retrying the
> | original request.
> |
> +--
>
> This is a bit rough in the description, but if there are any
> questions,
> let me know.  If this is something worthwhile, I'll put
> together a more
> formal description.
> --
> James Smith <JGSmith@TAMU.Edu>, 409-862-3725
> Texas A&M CIS Operating Systems Group, Unix
>
>



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 15:42:36 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA20687
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 15:42:35 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id UAA02421;
	Wed, 2 Aug 2000 20:41:49 +0100 (BST)
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 UAA01731;
	Wed, 2 Aug 2000 20:41:46 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id UAA17145; Wed, 2 Aug 2000 20:41:45 +0100 (BST)
Resent-Date: Wed, 2 Aug 2000 20:41:45 +0100 (BST)
Message-Id: <200008021943.OAA29731@hex.tamu.edu>
X-Mailer: exmh version 2.0gamma 1/27/96
From: James G Smith <JGSmith@TAMU.Edu>
To: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
cc: JGSmith@TAMU.Edu, "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: Re: ticket based authentication 
Reply-To: JGSmith@TAMU.Edu
X-Office: 317 Teague
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x7991CC92 by sending message with subject: "get pgp key"
X-Url: http://HeX.TAMU.Edu/
X-Reposting-Policy: redistribute only with permission
In-reply-to: Your message of "Wed, 02 Aug 2000 21:26:08 +0200."
             <000201bffcb7$84493c30$0e0aa8c0@THUIS.LOCAL> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 02 Aug 2000 14:43:31 -0500
Sender: jgsmith@hex.tamu.edu
Resent-Message-ID: <"pf3_-1.0.pB4.ub7Yv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/834
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

"Joris Dobbelsteen" <joris.dobbelsteen@mail.com> wrote:
>You might look at Kerberos. Maybe this already provides what you want to
>have in the authentication. However there needs to come a standard
>describing how to use Kerberos authentication with HTTP.
>
>At least I assumed Kerberos also used tickets e.d. Maybe that it needs to be
>a bit modified (e.g. HTTP-Kerberos), because something with certificates (I
>don't know how it all works).....
>
>Only a suggestion......

This is what I was thinking.  However, I was not wanting to put the actual 
contents of the ticket, or credential, in the standard, becuase that depends 
on what the credential server and the website (which is requiring the 
credential) would need to agree on.  It could be kerberos, but it could also 
be a signed certificate issued by the credential server.

Basically, I'm looking for a standard that can give a fairly reliable user 
experience while allowing for transport of credentials issued to a client by 
one site to be used at another site, but without cookies and the other messy 
kludges required.

For example, if the site requiring the authentication requires 
reauthentication in response to a POST (e.g., the credentials have expired), 
that site must buffer the data until the request is retried with possibly a 
GET of some kind and the new credentials.  This can lead to DOS attacks on a 
site.  By requiring the client to buffer the POST and retry again, we avoid 
that situation and make for a more reliable user experience.

By avoiding nested authentication attempts of this type, we avoid the same 
buffer problem on the client side.
-- 
James Smith <JGSmith@TAMU.Edu>, 979-862-3725
Texas A&M CIS Operating Systems Group, Unix




From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  2 19:04:20 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA27719
	for <http-archive@odin.ietf.org>; Wed, 2 Aug 2000 19:04:19 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id AAA06141;
	Thu, 3 Aug 2000 00:03:14 +0100 (BST)
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 AAA14481;
	Thu, 3 Aug 2000 00:03:12 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id AAA18282; Thu, 3 Aug 2000 00:03:10 +0100 (BST)
Resent-Date: Thu, 3 Aug 2000 00:03:10 +0100 (BST)
Date: Wed, 2 Aug 2000 19:02:07 -0400 (EDT)
From: "David W. Morris" <dwm@xpasc.com>
X-Sender: dwm@ncal.verio.com
To: Scott Lawrence <lawrence@agranat.com>
cc: "Life is hard, and then you die" <ronald@innovation.ch>,
        James G Smith <JGSmith@TAMU.Edu>, http-wg@cuckoo.hpl.hp.com
Subject: RE: ticket based authentication
In-Reply-To: <002f01bffcad$50bf0160$6d864993@oyster.ietf.marconi.com>
Message-ID: <Pine.SOL.4.10.10008021859390.24779-100000@ncal.verio.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"kUYvq1.0.dT4.kYAYv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/835
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

While not commenting directly on the proposal, I would note in my
application deployment role ... firewall and application service provider
issues make the missing function Scott mentions an important capability.

Thanks,
  Dave Morris

On Wed, 2 Aug 2000, Scott Lawrence wrote:

> 
> > From: ronald@innovation.ch
> 
> > Isn't the algorithm=MD5-sess in Digest auth sufficient? The A1 is
> > basically your ticket. Or maybe I'm missing something.
> 
> No, Digest as currently defined allows the http server to consult a
> third party authentication server in order to obtain the secret (but
> does not specify how that should be done).  It does not, however, meet
> the need described here - that the http server be able to instruct the
> client to first obtain credentials through the third party server.



From http-wg-request@cuckoo.hpl.hp.com  Tue Aug  8 11:17:35 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12118
	for <http-archive@odin.ietf.org>; Tue, 8 Aug 2000 11:17:33 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id QAA05511;
	Tue, 8 Aug 2000 16:15:37 +0100 (BST)
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 QAA09855;
	Tue, 8 Aug 2000 16:15:35 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA18377; Tue, 8 Aug 2000 16:15:25 +0100 (BST)
Resent-Date: Tue, 8 Aug 2000 16:15:25 +0100 (BST)
Sender: dmk@research.bell-labs.com
Message-ID: <399023B5.B4BC7896@bell-labs.com>
Date: Tue, 08 Aug 2000 11:13:57 -0400
From: Dave Kristol <dmk@bell-labs.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: HTTP Working Group <http-wg@hplb.hpl.hp.com>
Subject: [Fwd: Protocol Action: Use of HTTP State Management to BCP]
Content-Type: multipart/mixed;
 boundary="------------6AF8AC59323C6ED6DCD9C2E8"
Resent-Message-ID: <"euK_g2.0.6V4.DG2av"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/836
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.
--------------6AF8AC59323C6ED6DCD9C2E8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
--------------6AF8AC59323C6ED6DCD9C2E8
Content-Type: message/rfc822
Content-Disposition: inline

Received: from scummy.research.bell-labs.com (guard.research.bell-labs.com [135.104.2.10])
	by aura.research.bell-labs.com (8.9.1/8.9.1) with SMTP id RAA03698
	for <dmk@aura.research.bell-labs.com>; Mon, 7 Aug 2000 17:07:08 -0400 (EDT)
Received: from dusty.research.bell-labs.com ([135.104.2.7]) by scummy; Mon Aug  7 17:06:04 EDT 2000
Received: from loki.ietf.org ([132.151.1.177]) by dusty; Mon Aug  7 17:06:01 EDT 2000
Received: (from adm@localhost)
	by loki.ietf.org (8.9.1b+Sun/8.9.1) id RAA25674
	for ietf-123-outbound.02@ietf.org; Mon, 7 Aug 2000 17:05:00 -0400 (EDT)
Received: from ietf.org (odin.ietf.org [10.27.2.28])
	by loki.ietf.org (8.9.1b+Sun/8.9.1) with ESMTP id RAA25661
	for <all-ietf@loki.ietf.org>; Mon, 7 Aug 2000 17:03:15 -0400 (EDT)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA02656;
	Mon, 7 Aug 2000 17:03:11 -0400 (EDT)
Message-Id: <200008072103.RAA02656@ietf.org>
To: 
Cc: RFC Editor <rfc-editor@isi.edu>
Cc: Internet Architecture Board <iab@isi.edu>
Cc: iesg@ietf.org
From: The IESG <iesg-secretary@ietf.org>
Subject: Protocol Action: Use of HTTP State Management to BCP
Date: Mon, 07 Aug 2000 17:03:11 -0400
Sender: scoya@cnri.reston.va.us
MIME-Version: 1.0



The IESG has approved publication of the following Internet-Drafts:

o Use of HTTP State Management <draft-iesg-http-cookies-03.txt> as a
  BCP.
o HTTP State Management Mechanism
  <draft-ietf-http-state-man-mec-12.txt> as a Proposed Standard.

The IESG contact person is Patrik Faltstrom.
 
 
Technical Summary
 
The draft-ietf-http-state-man-mec-12.txt specifies a way to create a
stateful session with HTTP requests and responses. It describes two new
headers, Cookie and Set-Cookie2, which carry state information between
participating origin servers and user agents.  The method described
here differs from Netscape's Cookie proposal [Netscape], but it can
interoperate with HTTP/1.0 user agents that use Netscape's method.
(See the HISTORICAL section.) The document reflects implementation
experiences from RFC 2109 [RFC2109] and obsoletes it.

Even though this protocol has been approved for the Internet standards
track, some current and potential uses of the protocol are not within
the scope of the standard approved by IESG.
draft-iesg-http-cookies-03.txt identifies specific uses of HTTP State
Management protocol which are either (a) nonstandard and thus not
recommended by IETF, or (b) nonstandard, believed to be harmful, and
discouraged. It also details additional privacy considerations which
are not covered by the HTTP State Management protocol specification.

Working Group Summary

It was early obvious that RFC 2109 had to be replaced due to
implementation experiences. Various players on the Internet do though
use cookies and states for different uses, and because of this, the
discussion sometimes was quite heated. The IESG reviewed the issues,
and wrote an applicability statement which after a lot of discussions
ended up becoming draft-iesg-http-cookies-03.txt, which explains what
parts of the state-man-mec which are in scope of IETF discussions.

Protocol Quality

The protocol was reviewed by Patrik Faltstrom.


Note to RFC Editor:

Please include the following text as an IESG Note:


 The IESG notes that this mechanism makes use of the .local
 top-level domain (TLD) internally when handling host names
 that don't contain any dots, and that this mechanism might
 not work in the expected way should an actual .local TLD
 ever be registered.

--------------6AF8AC59323C6ED6DCD9C2E8--



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  9 11:24:31 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08634
	for <http-archive@odin.ietf.org>; Wed, 9 Aug 2000 11:24:29 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id QAA08169;
	Wed, 9 Aug 2000 16:23:16 +0100 (BST)
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 QAA26760;
	Wed, 9 Aug 2000 16:23:14 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA29324; Wed, 9 Aug 2000 16:22:48 +0100 (BST)
Resent-Date: Wed, 9 Aug 2000 16:22:48 +0100 (BST)
Message-Id: <200008091522.QAA29304@cuckoo.hpl.hp.com>
To: http-wg@hplb.hpl.hp.com
Subject: Adminstrivia: spam fix
Date: Wed, 09 Aug 2000 16:22:44 +0100
From: Andy Norman <ange@hplb.hpl.hp.com>
Resent-Message-ID: <"AuL9I3.0.9A7.7TNav"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/837
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Folks,

Many apologies for all the nasty spam from Adworks over the last couple of
weeks that had managed to leak through my filters.

The spambot was automagically subscribing to the list in order to post.  I've
fixed that particular loophole (for now).

If you see spam, can you e-mail me directly and I'll try to fix a.s.a.p.

Thanks!
--
						-- ange -- <><

(http-wg mailng list administrator)		ange@hplb.hpl.hp.com



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  9 17:45:47 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21618
	for <http-archive@odin.ietf.org>; Wed, 9 Aug 2000 17:45:46 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id WAA17660;
	Wed, 9 Aug 2000 22:45:18 +0100 (BST)
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 WAA19506;
	Wed, 9 Aug 2000 22:45:17 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA29747; Wed, 9 Aug 2000 22:45:07 +0100 (BST)
Resent-Date: Wed, 9 Aug 2000 22:45:07 +0100 (BST)
Message-Id: <200008092147.QAA11322@hex.tamu.edu>
From: James G Smith <JGSmith@TAMU.Edu>
To: http-wg@cuckoo.hpl.hp.com
Cc: JGSmith@TAMU.Edu
Subject: ticket based authentication
Reply-To: JGSmith@TAMU.Edu
X-Office: 317 Teague
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x7991CC92 by sending message with subject: "get pgp key"
X-Url: http://HeX.TAMU.Edu/
X-Reposting-Policy: redistribute only with permission
Date: Wed, 09 Aug 2000 16:47:09 -0500
Sender: jgsmith@hex.tamu.edu
Resent-Message-ID: <"lMTbu.0.jG7.Z3Tav"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/838
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

From the response, it would seem some form of third-party 
authentication may be desired and useful, but no clear concensus 
on how best to go about it.  I don't have an answer to that, but 
I have put my thoughts together in the form of a draft, which 
should appear sometime as 

     draft-smith-http-third-party-authentication-00.txt 

Until it is posted on the IETF site, it is available from my
own workstation at 

  http://hex.tamu.edu/drafts/draft-smith-http-third-party-authentication-00.txt 

I already have a correction for it -- the expiration time should 
be in GMT (section 2.2).

An issue that is not addressed is how to indicate that the client
should abandon the authentication process and discard the pending
request awaiting credentials.  The authentication process MUST
indicate one and only one of success or abandonment.  When in doubt,
the client may abandon the process?  This could be the case if
the client becomes confused as to what is going on.
--
James Smith <JGSmith@TAMU.Edu>, 409-862-3725
Texas A&M CIS Operating Systems Group, Unix



From http-wg-request@cuckoo.hpl.hp.com  Wed Aug  9 20:17:03 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA23309
	for <http-archive@odin.ietf.org>; Wed, 9 Aug 2000 20:17:02 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id BAA22672;
	Thu, 10 Aug 2000 01:16:03 +0100 (BST)
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 BAA00947;
	Thu, 10 Aug 2000 01:16:00 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA00135; Thu, 10 Aug 2000 01:15:58 +0100 (BST)
Resent-Date: Thu, 10 Aug 2000 01:15:58 +0100 (BST)
Date: Wed, 9 Aug 2000 20:11:33 -0400 (EDT)
From: Peter W <peterw@usa.net>
X-Sender: peterw@localhost
To: James G Smith <JGSmith@TAMU.Edu>
cc: http-wg@cuckoo.hpl.hp.com
Subject: Re: ticket based authentication
In-Reply-To: <200008092147.QAA11322@hex.tamu.edu>
Message-ID: <Pine.LNX.4.21.0008091952110.7949-100000@localhost>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"eOGfb3.0.42.-GVav"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/839
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

At 4:47pm Aug 9, 2000, James G Smith wrote:

> I have put my thoughts together in the form of a draft

James,

I'm glad to see this taking shape. I have a longer note I haven't yet
sent, but here are some comments:

1) Privacy concerns. This looks like a "nice" alternative to third-party
banner-ad and web-bug cookies. Even "better", because 3rd party cookies
are only visible to the ad/web-bug server, where this could be used to
share the same identifier with the content provider and the
"authentication" provider.

2) Multiple credentials? E.G., if my content site needs to verufy both
that the user is an employee of Acme Products and a US citizen, would my
content site simply request one credential, and then the next iff the
first was acceptable?

3) Section 3.2. The expiration time provided by the authentication server
could be ignored by a (deliberately noncompliant) client. If you want to
be safe, you want a signed credential that includes an expiration time.

4) Nit pick. I'd suggest using example.(org|com|net) domains as examples.

5) Privacy #2: identity discovery. Send an HTML page that references a 1x1
pixel image. The URL for that image sends the client an authentication
challenge:
 WWW-Authenticate: Third-Party realm="CIA" url="https://login.cia.gov/"
and uses that to see if the user is able/willing to prove their
relationship with the US Central Intelligence Agency.

6) Auth server needs more info. The client should give the authentication
server some reason to go to the trouble of authenticating the client.
Authentication can be expensive, so the authentication provider might not
want to go to the trouble for unknown sites. This would also allow the
auth server to do nice tricks like encrypting the response for that
specific content site. It could even send garbage data in case of failure
to protect against identity tests.

7) Caching credentials/realm. If two different sites want me to
authenticate for WallyWorld on tehuti.nowhere.org, how does my client know
that it's OK to send the credential obtained for the first site to the
second site? I expect (maybe this should be clarified, or maybe I'm
dense) that the credential would be resent to any URL on the content site
that issues the same realm challenge. But should the client also only
provide the credential if the authentication "url" is the same? Should
there be a cookie-like path restriction?

-Peter

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



From http-wg-request@cuckoo.hpl.hp.com  Thu Aug 10 08:31:15 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18095
	for <http-archive@odin.ietf.org>; Thu, 10 Aug 2000 08:31:04 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id NAA09551;
	Thu, 10 Aug 2000 13:29:56 +0100 (BST)
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 NAA11774;
	Thu, 10 Aug 2000 13:29:55 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA09634; Thu, 10 Aug 2000 13:29:45 +0100 (BST)
Resent-Date: Thu, 10 Aug 2000 13:29:45 +0100 (BST)
Message-ID: <5951B854B0D8D211B9C300105A6605450108436A@NL01NT09>
From: Alexander op de Weegh <aweegh@irdetoaccess.com>
To: "'HTTP Working Group'" <http-wg@hplb.hpl.hp.com>
Subject: Spaces allowed between chunk size and semi-colon?
Date: Thu, 10 Aug 2000 14:32:22 +0100
X-Mailer: Internet Mail Service (5.5.2650.21)
Resent-Message-ID: <"SgH263.0.VM2.v0gav"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/840
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Hi all,
section 3.6.1 of RFC2616 the definition of a chunk body is given. I wonder
whether or not it is valid to include space characters between the chunk
size and the chunk extensions. Thus, if the following chunk body is valid:
	23;ext1<CRLF>
Is the following chunk body then also valid:
	23<SP>;ext1<CRLF>
Even more, if both are valid, do they represent the exact same chunk body?

Thanks in advance.

Kind regards,
Alexander.



From http-wg-request@cuckoo.hpl.hp.com  Thu Aug 10 11:12:58 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA27132
	for <http-archive@odin.ietf.org>; Thu, 10 Aug 2000 11:12:57 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id QAA15597;
	Thu, 10 Aug 2000 16:12:32 +0100 (BST)
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 QAA22626;
	Thu, 10 Aug 2000 16:12:30 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id QAA09875; Thu, 10 Aug 2000 16:12:21 +0100 (BST)
Resent-Date: Thu, 10 Aug 2000 16:12:21 +0100 (BST)
Message-Id: <200008101514.KAA25337@hex.tamu.edu>
From: James G Smith <JGSmith@tamu.edu>
To: Peter W <peterw@usa.net>
cc: James G Smith <JGSmith@tamu.edu>, http-wg@cuckoo.hpl.hp.com
Subject: Re: ticket based authentication 
Reply-To: JGSmith@tamu.edu
X-Office: 317 Teague
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x7991CC92 by sending message with subject: "get pgp key"
X-Url: http://HeX.TAMU.Edu/
X-Reposting-Policy: redistribute only with permission
In-reply-to: Your message of "Wed, 09 Aug 2000 20:11:33 EDT."
             <Pine.LNX.4.21.0008091952110.7949-100000@localhost> 
Date: Thu, 10 Aug 2000 10:14:19 -0500
Sender: jgsmith@hex.tamu.edu
Resent-Message-ID: <"WhzPV1.0.GQ2.LPiav"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/841
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Peter W <peterw@usa.net> wrote:
>At 4:47pm Aug 9, 2000, James G Smith wrote:
>
>> I have put my thoughts together in the form of a draft
>
>James,
>
>I'm glad to see this taking shape. I have a longer note I haven't yet
>sent, but here are some comments:
>
>1) Privacy concerns. This looks like a "nice" alternative to third-party
>banner-ad and web-bug cookies. Even "better", because 3rd party cookies
>are only visible to the ad/web-bug server, where this could be used to
>share the same identifier with the content provider and the
>"authentication" provider.

Good point.  We need some way for the client to know that the 
user should be aware of the authentication request so it isn't 
silently taking place.  The user should have a way to refuse 
authentication as with Basic and Digest.  Of course, refusal with 
those two is by virtue of the user having to usually enter some 
information.

One important difference between cookies and the credentials in
this scheme are that cookies can persist across client invocations.
We are explicitly disallowing / discouraging such behavior in
the draft.

>2) Multiple credentials? E.G., if my content site needs to verufy both
>that the user is an employee of Acme Products and a US citizen, would my
>content site simply request one credential, and then the next iff the
>first was acceptable?

I was not thinking so much of authorization but of authentication.  
The credential would say this person is who they say they are, 
and no more unless agreed to by the site requiring the credentials 
and the site providing the credentials prior to the request.

Perhaps be able to form a request such as:

  HTTP/1.1 401 Unauthorized
  WWW-Authenticate: Third-Party realm="testrealm@host.com", 
             url="https://tehuti.nowhere.org/authenticate/",
             ou=acme, c=us

The other end might then require that the ou and c fields match
in the ldap entry for the person authenticating.  Of course,
this is not the best example for this situation, but it does
illustrate what is possible in the draft.

>3) Section 3.2. The expiration time provided by the authentication server
>could be ignored by a (deliberately noncompliant) client. If you want to
>be safe, you want a signed credential that includes an expiration time.

Having implemented something along these lines before with cookies 
and redirects, I would expect the site issuing the credentials to 
encode the expiration time in the credentials.  The expiration 
given to the client would be purely advisory on their part.

This could be placed in a section for recommended practices in
creating credentials.

>4) Nit pick. I'd suggest using example.(org|com|net) domains as examples.

-nod-

>5) Privacy #2: identity discovery. Send an HTML page that references a 1x1
>pixel image. The URL for that image sends the client an authentication
>challenge:
> WWW-Authenticate: Third-Party realm="CIA" url="https://login.cia.gov/"
>and uses that to see if the user is able/willing to prove their
>relationship with the US Central Intelligence Agency.

Good point.  We need a good way for the two sites involved to authenticate
themselves to each other.  The credentials can authenticate the issuer
to the requester, but there isn't a good method for the other way around
yet that is scalable.

One way is to send a signed identifier as part of the request (the
WWW-Authenticate header).  This requires communication between
the issuer and the requesting site `behind the scenes'.  If this
could be made sufficient, it could be placed in the `recommended
practices' section.  This could also address the next issue (#6).

>6) Auth server needs more info. The client should give the authentication
>server some reason to go to the trouble of authenticating the client.
>Authentication can be expensive, so the authentication provider might not
>want to go to the trouble for unknown sites. This would also allow the
>auth server to do nice tricks like encrypting the response for that
>specific content site. It could even send garbage data in case of failure
>to protect against identity tests.
>
>7) Caching credentials/realm. If two different sites want me to
>authenticate for WallyWorld on tehuti.nowhere.org, how does my client know
>that it's OK to send the credential obtained for the first site to the
>second site? I expect (maybe this should be clarified, or maybe I'm
>dense) that the credential would be resent to any URL on the content site
>that issues the same realm challenge. But should the client also only
>provide the credential if the authentication "url" is the same? Should
>there be a cookie-like path restriction?

We do need to be able to specify the scope of the credentials.  With
Basic and Digest, it's trivial.  They are only good on the site which
requested them and for the realm.  Perhaps a combination of `url' and
`realm' could be used.  But then we have the issue of sites requesting
them when they shouldn't have them...

Allowing some scoping rules that cookies have would help here.  We
can create a system that is no worse than cookies :P  That's not
all that comforting, but we do have a worst case scenario.

When I worked on something similar to this, but with cookies, the
credentials would have been passed to any machine in the .tamu.edu
domain since that allowed us to have a central server able to
issue to any other machine in the TAMU network, it kept machines
from outside TAMU from using it, and it would allow people to
authenticate once and hop from site to site.
-- 
James Smith <JGSmith@TAMU.Edu>, 979-862-3725
Texas A&M CIS Operating Systems Group, Unix



From http-wg-request@cuckoo.hpl.hp.com  Mon Aug 14 12:37:48 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA14276
	for <http-archive@odin.ietf.org>; Mon, 14 Aug 2000 12:37:46 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id RAA09155;
	Mon, 14 Aug 2000 17:36:18 +0100 (BST)
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 RAA15399;
	Mon, 14 Aug 2000 17:36:17 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA19663; Mon, 14 Aug 2000 17:36:07 +0100 (BST)
Resent-Date: Mon, 14 Aug 2000 17:36:07 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: Cache-Control
Date: Mon, 14 Aug 2000 18:32:22 +0200
Message-ID: <000e01c0060d$6ef25290$0e0aa8c0@THUIS.LOCAL>
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 CWS, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Resent-Message-ID: <"ylK5r1.0.9p4.t_1cv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/842
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

There was in 5-2000 a discussion about the cache-control header in HTTP/1.1.

My question is what should a proxy/user-agent do if it receives the request:

cache-control: private, public, max-age=180, s-maxage=120


According to my e-mail archive it was a discussion Koen Holtman participated
in.......
But I had some trouble and I suppose I didn't receive a lot of e-mails at
that time....


- Joris Dobbelsteen



From http-wg-request@cuckoo.hpl.hp.com  Mon Aug 14 14:26:40 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA16663
	for <http-archive@odin.ietf.org>; Mon, 14 Aug 2000 14:26:39 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id TAA12078;
	Mon, 14 Aug 2000 19:26:13 +0100 (BST)
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 TAA22936;
	Mon, 14 Aug 2000 19:26:11 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA19986; Mon, 14 Aug 2000 19:26:09 +0100 (BST)
Resent-Date: Mon, 14 Aug 2000 19:26:09 +0100 (BST)
From: Jeffrey Mogul <mogul@pa.dec.com>
Message-Id: <200008141824.LAA01504@wera.pa.dec.com>
To: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
Cc: <http-wg@cuckoo.hpl.hp.com>
Subject: Re: Cache-Control 
In-Reply-To: Your message of "Mon, 14 Aug 2000 18:32:22 +0200."
             <000e01c0060d$6ef25290$0e0aa8c0@THUIS.LOCAL> 
Date: Mon, 14 Aug 2000 11:24:18 -0700
X-Mts: smtp
Resent-Message-ID: <"gcm0g3.0.Fu4.1d3cv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/843
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

   My question is what should a proxy/user-agent do if it receives
   the request:

	cache-control: private, public, max-age=180, s-maxage=120

I'm going to assume that the word "request" in your email is
a mistake, and that you meant "response".  Three of the four
directives you listed are undefined for requests.  With
that in mind:

The answer is different for a (shared) proxy and for a (non-shared)
user-agent.

A user-agent (presumably with a "non-shared cache") should
ignore the "private" and "s-maxage" directives, and so
this is equivalent *FOR A NON-SHARED CACHE* to

	Cache-Control: max-age=180

A shared proxy cache, on the other hand, has no sensible
way to interpret this header field, because RFC2616 says:

   public
      Indicates that the response MAY be cached by any cache, even if it
      would normally be non-cacheable or cacheable only within a non-
      shared cache. (See also Authorization, section 14.8, for
      additional details.)

   private
      Indicates that all or part of the response message is intended for
      a single user and MUST NOT be cached by a shared cache. This
      allows an origin server to state that the specified parts of the
      response are intended for only one user and are not a valid
      response for requests by other users. A private (non-shared) cache
      MAY cache the response.

Given that the "private" directive in your example does NOT list
any specific parts of the response, it therefore must refer to
the entire response.  But this means that the "public" and
"private" directives are conflicting, and so the server that
sent the response has a bug.

As a general rule, I would recommend that if a received
response appears to be buggy, it is stupid to cache it.
(Another way to look at this: if the server implementor
appears to have misunderstood the HTTP caching specification,
then a cache implementor ought to protect the user from
that implementor's mistake.)  Don't cache responses if
they cannot unambiguously be cached with "semantic transparency"
(see RFC2616).

-Jeff



From http-wg-request@cuckoo.hpl.hp.com  Tue Aug 15 09:37:28 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA14843
	for <http-archive@odin.ietf.org>; Tue, 15 Aug 2000 09:37:27 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id OAA13002;
	Tue, 15 Aug 2000 14:36:15 +0100 (BST)
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 OAA16749;
	Tue, 15 Aug 2000 14:36:14 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA00127; Tue, 15 Aug 2000 14:35:51 +0100 (BST)
Resent-Date: Tue, 15 Aug 2000 14:35:51 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "'Jeffrey Mogul'" <mogul@pa.dec.com>
Cc: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: Cache-Control 
Date: Tue, 15 Aug 2000 15:33:15 +0200
Message-ID: <000001c006bd$5f928f80$0e0aa8c0@THUIS.LOCAL>
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 CWS, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
In-Reply-To: <200008141824.LAA01504@wera.pa.dec.com>
Resent-Message-ID: <"gUDHV.0.w1.sSKcv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/844
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> -----Original Message-----
> From: Jeffrey Mogul [mailto:mogul@pa.dec.com]
> Sent: maandag 14 augustus 2000 20:24
> To: Joris Dobbelsteen
> Cc: http-wg@cuckoo.hpl.hp.com
> Subject: Re: Cache-Control
>
>
>    My question is what should a proxy/user-agent do if it receives
>    the request:
>
> 	cache-control: private, public, max-age=180, s-maxage=120
>
> I'm going to assume that the word "request" in your email is
> a mistake, and that you meant "response".  Three of the four
> directives you listed are undefined for requests.  With
> that in mind:

I didn't see that at time I was writing the mail, but you are right,
I meant response instead of request.

>
> The answer is different for a (shared) proxy and for a (non-shared)
> user-agent.
>
> A user-agent (presumably with a "non-shared cache") should
> ignore the "private" and "s-maxage" directives, and so
> this is equivalent *FOR A NON-SHARED CACHE* to
>
> 	Cache-Control: max-age=180

What about "public"???

>
> A shared proxy cache, on the other hand, has no sensible
> way to interpret this header field, because RFC2616 says:
>
>    public
>       Indicates that the response MAY be cached by any cache,
> even if it
>       would normally be non-cacheable or cacheable only within a non-
>       shared cache. (See also Authorization, section 14.8, for
>       additional details.)
>
>    private
>       Indicates that all or part of the response message is
> intended for
>       a single user and MUST NOT be cached by a shared cache. This
>       allows an origin server to state that the specified parts of the
>       response are intended for only one user and are not a valid
>       response for requests by other users. A private
> (non-shared) cache
>       MAY cache the response.
>
> Given that the "private" directive in your example does NOT list
> any specific parts of the response, it therefore must refer to
> the entire response.  But this means that the "public" and
> "private" directives are conflicting, and so the server that
> sent the response has a bug.

Ok, that's true. That is why I send this example, to see how you (HTTP WG)
think how to handle this...

>
> As a general rule, I would recommend that if a received
> response appears to be buggy, it is stupid to cache it.
> (Another way to look at this: if the server implementor
> appears to have misunderstood the HTTP caching specification,
> then a cache implementor ought to protect the user from
> that implementor's mistake.)  Don't cache responses if
> they cannot unambiguously be cached with "semantic transparency"
> (see RFC2616).

Let's if I understand it right:
Meaning your recommendation whould be:

Private Cache (NON-SHARED)
    Cache it (max-age = 180)

Public Cache (SHARED)
    Don't cache it (conflicting cache-control)
    However on the other had, the server did send s-maxage=120,
    so it's caring for public caches.....

>
> -Jeff
>
>

- Joris



From http-wg-request@cuckoo.hpl.hp.com  Tue Aug 15 20:59:42 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA01771
	for <http-archive@odin.ietf.org>; Tue, 15 Aug 2000 20:59:40 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id BAA01737;
	Wed, 16 Aug 2000 01:59:02 +0100 (BST)
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 BAA03085;
	Wed, 16 Aug 2000 01:59:01 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA01225; Wed, 16 Aug 2000 01:58:51 +0100 (BST)
Resent-Date: Wed, 16 Aug 2000 01:58:51 +0100 (BST)
From: Jim Whitehead <ejw@ics.uci.edu>
To: WebDAV WG <w3c-dist-auth@w3.org>, http-wg@hplb.hpl.hp.com, ietf@ietf.org,
        ietf-dav-versioning@w3.org
MMDF-Warning:  Parse error in original version of preceding line at gremlin-relay.ics.uci.edu
Subject: Improving HTTP/DAV status reporting
Date: Tue, 15 Aug 2000 17:51:46 -0700
Message-ID: <NDBBIKLAGLCOPGKGADOJCENIDIAA.ejw@ics.uci.edu>
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
Resent-Message-ID: <"brmiT2.0.6J.BTUcv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/845
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit


A common concern raised by developers of WebDAV clients and servers is the
deficiencies of HTTP/DAV status reporting. For example, two common problems
are overloading of HTTP status codes to mean several different conditions,
and the inability to precisely report many kinds of status using the
existing status codes. Even when an existing status code does cover a
condition well, there is no mechanism for passing supplemental status
information. WebDAV provides two operand methods such as COPY and MOVE where
an error could occur at the source or destination, a capability outside the
scope of HTTP error reporting. It is also possible that multiple error
conditions can simultaneously occur, yet only one can be reported in a
response.

Especially for 4xx series status codes, there is a limited number of status
codes, leading to conservative use of status codes within the protocol
development community, and leads to overloading of existing status codes. A
principled expansion of the HTTP status code space seems to be a cornerstone
of any effort to improve HTTP/DAV status reporting.

To evaluate and address these concerns, a new mailing list has been created
to discuss issues concerning improved HTTP/DAV status reporting.

To post to this list, send your email to:

  report@webdav.org

Subscription instructions and archives are available at:

  http://mailman.webdav.org/mailman/listinfo/report

This mailing list is welcome to all, and maintains a public archive.

While the impetus for this discussion is coming from the WebDAV community,
this problem affects HTTP broadly, and hence a new forum for discussion has
been created. It is expected that list members will determine where
specification work, if any, will take place.

- Jim Whitehead <ejw@ics.uci.edu>



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 18 12:01:58 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA01264
	for <http-archive@odin.ietf.org>; Fri, 18 Aug 2000 12:01:56 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id RAA19381;
	Fri, 18 Aug 2000 17:00:40 +0100 (BST)
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 RAA16509;
	Fri, 18 Aug 2000 17:00:39 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA00746; Fri, 18 Aug 2000 17:00:27 +0100 (BST)
Resent-Date: Fri, 18 Aug 2000 17:00:27 +0100 (BST)
Sender: francis@localhost.localdomain
Message-ID: <399D5DAF.42FE8005@ecal.com>
Date: Fri, 18 Aug 2000 12:00:47 -0400
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16-3 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: Re: Cache-Control
References: <000001c006bd$5f928f80$0e0aa8c0@THUIS.LOCAL>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"tcDW73.0.cB.RsLdv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/846
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Joris Dobbelsteen wrote:

> > A user-agent (presumably with a "non-shared cache") should
> > ignore the "private" and "s-maxage" directives, and so
> > this is equivalent *FOR A NON-SHARED CACHE* to
> >
> >       Cache-Control: max-age=180
>
> What about "public"???

Nobody else has access to that cache, so "public" can't mean anything.

> Public Cache (SHARED)
>     Don't cache it (conflicting cache-control)
>     However on the other had, the server did send s-maxage=120,
>     so it's caring for public caches.....

Maybe.  Or maybe s-maxage crept in because of some memory trashing on the
server side.  Once you see that the server is buggy, you can't be sure what
it wants.

(Reminds me of a line from a Pratchett book: "Why is he *doing* this?" "That
is only a valid question if he is sane.  He may be doing it because the
little green pixies tell him to."  :-)

--
/==============================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp.      |Help stamp out vi in our lifetime!           |
|francis@ecal.com|                                             |
\==============================================================/





From http-wg-request@cuckoo.hpl.hp.com  Sat Aug 19 16:32:33 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA03084
	for <http-archive@odin.ietf.org>; Sat, 19 Aug 2000 16:32:32 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id VAA18727;
	Sat, 19 Aug 2000 21:30:57 +0100 (BST)
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 VAA01374;
	Sat, 19 Aug 2000 21:30:56 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id VAA10732; Sat, 19 Aug 2000 21:30:46 +0100 (BST)
Resent-Date: Sat, 19 Aug 2000 21:30:46 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: Microsoft HTTP 1.1 Conformance?
Date: Sat, 19 Aug 2000 22:28:10 +0200
Message-ID: <000501c00a1b$fe35b020$0e0aa8c0@THUIS.LOCAL>
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 CWS, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Importance: Normal
In-reply-to: <NEBBIKAJJKOJLLKIOPIMGECMCAAA.cschoeberle@mediaone.net>
Resent-Message-ID: <"xSQaY3.0.fd2.svkdv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/847
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

You can let the MS Proxy Server only work with HTTP/1.1 if you install the
Microsoft Internet Information Service (IIS) version 3.0 or later.
At least, this is what MS says....

- Joris

> -----Original Message-----
> From: Craig Schoeberle [mailto:cschoeberle@mediaone.net]
> Sent: vrijdag 18 augustus 2000 1:30
> To: j.p.tdobbelsteen@freeler.nl
> Subject: RE: Microsoft HTTP 1.1 Conformance?
>
>
> Any resolution to the http 1.1 issue?  We are using MS three
> version 2.0
> proxy servers in an array configured for reverse proxy to our
> web servers.
> The proxy servers are responding with http version 1.0 header to our
> application servers. I have searched the entier internet and
> the registry
> for this setting and no luck. Any ideas?
>
> Thanks,
>
> Craig Schoeberle
>
>



From http-wg-request@cuckoo.hpl.hp.com  Tue Aug 22 09:36:17 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA05457
	for <http-archive@odin.ietf.org>; Tue, 22 Aug 2000 09:36:16 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id OAA11964;
	Tue, 22 Aug 2000 14:34:58 +0100 (BST)
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 OAA24845;
	Tue, 22 Aug 2000 14:34:56 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA10946; Tue, 22 Aug 2000 14:34:46 +0100 (BST)
Resent-Date: Tue, 22 Aug 2000 14:34:46 +0100 (BST)
X-Originating-IP: [131.107.3.71]
From: "Keith Hoffman" <hoffmankeith@hotmail.com>
To: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>,
        "WWW WG \(E-mail\)" <http-wg@cuckoo.hpl.hp.com>
References: <000501c00a1b$fe35b020$0e0aa8c0@THUIS.LOCAL>
Subject: Re: Microsoft HTTP 1.1 Conformance?
Date: Tue, 22 Aug 2000 08:31:29 -0500
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700
Message-ID: <LAW-OE17wVN7miR9Odu00000055@hotmail.com>
X-OriginalArrivalTime: 22 Aug 2000 13:33:46.0328 (UTC) FILETIME=[98D92580:01C00C3D]
Resent-Message-ID: <"tDQf73.0.zg2.s5eev"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/848
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Actually you need to have IIS 4.0 installed.


----- Original Message -----
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Sent: Saturday, August 19, 2000 3:28 PM
Subject: RE: Microsoft HTTP 1.1 Conformance?


> You can let the MS Proxy Server only work with HTTP/1.1 if you install the
> Microsoft Internet Information Service (IIS) version 3.0 or later.
> At least, this is what MS says....
>
> - Joris
>
> > -----Original Message-----
> > From: Craig Schoeberle [mailto:cschoeberle@mediaone.net]
> > Sent: vrijdag 18 augustus 2000 1:30
> > To: j.p.tdobbelsteen@freeler.nl
> > Subject: RE: Microsoft HTTP 1.1 Conformance?
> >
> >
> > Any resolution to the http 1.1 issue?  We are using MS three
> > version 2.0
> > proxy servers in an array configured for reverse proxy to our
> > web servers.
> > The proxy servers are responding with http version 1.0 header to our
> > application servers. I have searched the entier internet and
> > the registry
> > for this setting and no luck. Any ideas?
> >
> > Thanks,
> >
> > Craig Schoeberle
> >
> >
>
>



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 06:35:03 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA15199
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 06:35:02 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id LAA29383;
	Fri, 25 Aug 2000 11:34:02 +0100 (BST)
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 LAA28220;
	Fri, 25 Aug 2000 11:34:01 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id LAA12918; Fri, 25 Aug 2000 11:33:51 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 11:33:51 +0100 (BST)
From: OSeemann@gmx.net
Date: Fri, 25 Aug 2000 12:32:15 +0200 (MEST)
To: http-wg@cuckoo.hpl.hp.com
MIME-Version: 1.0
Subject: problem with responses to post-requests
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0001921472@gmx.net
X-Authenticated-IP: [62.155.169.129]
Message-ID: <24992.967199535@www22.gmx.net>
X-Mailer: WWW-Mail 1.5 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"SosZ51.0.p93.Fkafv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/849
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

i've got a problem while responding to POST requests.

i'm currently developing a small http-server to configure some files via a
webbrowser.

while sending responses to GET requests everything works fine and the
browser prints the output. but if i try to handle a post request i encounter
different reactions by netscape navigator and internet explorer.

after processing the content of the post-request i'm sending the
html-output to the client and close the connection. this works fine with NN. but IE
doesn't show the page and gives an error-msg telling me that the connection
has been reset.

i just don't get it why NN is doing fine and IE not.

what's the difference between responses to GET and POST requests ?

why is IE telling me errors and not showing the transmitted page ?


greetings,
olli


here's some of the code:

while ((conn = accept(sock,(struct sockaddr *) &addr,&addr_length)) >= 0)
{
 /*
  reading/parsing header etc.
 */

if (strcmp(request->method,"POST") == 0)
{
 putsock(conn,"HTTP/1.0 200 OK\n");
 putsock(conn,"Content-Type: text/plain\n\n");
 putsock(conn,"Netscape Navigator shows this.\
              Internet Explorer gives error");
}

// here NN says "Document Done" and shows the page
// but IE gives error msg "Connection Reset"
close(conn); 
}


-- 
Sent through GMX FreeMail - http://www.gmx.net



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 07:41:25 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA16888
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 07:41:24 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id MAA01468;
	Fri, 25 Aug 2000 12:40:46 +0100 (BST)
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 MAA02272;
	Fri, 25 Aug 2000 12:40:44 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id MAA13110; Fri, 25 Aug 2000 12:40:42 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 12:40:42 +0100 (BST)
From: "Scott Lawrence" <lawrence@agranat.com>
To: <OSeemann@gmx.net>, <http-wg@cuckoo.hpl.hp.com>
Subject: RE: problem with responses to post-requests
Date: Fri, 25 Aug 2000 07:36:57 -0400
Message-ID: <000d01c00e88$c6756f60$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: <24992.967199535@www22.gmx.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Resent-Message-ID: <"uBp7T2.0.pC3.wibfv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/850
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> after processing the content of the post-request i'm sending
> the html-output to the client and close the connection. this
> works fine with NN. but IE doesn't show the page and gives an
> error-msg telling me that the connection has been reset.

> what's the difference between responses to GET and POST
> requests ?

There isn't any.
 
> why is IE telling me errors and not showing the transmitted page ?
 
> if (strcmp(request->method,"POST") == 0)
> {
>  putsock(conn,"HTTP/1.0 200 OK\n");
>  putsock(conn,"Content-Type: text/plain\n\n");
>  putsock(conn,"Netscape Navigator shows this.\
>               Internet Explorer gives error");
> }
> 
> // here NN says "Document Done" and shows the page
> // but IE gives error msg "Connection Reset"
> close(conn); 
> }

Those "\n" should really be "\r\n", but that isn't your problem.

Your TCP is probably (incorrectly) sending an RST when you do the
close.  If the browser hasn't read all of the response, then any
unread part will be discarded and produce the error you are
seeing.  The difference between the browsers could be timing or
differences in the way they do i/o.

If your platform supports it, use shutdown() rather than close().

--
Scott Lawrence         Architect             <lawrence@agranat.com>
Virata             http://www.virata.com/         http://emweb.com/



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 09:32:38 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA20228
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 09:32:38 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id OAA05134;
	Fri, 25 Aug 2000 14:31:45 +0100 (BST)
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 OAA09696;
	Fri, 25 Aug 2000 14:31:43 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id OAA13345; Fri, 25 Aug 2000 14:31:33 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 14:31:33 +0100 (BST)
X-Lotus-FromDomain: NEON
From: "Fred Bohle" <fbohle@neonsys.com>
To: OSeemann@gmx.net
cc: http-wg@cuckoo.hpl.hp.com
Message-ID: <86256946.004A0E78.00@internet1.neonsys.com>
Date: Fri, 25 Aug 2000 08:26:43 -0500
Subject: Re: problem with responses to post-requests
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Resent-Message-ID: <"T322d2.0.UG3.rKdfv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/851
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com





Fred Bohle@NEON
08/25/2000 08:26 AM

Olli,
     You didn't mention http version in the browsers.  If Netscape
is using 1.0 and IE is using 1.1, you may have a problem with omitting
the Connection: header.  I suggest adding a header line with

Connection: close

to tell the browser that you are closing the connection.  The addition of
a shutdown() call would help too.

     When all else fails, read the RFCs 1945 and 2616, available
from www.ietf.org.  Reading the Apache source code is useful too.

Fred





OSeemann@gmx.net on 08/25/2000 05:32:15 AM

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

Subject:  problem with responses to post-requests




i've got a problem while responding to POST requests.

i'm currently developing a small http-server to configure some files via a
webbrowser.

while sending responses to GET requests everything works fine and the
browser prints the output. but if i try to handle a post request i
encounter
different reactions by netscape navigator and internet explorer.

after processing the content of the post-request i'm sending the
html-output to the client and close the connection. this works fine with
NN. but IE
doesn't show the page and gives an error-msg telling me that the connection
has been reset.

i just don't get it why NN is doing fine and IE not.

what's the difference between responses to GET and POST requests ?

why is IE telling me errors and not showing the transmitted page ?


greetings,
olli


here's some of the code:

while ((conn = accept(sock,(struct sockaddr *) &addr,&addr_length)) >= 0)
{
 /*
  reading/parsing header etc.
 */

if (strcmp(request->method,"POST") == 0)
{
 putsock(conn,"HTTP/1.0 200 OK\n");
 putsock(conn,"Content-Type: text/plain\n\n");
 putsock(conn,"Netscape Navigator shows this.\
              Internet Explorer gives error");
}

// here NN says "Document Done" and shows the page
// but IE gives error msg "Connection Reset"
close(conn);
}


--
Sent through GMX FreeMail - http://www.gmx.net







From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 12:10:10 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA23687
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 12:10:09 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id RAA10322;
	Fri, 25 Aug 2000 17:09:33 +0100 (BST)
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 RAA20368;
	Fri, 25 Aug 2000 17:09:30 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA13796; Fri, 25 Aug 2000 17:09:28 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 17:09:28 +0100 (BST)
Sender: francis@localhost.localdomain
Message-ID: <39A69A51.88EB3A44@ecal.com>
Date: Fri, 25 Aug 2000 12:09:53 -0400
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-3 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: OSeemann@gmx.net
CC: http-wg@cuckoo.hpl.hp.com
Subject: Re: problem with responses to post-requests
References: <24992.967199535@www22.gmx.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"30Zgd3.0.UN3.ueffv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/852
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

OSeemann@gmx.net wrote:

> i've got a problem while responding to POST requests.
>
> i'm currently developing a small http-server to configure some files via a
> webbrowser.

You might find that the easiest way to be compliant is to build on top of an existing
Web server.  If you use Apache, you can strip out the parts you don't need.

--
/==============================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp.      |The plural of mongoose is polygoose.         |
|francis@ecal.com|                                             |
\==============================================================/





From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 15:10:31 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA27438
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 15:10:30 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id UAA14578;
	Fri, 25 Aug 2000 20:09:35 +0100 (BST)
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 UAA01128;
	Fri, 25 Aug 2000 20:09:33 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id UAA14226; Fri, 25 Aug 2000 20:09:31 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 20:09:31 +0100 (BST)
Mime-Version: 1.0
Message-Id: <p04320401b5cc736bd405@[128.52.39.204]>
Date: Fri, 25 Aug 2000 15:05:08 -0400
To: http-wg@cuckoo.hpl.hp.com
From: "John C. Mallery" <jcma@ai.mit.edu>
Subject: Use Proxy 505
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"DQlyX2.0.FU3.hHifv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/853
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

RFC 2616 does not state whether a status code of 305 should include
an entity or not.

I am assuming that it SHOULD include an entity just like the other
3xx status codes except 304.

Is this a correct assumption?



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 15:26:39 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA27623
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 15:26:39 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id UAA15066;
	Fri, 25 Aug 2000 20:26:11 +0100 (BST)
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 UAA02587;
	Fri, 25 Aug 2000 20:26:08 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id UAA14383; Fri, 25 Aug 2000 20:26:06 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 20:26:06 +0100 (BST)
Mime-Version: 1.0
Message-Id: <p04320402b5cc77cdd600@[128.52.39.204]>
Date: Fri, 25 Aug 2000 15:22:10 -0400
To: http-wg@cuckoo.hpl.hp.com
From: "John C. Mallery" <jcma@ai.mit.edu>
Subject: Use Proxy 305 (corrected)
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"lND7w.0.gW3.EXifv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/854
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

RFC 2616 does not state whether a status code of 305 should include
an entity or not.

I am assuming that it SHOULD include an entity just like the other
3xx status codes except 304.

Is this a correct assumption?



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 17:03:24 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA29518
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 17:03:24 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id WAA17350;
	Fri, 25 Aug 2000 22:02:55 +0100 (BST)
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 WAA08244;
	Fri, 25 Aug 2000 22:02:53 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA14645; Fri, 25 Aug 2000 22:02:51 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 22:02:51 +0100 (BST)
X-Originating-IP: [131.107.3.72]
From: "Keith Hoffman" <hoffmankeith@hotmail.com>
To: OSeemann@gmx.net, http-wg@cuckoo.hpl.hp.com
Subject: Re: problem with responses to post-requests
Date: Fri, 25 Aug 2000 21:01:52 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW-F114kdavN3qljWw00000a3b@hotmail.com>
X-OriginalArrivalTime: 25 Aug 2000 21:01:52.0610 (UTC) FILETIME=[B18F7420:01C00ED7]
Resent-Message-ID: <"hDPf_2.0.oa3.xxjfv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/855
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

do you have a test site where I could see this and also do you have any 
network traces of the problem?  I'd like to see if there is a problem with 
the way IE handles this.


>From: OSeemann@gmx.net
>To: http-wg@cuckoo.hpl.hp.com
>Subject: problem with responses to post-requests
>Date: Fri, 25 Aug 2000 12:32:15 +0200 (MEST)
>
>i've got a problem while responding to POST requests.
>
>i'm currently developing a small http-server to configure some files via a
>webbrowser.
>
>while sending responses to GET requests everything works fine and the
>browser prints the output. but if i try to handle a post request i 
>encounter
>different reactions by netscape navigator and internet explorer.
>
>after processing the content of the post-request i'm sending the
>html-output to the client and close the connection. this works fine with 
>NN. but IE
>doesn't show the page and gives an error-msg telling me that the connection
>has been reset.
>
>i just don't get it why NN is doing fine and IE not.
>
>what's the difference between responses to GET and POST requests ?
>
>why is IE telling me errors and not showing the transmitted page ?
>
>
>greetings,
>olli
>
>
>here's some of the code:
>
>while ((conn = accept(sock,(struct sockaddr *) &addr,&addr_length)) >= 0)
>{
>  /*
>   reading/parsing header etc.
>  */
>
>if (strcmp(request->method,"POST") == 0)
>{
>  putsock(conn,"HTTP/1.0 200 OK\n");
>  putsock(conn,"Content-Type: text/plain\n\n");
>  putsock(conn,"Netscape Navigator shows this.\
>               Internet Explorer gives error");
>}
>
>// here NN says "Document Done" and shows the page
>// but IE gives error msg "Connection Reset"
>close(conn);
>}
>
>
>--
>Sent through GMX FreeMail - http://www.gmx.net
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



From http-wg-request@cuckoo.hpl.hp.com  Fri Aug 25 17:40:18 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA00110
	for <http-archive@odin.ietf.org>; Fri, 25 Aug 2000 17:40:17 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id WAA18181;
	Fri, 25 Aug 2000 22:39:53 +0100 (BST)
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 WAA10346;
	Fri, 25 Aug 2000 22:39:51 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id WAA14919; Fri, 25 Aug 2000 22:39:42 +0100 (BST)
Resent-Date: Fri, 25 Aug 2000 22:39:42 +0100 (BST)
Sender: dmk@research.bell-labs.com
Message-ID: <39A6E71B.3AB0216E@bell-labs.com>
Date: Fri, 25 Aug 2000 17:37:31 -0400
From: Dave Kristol <dmk@bell-labs.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: HTTP Working Group <http-wg@hplb.hpl.hp.com>
Subject: nit on IETF HTTP-WG charter page
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"uuuoV3.0.4f3.UUkfv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/856
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

The following (erroneous) milestones appear on the HTTP-WG's charter page,
<http://www.ietf.org/html.charters/http-charter.html>:

Jun 96	Review additional features for HTTP/1.2

Oct 96	Submit HTTP/1.2 to IESG for consideration as a Proposed Standard.

I realize the milestones are wildly incorrect, but there is no HTTP/1.2 (yet),
and these references to it may lead someone to go digging around to try to find
it.

Dave Kristol



From http-wg-request@cuckoo.hpl.hp.com  Sun Aug 27 22:17:23 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA14834
	for <http-archive@odin.ietf.org>; Sun, 27 Aug 2000 22:17:22 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id DAA07940;
	Mon, 28 Aug 2000 03:15:41 +0100 (BST)
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 DAA20947;
	Mon, 28 Aug 2000 03:15:39 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id DAA04854; Mon, 28 Aug 2000 03:15:28 +0100 (BST)
Resent-Date: Mon, 28 Aug 2000 03:15:28 +0100 (BST)
Message-ID: <39A9CA6F.AB174DCE@bigfoot.com>
Date: Sun, 27 Aug 2000 22:11:59 -0400
From: sumanth <sumanth_sukumar@bigfoot.com>
X-Mailer: Mozilla 4.72 [en] (WinNT; U)
X-Accept-Language: en,zh-CN,zh
MIME-Version: 1.0
To: "John C. Mallery" <jcma@ai.mit.edu>
CC: http-wg@cuckoo.hpl.hp.com
Subject: Re: Use Proxy 305 (corrected)
References: <p04320402b5cc77cdd600@[128.52.39.204]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"sKPjA3.0.pB1.0jSgv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/857
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

In general all that is expected with a '305 Use Proxy'  response is a
proxy  name in the 'Location' field. Why would you want to return an
entity with the response?

Sumanth

"John C. Mallery" wrote:

> RFC 2616 does not state whether a status code of 305 should include
> an entity or not.
>
> I am assuming that it SHOULD include an entity just like the other
> 3xx status codes except 304.
>
> Is this a correct assumption?



From http-wg-request@cuckoo.hpl.hp.com  Mon Aug 28 08:19:50 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA05321
	for <http-archive@odin.ietf.org>; Mon, 28 Aug 2000 08:19:49 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id NAA17371;
	Mon, 28 Aug 2000 13:18:37 +0100 (BST)
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 NAA03639;
	Mon, 28 Aug 2000 13:18:34 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA14151; Mon, 28 Aug 2000 13:18:25 +0100 (BST)
Resent-Date: Mon, 28 Aug 2000 13:18:25 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "'John C. Mallery'" <jcma@ai.mit.edu>
Cc: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: Use Proxy 305 (corrected)
Date: Sun, 27 Aug 2000 13:25:26 +0200
Message-ID: <000101c010e9$c0358050$0e0ba8c0@THUIS.LOCAL>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
In-Reply-To: <p04320402b5cc77cdd600@[128.52.39.204]>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Resent-Message-ID: <"1uv0r2.0.4T3.HYbgv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/859
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

> -----Original Message-----
> From: John C. Mallery [mailto:jcma@ai.mit.edu]
> Sent: vrijdag 25 augustus 2000 21:22
> To: http-wg@cuckoo.hpl.hp.com
> Subject: Use Proxy 305 (corrected)
>
>
> RFC 2616 does not state whether a status code of 305 should include
> an entity or not.

You missed a part. 305 (Use Proxy) MUST include a location header pointing
to the proxy to be used using a URI.

>
> I am assuming that it SHOULD include an entity just like the other
> 3xx status codes except 304.

304 MUST include the date header.
Or, if clock-less, it MUST include:
	ETag and/or Content-Location
	Expires, Cache-Control, and/or Vary

>
> Is this a correct assumption?
>
>

You'd better read RFC2616 once again, and you see that you make the
incorrect assumptions.

An other possibility is that you mixed the body and entity. Entity
represents the headers and the body the actual data (e.g. HTML document).

The body is not needed, but may be included. Here is no information about.
MS-IIS send a body with a e.g. 301 response. Other servers may not do
this...

- Joris





From http-wg-request@cuckoo.hpl.hp.com  Mon Aug 28 08:21:39 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA05425
	for <http-archive@odin.ietf.org>; Mon, 28 Aug 2000 08:21:38 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id NAA17269;
	Mon, 28 Aug 2000 13:17:58 +0100 (BST)
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 NAA03547;
	Mon, 28 Aug 2000 13:17:56 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id NAA14125; Mon, 28 Aug 2000 13:17:46 +0100 (BST)
Resent-Date: Mon, 28 Aug 2000 13:17:46 +0100 (BST)
From: "Joris Dobbelsteen" <joris.dobbelsteen@mail.com>
To: "WWW WG (E-mail)" <http-wg@cuckoo.hpl.hp.com>
Subject: RE: problem with responses to post-requests
Date: Sun, 27 Aug 2000 13:17:26 +0200
Message-ID: <000001c010e9$88fd4d20$0e0ba8c0@THUIS.LOCAL>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
In-Reply-To: <24992.967199535@www22.gmx.net>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Resent-Message-ID: <"Q9MSO2.0.gS3.gXbgv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/858
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Are you sure "\n" (C++) represents CRLF or only a CR???

I thought it represents only the CR. Maybe this is the problem, because
RFC2616 requires you to send only CRLF in the headers and
status/'command'-line.

- Joris

> -----Original Message-----
> From: OSeemann@gmx.net [mailto:OSeemann@gmx.net]
> Sent: vrijdag 25 augustus 2000 12:32
> To: http-wg@cuckoo.hpl.hp.com
> Subject: problem with responses to post-requests
>
>
> i've got a problem while responding to POST requests.
>
> i'm currently developing a small http-server to configure
> some files via a
> webbrowser.
>
> while sending responses to GET requests everything works fine and the
> browser prints the output. but if i try to handle a post
> request i encounter
> different reactions by netscape navigator and internet explorer.
>
> after processing the content of the post-request i'm sending the
> html-output to the client and close the connection. this
> works fine with NN. but IE
> doesn't show the page and gives an error-msg telling me that
> the connection
> has been reset.
>
> i just don't get it why NN is doing fine and IE not.
>
> what's the difference between responses to GET and POST requests ?
>
> why is IE telling me errors and not showing the transmitted page ?
>
>
> greetings,
> olli
>
>
> here's some of the code:
>
> while ((conn = accept(sock,(struct sockaddr *)
> &addr,&addr_length)) >= 0)
> {
>  /*
>   reading/parsing header etc.
>  */
>
> if (strcmp(request->method,"POST") == 0)
> {
>  putsock(conn,"HTTP/1.0 200 OK\n");
>  putsock(conn,"Content-Type: text/plain\n\n");
>  putsock(conn,"Netscape Navigator shows this.\
>               Internet Explorer gives error");
> }
>
> // here NN says "Document Done" and shows the page
> // but IE gives error msg "Connection Reset"
> close(conn);
> }
>
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>



From http-wg-request@cuckoo.hpl.hp.com  Thu Aug 31 01:56:32 2000
Received: from hplb.hpl.hp.com (hplb.hpl.hp.com [192.6.10.2])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA23668
	for <http-archive@odin.ietf.org>; Thu, 31 Aug 2000 01:56:27 -0400 (EDT)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by hplb.hpl.hp.com (8.9.3/8.8.6 HPLabs Bristol Relay) with ESMTP id GAA22232;
	Thu, 31 Aug 2000 06:55:29 +0100 (BST)
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 GAA20130;
	Thu, 31 Aug 2000 06:55:28 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id GAA26695; Thu, 31 Aug 2000 06:55:14 +0100 (BST)
Resent-Date: Thu, 31 Aug 2000 06:55:14 +0100 (BST)
From: koen@win.tue.nl (Koen Holtman)
Message-Id: <200008310551.HAA01221@wsooti09.win.tue.nl>
Subject: Re: Use Proxy 305 (corrected)
In-Reply-To: <p04320402b5cc77cdd600@[128.52.39.204]> from "John C. Mallery" at "Aug 25, 2000  3:22:10 pm"
To: jcma@ai.mit.edu (John C. Mallery)
Date: Thu, 31 Aug 2000 07:51:21 +0200 (MET DST)
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: <"yXvPQ2.0.4X6.2DVhv"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/860
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

>RFC 2616 does not state whether a status code of 305 should include
>an entity or not.
>
>I am assuming that it SHOULD include an entity just like the other
>3xx status codes except 304.
>
>Is this a correct assumption?

The spec is silent on the issue of sending entity bodies with a 305.
I don't recall whether it is silent on purpose -- probably not.
Whether your assumption above is correct depends a bit on whether you
are writing client or server software.

1) if you are writing a client that gets 305 responses, you cannot
assume anything about an entity body being present, so you must be
prepared to handle either case.

2) if you are writing a server that sends 305 responses, the most
sensible thing to do, in my opinion, is to include a short HTML entity
body with human-readable instructions about using a proxy.

Koen.



