From http-wg-request@cuckoo.hpl.hp.com  Wed Mar  8 18:10:12 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA09695
	for <http-archive@odin.ietf.org>; Wed, 8 Mar 2000 18:10:11 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 7CC9F23D; Wed,  8 Mar 2000 15:10:09 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id XAA17730;
	Wed, 8 Mar 2000 23:10:06 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id XAA28943; Wed, 8 Mar 2000 23:10:02 GMT
Resent-Date: Wed, 8 Mar 2000 23:10:02 GMT
From: Jeffrey Mogul <mogul@pa.dec.com>
Message-Id: <200003082308.PAA29297@wera.pa.dec.com>
To: http-wg@hplb.hpl.hp.com
Subject: Two newish technical reports based on an HTTP trace
Date: Wed, 08 Mar 2000 15:08:03 -0800
X-Mts: smtp
Resent-Message-ID: <"0adaY1.0.947.9tjnu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/724
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

About a year ago, I gathered a long (90-day) proxy trace of
HTTP requests, including MD5 digests of the response bodies.
(No, you can't get access to this trace, so please don't even ask.)
I've finished a pair of technical reports based on this trace:

(1)
    "A trace-based analysis of duplicate suppression in HTTP"
    Compaq Western Research Lab Research Report 99/2, November 1999
    
    Many HTTP resources (pages, graphics, etc.) are exact
    duplicates of other resources with different URLs. If an HTTP
    cache contains a duplicate of a requested resource, and could
    detect this, it could avoid substantial network costs by
    returning the cached duplicate in place of the requested URL.
    Previous studies have shown that there is substantial
    duplication of content in both HTTP and FTP, and several
    protocols have been proposed to support efficient and safe
    duplicate suppression in HTTP. We use traces covering
    millions of HTTP requests to quantify the potential benefit
    of an HTTP duplicate-suppression extension. In particular, we
    show that the benefits vary depending on content-type, and
    that a small fraction of Web servers account for most of the
    duplicated resources.

    http://www.research.digital.com/wrl/techreports/abstracts/99.2.html
	for Postscript & PDF format versions

(2) "Errors in timestamp-based HTTP header values"
    Compaq Western Research Lab Research Report 99/3, December 1999

    Many of the caching mechanism in HTTP, especially in
    HTTP/1.0, depend on header fields that carry absolute
    timestamp values.  Errors in these values could lead to
    undetected cache incoherence, or to excessive cache misses.
    Using an extensive proxy trace, we looked for HTTP responses
    exhibiting several different categories of timestamp-related
    errors.  A significant fraction of these responses have
    detectable errors in timestamp-based header fields.
    
    http://www.research.digital.com/wrl/techreports/abstracts/99.3.html
	for Postscript & PDF format versions

-Jeff

P.S.: The astute observer will notice that there is also a
timestamp error in the date on one of these technical reports; I
was a bit optimistic about when I would finish it, and then it
was easier to issue it back-dated than to revise our report
numbering scheme.



From http-wg-request@cuckoo.hpl.hp.com  Wed Mar  8 20:22:09 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA18501
	for <http-archive@odin.ietf.org>; Wed, 8 Mar 2000 20:22:09 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id D20B71FD0; Wed,  8 Mar 2000 20:22:01 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id BAA25866;
	Thu, 9 Mar 2000 01:21:58 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id BAA29512; Thu, 9 Mar 2000 01:21:56 GMT
Resent-Date: Thu, 9 Mar 2000 01:21:56 GMT
Message-ID: <005601bf8965$36c22aa0$0dc0a8c0@jros>
From: "Jordi Ros" <jros@ece.uci.edu>
To: <http-wg@hplb.hpl.hp.com>
Subject: HTTP traffic statistics
Date: Wed, 8 Mar 2000 17:17:17 -0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0053_01BF8922.27EA8EC0"
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
Resent-Message-ID: <"ywSBX3.0.5D7.qolnu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/725
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.

------=_NextPart_000_0053_01BF8922.27EA8EC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am doing some analysis on the performance of an HTTP server for my =
research. Does anybody has or know where to get some information =
concerning real traffic statistics? More specifically, I would like to =
know what's the traffic percentage of each HTTP method (GET, PUT, =
HEAD,...) in a real world network. Any other statistics regarding HTTP =
traffic (such as number of bytes or packets per method-request ...) =
would also be of great help.

Thanks in advance!

Jordi


-------------------------------------------------------------------------=
----------------------------------------
Jordi Ros                                             email: =
jros@ece.uci.edu
Electrical and Computer Engineering      voice (work): (949) 622 0991
University of California, Irvine                  www: =
http://www.ece.uci.edu/~jros
-------------------------------------------------------------------------=
----------------------------------------


------=_NextPart_000_0053_01BF8922.27EA8EC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am doing some analysis on the =
performance of an=20
HTTP server for my research. Does anybody has or know where to get some=20
information concerning real traffic statistics? More specifically, I =
would like=20
to know what's the traffic percentage of each HTTP method (GET, PUT, =
HEAD,...)=20
in a real world network. Any other statistics regarding HTTP traffic =
(such as=20
number of bytes or packets per method-request ...) would also be of =
great=20
help.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jordi</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
-------------------------------------------------<BR>Jordi=20
Ros&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
email: <A =
href=3D"mailto:jros@ece.uci.edu">jros@ece.uci.edu</A><BR>Electrical and=20
Computer Engineering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voice (work): (949) =
622=20
0991<BR>University of California,=20
Irvine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
www: <A=20
href=3D"http://www.ece.uci.edu/~jros">http://www.ece.uci.edu/~jros</A><BR=
>------------------------------------------------------------------------=
-----------------------------------------<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0053_01BF8922.27EA8EC0--



From http-wg-request@cuckoo.hpl.hp.com  Sat Mar 11 04:12:16 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA22581
	for <http-archive@odin.ietf.org>; Sat, 11 Mar 2000 04:12:11 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 351C6650; Sat, 11 Mar 2000 01:12:07 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id JAA16499;
	Sat, 11 Mar 2000 09:12:03 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id JAA29615; Sat, 11 Mar 2000 09:12:00 GMT
Resent-Date: Sat, 11 Mar 2000 09:12:00 GMT
From: "Matthew Delco" <delco@cs.berkeley.edu>
To: <http-wg@hplb.hpl.hp.com>
Subject: HTTP Age Header Field (Section 14.6) - should overflow value be 2^31 or (2^31)-1?
Date: Sat, 11 Mar 2000 01:07:42 -0800
Message-ID: <000101bf8b39$41a089a0$4dc39888@Matt>
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.2377.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Resent-Message-ID: <"YRboQ2.0.iE7.VtWou"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/726
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Section 14.6 of RFC 2616 states that if a cache receives an age that is
larger than it can represent, or if overflow occurs, then it must transmit
an Age header with a value of 2147483648 (2^31).  Was the intent to select
the largest unsigned 31-bit integer, which is really (2^31)-1, or is there
some other rationale behind this choice?

MD



From http-wg-request@cuckoo.hpl.hp.com  Mon Mar 13 10:44:36 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA23811
	for <http-archive@odin.ietf.org>; Mon, 13 Mar 2000 10:44:35 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 17D7DF1A; Mon, 13 Mar 2000 07:44:32 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id PAA01442;
	Mon, 13 Mar 2000 15:44:27 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id PAA19073; Mon, 13 Mar 2000 15:44:24 GMT
Resent-Date: Mon, 13 Mar 2000 15:44:24 GMT
Sender: francis@localhost.localdomain
Message-ID: <38CD0CD5.19B228B@ecal.com>
Date: Mon, 13 Mar 2000 10:44:21 -0500
From: John Stracke <francis@ecal.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12-20 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: http-wg@hplb.hpl.hp.com
Subject: Re: HTTP Age Header Field (Section 14.6) - should overflow value be 2^31 
 or (2^31)-1?
References: <000101bf8b39$41a089a0$4dc39888@Matt>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"AEnyW.0.-f4.NpGpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/727
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

Matthew Delco wrote:

> Section 14.6 of RFC 2616 states that if a cache receives an age that is
> larger than it can represent, or if overflow occurs, then it must transmit
> an Age header with a value of 2147483648 (2^31).  Was the intent to select
> the largest unsigned 31-bit integer, which is really (2^31)-1, or is there
> some other rationale behind this choice?

2^31 is the smallest positive integer which cannot be represented in a signed
32-bit value; was that it?

--
/=================================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.   |
|Chief Scientist |================================================|
|eCal Corp.      |I will not buy this .signature, it is scratched.|
|francis@ecal.com|                                                |
\=================================================================/





From http-wg-request@cuckoo.hpl.hp.com  Mon Mar 13 14:50:51 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03433
	for <http-archive@odin.ietf.org>; Mon, 13 Mar 2000 14:50:51 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 1EA3EB07; Mon, 13 Mar 2000 14:51:45 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA16872;
	Mon, 13 Mar 2000 19:50:40 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA19907; Mon, 13 Mar 2000 19:50:38 GMT
Resent-Date: Mon, 13 Mar 2000 19:50:38 GMT
Date: Mon, 13 Mar 2000 11:46:45 -0800 (PST)
From: Matthew Delco <delco@CS.Berkeley.EDU>
To: http-wg@hplb.hpl.hp.com
Subject: Re: HTTP Age Header Field (Section 14.6) - should overflow value be
 2^31  or (2^31)-1?
In-Reply-To: <38CD0CD5.19B228B@ecal.com>
Message-ID: <Pine.SOL.4.10.10003131108090.27479-100000@cuzco.CS.Berkeley.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"VvZ7l1.0.zs4.EQKpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/728
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

On Mon, 13 Mar 2000, John Stracke wrote:

> Matthew Delco wrote:
> 
> > Section 14.6 of RFC 2616 states that if a cache receives an age that is
> > larger than it can represent, or if overflow occurs, then it must transmit
> > an Age header with a value of 2147483648 (2^31).  Was the intent to select
> > the largest unsigned 31-bit integer, which is really (2^31)-1, or is there
> > some other rationale behind this choice?
> 
> 2^31 is the smallest positive integer which cannot be represented in a signed
> 32-bit value; was that it?

I guess my main question is whether 1) it was the intent of the HTTP
specification to pick a 'maximum' value which can be represented by a
signed 32-bit value (and thus 2^31 was accidentally specified instead of
2^31-1), or 2) a conscious decision was made to specify a value outside of
this range.  The later case seems less likely, but if it's true then I'm
having trouble seeing why such value was selected given that it's likely
to add some (admittedly trivial) complexity to an implementation.  The
spec. could be read as stating "if a cache receives a value larger than
the largest positive integer it can represent ... it MUST transmit a Age
header with a value [larger than it can represent]".  Anyway, I doubt
there will ever be a page that's almost 70 years old, but it struck me as
odd nonetheless.

MD



From http-wg-request@cuckoo.hpl.hp.com  Mon Mar 13 16:15:26 2000
Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA06664
	for <http-archive@odin.ietf.org>; Mon, 13 Mar 2000 16:15:26 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel3.hp.com (Postfix) with ESMTP
	id D919C135E; Mon, 13 Mar 2000 13:15:21 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id VAA21029;
	Mon, 13 Mar 2000 21:15:16 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id VAA20389; Mon, 13 Mar 2000 21:15:14 GMT
Resent-Date: Mon, 13 Mar 2000 21:15:14 GMT
Date: Mon, 13 Mar 2000 13:14:54 -0800
From: Mark Nottingham <mnot@mnot.net>
To: Matthew Delco <delco@CS.Berkeley.EDU>
Cc: http-wg@hplb.hpl.hp.com
Subject: Re: HTTP Age Header Field (Section 14.6) - should overflow value be 2^31  or (2^31)-1?
Message-ID: <20000313131454.A5922@mnot.net>
References: <38CD0CD5.19B228B@ecal.com> <Pine.SOL.4.10.10003131108090.27479-100000@cuzco.CS.Berkeley.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.1.9i
In-Reply-To: <Pine.SOL.4.10.10003131108090.27479-100000@cuzco.CS.Berkeley.EDU>; from delco@CS.Berkeley.EDU on Mon, Mar 13, 2000 at 11:46:45AM -0800
Sender: mnot@akamai.com
Resent-Message-ID: <"UnmXE.0.Y-4.YfLpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/729
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

On Mon, Mar 13, 2000 at 11:46:45AM -0800, Matthew Delco wrote:
> header with a value [larger than it can represent]".  Anyway, I doubt
> there will ever be a page that's almost 70 years old, but it struck me as
> odd nonetheless.

More to the point, it's a big cache indeed that keeps an object for that
long without validating it...

*grin*

-- 
Mark Nottingham
http://www.mnot.net/



From http-wg-request@cuckoo.hpl.hp.com  Tue Mar 14 02:16:09 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA26134
	for <http-archive@odin.ietf.org>; Tue, 14 Mar 2000 02:16:08 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 351DA1601; Mon, 13 Mar 2000 23:16:01 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id HAA01289;
	Tue, 14 Mar 2000 07:15:58 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id HAA29666; Tue, 14 Mar 2000 07:15:48 GMT
Resent-Date: Tue, 14 Mar 2000 07:15:48 GMT
Date: Tue, 14 Mar 2000 09:11:51 +0200
From: "Denis A. Doroshenko" <d.doroshenko@omnitel.net>
To: http-wg@cuckoo.hpl.hp.com
Subject: user agent header question
Message-ID: <20000314091150.F5021@comrade.desert.lt>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.7i
X-Operating-System: OpenBSD/i386
Resent-Message-ID: <"9rzjw.0.VF7.aSUpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/730
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

hello,
i have one simple question: why user-agent header isn't standardized to
return much more useful information that it does today? it says completely
nothing about what is supported at client side, and we see so many
javascripts on the net, that perform sily detection of browser and
guess what that browser can. it would be much more useable to have
standardized header (why not User-Agent?) in a form like:

User-Agent: <user_agent_description> <header_separator> <supported_features_list>

where (mix of regex and C style declarations)

<user_agent_description>  -- <any_char> *
<header_separator>        -- "::"
<supported_features_list> -- <feature> [<feature_separator> <feature> \
                             [<feature_separator> <feature> [...]]]

<feature>                 -- <feature_name>[<info_separator> <additional_info>]
<feature_name>            -- <char> +
<info_separator>          -- '/'
<additional_info>         -- <char> +
<feature_separator>       -- ','

<any_char>                -- ' ' .. '\x7f'
<char>                    -- '!' .. '\x7f' # no space

that would return for example

User-Agent: Mozilla/4.61 [en] (X11; U; OpenBSD 2.6 i386; Nav) :: HTML/4.0,JavaScript/1.2,Java/1.2.2,Frames,DHTML,Stylesheets

(well, don't really pay attention to the numbers and items :-) instead of:

User-Agent: Mozilla/4.61 [en] (X11; U; OpenBSD 2.6 i386; Nav)

the reason is: the first header says me everything about what the
browser supports, and the second gives nothing. it also seems
reasonable to me to add this information to User-Agent header,
becasue it lists features of the borwser. however, it would
be anything bad if it would be User-Agent-Supports or something
like that.

Thank you in advance!..
-- 
Denis A. Doroshenko
Omnitel Ltd., Sevcenkos 25, Vilnius 2600, Lithuania
mailto:d.doroshenko@omnitel.net



From http-wg-request@cuckoo.hpl.hp.com  Tue Mar 14 06:58:47 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA05221
	for <http-archive@odin.ietf.org>; Tue, 14 Mar 2000 06:58:46 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 31B7B197E; Tue, 14 Mar 2000 03:58:27 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id LAA17299;
	Tue, 14 Mar 2000 11:57:17 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id LAA00849; Tue, 14 Mar 2000 11:57:12 GMT
Resent-Date: Tue, 14 Mar 2000 11:57:12 GMT
Date: Tue, 14 Mar 2000 01:53:05 +0000
From: Joe Orton <joe@orton.demon.co.uk>
To: http-wg@hplb.hpl.hp.com
Subject: Proxies, Request-URI, and digest-uri
Message-ID: <20000314015305.I246@ankh.dunno.local>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
Resent-Message-ID: <"8J5NU3.0.ED.OaYpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/731
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

Is it optional, or required, for proxy servers to rewrite the Request-URI
from absoluteURI to abs_path form? I can't find where it is specified that
it is allowed, except this reference in 2617: (3.2.2)

   digest-uri
     The URI from Request-URI of the Request-Line; duplicated here
     because proxies are allowed to change the Request-Line in transit.

If it *is* up to the proxy server whether it rewrites the Request-URI or
not, I think that makes 2617 sec 3.2.2.5 an impossible demand? Regarding
the value of the digest-uri field submitted in an Authorization: header.

                                           In particular, it MUST
   be an "absoluteURL" if the Request-URI is an "absoluteURL".

... if the proxy may change Request-URI from absoluteURI to abs_path, or
it may leave it as an absoluteURI, how will the client know which to
submit in digest-uri?

(a typo, too: that section uses "absoluteURL" twice... should be
absoluteURI?)

Regards,

joe



From http-wg-request@cuckoo.hpl.hp.com  Tue Mar 14 14:38:08 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06168
	for <http-archive@odin.ietf.org>; Tue, 14 Mar 2000 14:38:06 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id 75EFACD; Tue, 14 Mar 2000 14:38:59 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id TAA14685;
	Tue, 14 Mar 2000 19:37:52 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id TAA02425; Tue, 14 Mar 2000 19:37:48 GMT
Resent-Date: Tue, 14 Mar 2000 19:37:48 GMT
From: "Larry Rufo" <larry@hostme.com>
To: <http-wg@cuckoo.hpl.hp.com>
Subject: RE: user agent header question
Date: Tue, 14 Mar 2000 14:37:38 -0500
Message-ID: <NDBBIJLAHKGLDFBPGAMMGEGGLHAA.larry@hostme.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <20000314091150.F5021@comrade.desert.lt>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Resent-Message-ID: <"ozry91.0.ob.CKfpu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/732
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit


Hello!

I apologize for my rude behavior, in advance.  Mailing lists frequently have
tags, at the bottom with list information (i.e.: subscribe/unsubscribe,
archive info, etc.).  However, this list does not follow that convention.

I don't have the original email, which probably contained the info about
unsubscribing.  I attempted to unsubscribe with this:
http-wg-unsubscribe@hplb.hpl.hp.com

Obviously that attempt failed, so I am posting to this list for help.
Please, provide information about unsubscribing to this list.

Thank you,
Larry

-----Original Message-----
From: Denis A. Doroshenko [mailto:d.doroshenko@omnitel.net]
Sent: Tuesday, March 14, 2000 2:12 AM
To: http-wg@cuckoo.hpl.hp.com
Subject: user agent header question


hello,
i have one simple question: why user-agent header isn't standardized to
return much more useful information that it does today? it says completely
nothing about what is supported at client side, and we see so many
javascripts on the net, that perform sily detection of browser and
guess what that browser can. it would be much more useable to have
standardized header (why not User-Agent?) in a form like:

User-Agent: <user_agent_description> <header_separator>
<supported_features_list>

where (mix of regex and C style declarations)

<user_agent_description>  -- <any_char> *
<header_separator>        -- "::"
<supported_features_list> -- <feature> [<feature_separator> <feature> \
                             [<feature_separator> <feature> [...]]]

<feature>                 -- <feature_name>[<info_separator>
<additional_info>]
<feature_name>            -- <char> +
<info_separator>          -- '/'
<additional_info>         -- <char> +
<feature_separator>       -- ','

<any_char>                -- ' ' .. '\x7f'
<char>                    -- '!' .. '\x7f' # no space

that would return for example

User-Agent: Mozilla/4.61 [en] (X11; U; OpenBSD 2.6 i386; Nav) ::
HTML/4.0,JavaScript/1.2,Java/1.2.2,Frames,DHTML,Stylesheets

(well, don't really pay attention to the numbers and items :-) instead of:

User-Agent: Mozilla/4.61 [en] (X11; U; OpenBSD 2.6 i386; Nav)

the reason is: the first header says me everything about what the
browser supports, and the second gives nothing. it also seems
reasonable to me to add this information to User-Agent header,
becasue it lists features of the borwser. however, it would
be anything bad if it would be User-Agent-Supports or something
like that.

Thank you in advance!..
--
Denis A. Doroshenko
Omnitel Ltd., Sevcenkos 25, Vilnius 2600, Lithuania
mailto:d.doroshenko@omnitel.net




From http-wg-request@cuckoo.hpl.hp.com  Wed Mar 15 05:59:26 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA20494
	for <http-archive@odin.ietf.org>; Wed, 15 Mar 2000 05:59:25 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 4D7F8572; Wed, 15 Mar 2000 02:59:20 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id KAA11979;
	Wed, 15 Mar 2000 10:59:15 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id KAA12063; Wed, 15 Mar 2000 10:59:11 GMT
Resent-Date: Wed, 15 Mar 2000 10:59:11 GMT
Date: Wed, 15 Mar 2000 10:57:43 +0000
From: Joe Orton <joe@orton.demon.co.uk>
To: Paul Leach <paulle@Exchange.Microsoft.com>
Cc: http-wg@hplb.hpl.hp.com
Subject: Re: Proxies, Request-URI, and digest-uri
Message-ID: <20000315105743.A11979@york.ac.uk>
References: <19398D273324D3118A2B0008C7E9A569051BEF8D@SIT.platinum.corp.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <19398D273324D3118A2B0008C7E9A569051BEF8D@SIT.platinum.corp.microsoft.com>; from paulle@Exchange.Microsoft.com on Wed, Mar 15, 2000 at 12:40:31AM -0800
Resent-Message-ID: <"uZGYX1.0.Sy2._pspu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/733
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

> The client puts in digest-uri exactly what it put on the Request-URI.

Ah... my problem was, that the request then gets to the origin server as: 

FOOBAR /random/uri HTTP/1.1
Host: origin.server.com
Authorization: Digest blah blah 
      digest-uri="http://origin.server.com/random/uri" blah blah

And I read 3.2.2.5 to mean "digest-uri and Request-URI must match
octet-by-octet", where here they don't. Reading it again doesn't give the
same impression, though... the above request should not give a 400
response?

My mistake, sorry. 

joe



From http-wg-request@cuckoo.hpl.hp.com  Fri Mar 17 19:26:55 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA16235
	for <http-archive@odin.ietf.org>; Fri, 17 Mar 2000 19:26:54 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id 202F98C3; Fri, 17 Mar 2000 16:26:50 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id AAA26605;
	Sat, 18 Mar 2000 00:26:45 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id AAA04072; Sat, 18 Mar 2000 00:26:37 GMT
Resent-Date: Sat, 18 Mar 2000 00:26:37 GMT
Message-Id: <200003180025.TAA14248@raptor.research.att.com>
To: http-wg@hplb.hpl.hp.com
Cc: bala@research.att.com
Subject: Last Call on delta encoding in HTTP/1.1
Date: Fri, 17 Mar 2000 19:25:10 -0500
From: Balachander Krishnamurthy <bala@research.att.com>
Resent-Message-ID: <"JqHTB2.0.Y_.yqiqu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/734
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

    
Folks,

As some of you know, we have been pushing addition of a delta encoding
mechanism for http/1.1. The early paper on this was in SIGCOMM'97
      
	Potential benefits of delta encoding and data compression for HTTP 
	    http://www.research.att.com/~bala/papers/sigcomm97.ps.gz
    
3 ID's have been written and recently revised:

    Delta encoding in HTTP:
	    http://www.ietf.org/internet-drafts/draft-mogul-http-delta-03.txt
    
    Instance Digests in HTTP:
	    http://www.ietf.org/internet-drafts/draft-mogul-http-digest-02.txt
    
    The VCDIFF Generic Differencing and Compression Data Format    
	    http://www.ietf.org/internet-drafts/draft-korn-vcdiff-01.txt
    
This message constitutes the last call before we ask the IESG to consider
this as a Proposed Standard. If you have any concerns/questions, please send 
me email.
    
cheers,
bala
    
balachander krishnamurthy, at&t labs--research
www.research.att.com/~bala/papers



From http-wg-request@cuckoo.hpl.hp.com  Mon Mar 20 07:37:23 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA05315
	for <http-archive@odin.ietf.org>; Mon, 20 Mar 2000 07:37:23 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id 3D6063C3D; Mon, 20 Mar 2000 07:37:20 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id MAA06469;
	Mon, 20 Mar 2000 12:37:08 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id MAA01989; Mon, 20 Mar 2000 12:37:00 GMT
Resent-Date: Mon, 20 Mar 2000 12:37:00 GMT
Message-ID: <AA4C152BA2F9D211B9DD0008C79F760A95D74C@odin.cromwellmedia.co.uk>
From: Miles Sabin <msabin@cromwellmedia.co.uk>
To: http-wg@hplb.hpl.hp.com
Subject: Proxies and incorrect Content-Length
Date: Mon, 20 Mar 2000 12:35:14 -0000
X-Mailer: Internet Mail Service (5.5.2448.0)
Resent-Message-ID: <"M4b9j.0.2V.ijXru"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/735
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

I'm looking for a brief rundown on best-practice for how non-
caching, limited-buffering, proxies should handle origin server
responses with incorrect Content-Length headers.

As far as I can make out there are are only two cases where
a proxy will be able to _reliably_ detect an incorrect Content-
Length,

  HTTP1.1 origin server with Connection: close
  HTTP1.0 origin server with no Connection: keep-alive

in both cases a proxy can infer a Content-Length overrun
because it expects the connection to be closed at the end of 
the response entity. Overruns with persistent connections can't
easily be distinguished from a broken subsequent response, and
underruns can't easily be distinguished from a broken 
connection.

Given that overruns are quite common (usually the result of 
broken CGIs/SSIs not accounting for the length of non-static 
data) I'd quite like to be able to forward such responses.
However I don't want to have to buffer the whole response to
recalculate the CL. I can see a couple of possibilities,

  HTTP1.1 downstream client
    Strip off the response Content-Length and forward with
    chunked transfer encoding.

  HTTP1.0 downstream client
    Strip off the response Content-Length and close the
    connection after the response entity.

Unfortunately the second of these effectively precludes the
use of Keep-Alive on all HTTP1.0 responses: because the proxy
won't be able to determine whether or not there's been an
overrun until the origin-server has run over the end, so *all*
responses have to be presumed to be potential overrunners.

Other options avoid that problem, but look troublesome,

  Truncate the reponse entity
    Dangerous for non text/* types; problematic even for those
    (eg. stripped trailing copyright messages).

  Forward any content overrun, then close the connection.
    Problematic for HTTP1.0 Keep-Alive clients which might
    attempt to interpret the overrun as the headers of a
    subsequest response; technically illegal for an HTTP1.1
    proxy. OTOH, the proxy would be forwarding stuff which is
    no more broken than would have been received had the origin
    server been contacted directly.

Opinions?

Cheers,


Miles

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



From http-wg-request@cuckoo.hpl.hp.com  Mon Mar 20 07:47:19 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA09555
	for <http-archive@odin.ietf.org>; Mon, 20 Mar 2000 07:47:19 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id C25053E7C; Mon, 20 Mar 2000 07:47:16 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id MAA07250;
	Mon, 20 Mar 2000 12:47:09 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id MAA02243; Mon, 20 Mar 2000 12:47:07 GMT
Resent-Date: Mon, 20 Mar 2000 12:47:07 GMT
Message-ID: <008201bf9205$aadfaae0$0501a8c0@pro1>
From: "Pae Choi" <pro@bsc.net>
To: <http-wg@hplb.hpl.hp.com>
Date: Sun, 19 Mar 2000 18:45:51 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="euc-kr"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Resent-Message-ID: <"q93CU.0.0Z.BtXru"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
Subject: Unidentified subject!
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/736
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by ietf.org id HAA09555

help



From http-wg-request@cuckoo.hpl.hp.com  Thu Mar 23 06:49:39 2000
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA26146
	for <http-archive@odin.ietf.org>; Thu, 23 Mar 2000 06:49:38 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by palrel1.hp.com (Postfix) with ESMTP
	id D8862993; Thu, 23 Mar 2000 03:49:33 -0800 (PST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id LAA06381;
	Thu, 23 Mar 2000 11:49:28 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id LAA04689; Thu, 23 Mar 2000 11:49:19 GMT
Resent-Date: Thu, 23 Mar 2000 11:49:19 GMT
Message-ID: <00ae01bf94bd$925d2190$2d0210ac@versa>
From: "Vivek" <vivekb@versaware.com>
To: <http-wg@cuckoo.hpl.hp.com>
Subject: A Typical HTTP Problem
Date: Thu, 23 Mar 2000 17:17:03 +0530
Organization: Versaware Technologies (India) Pvt. Ltd.
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00AB_01BF94EB.9B466310"
X-Priority: 1
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Resent-Message-ID: <"g5PNf2.0.E91._IWsu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/737
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

This is a multi-part message in MIME format.

------=_NextPart_000_00AB_01BF94EB.9B466310
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi All,

My basic idea is to port an access db to a mysql db.

I have written a VC++ client which sends an http request  to a java =
servelet
which accepts the request and sends it to a mysql db.

I am reading all the records from a table in my access db and pumping =
each
record as a string to the servelet.

Now if i have 112 records in the table, the servelet gets only 56 =
requests
and only 56 records get into the mysql database.

The Java Web Server - jrun needs apache on linux.. so basically jrun =
sits on
apache which processes the http requests .
(jrun is required to run servelets on linux).

looks like an http timeout prob or somethin , but not able to figure out =
the
prob.

Still wondering if the problem is with HTTP/Apache/ Java Servelet / JRun =
or my
client.

Could i please have some help on this coz this is really urgent.

Thanks in advance,


Vivek.
Versaware Inc.
vivekb@versaware.com

------=_NextPart_000_00AB_01BF94EB.9B466310
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi All,<BR><BR>My basic idea is to port =
an access=20
db to a mysql db.<BR><BR>I have written a VC++ client which sends an =
http=20
request&nbsp; to a java servelet<BR>which accepts the request and sends =
it to a=20
mysql db.<BR><BR>I am reading all the records from a table in my access =
db and=20
pumping each<BR>record as a string to the servelet.<BR><BR>Now if i have =
112=20
records in the table, the servelet gets only 56 requests<BR>and only 56 =
records=20
get into the mysql database.<BR><BR>The Java Web Server - jrun needs =
apache on=20
linux.. so basically jrun sits on<BR>apache which processes the http =
requests=20
.<BR>(jrun is required to run servelets on linux).<BR><BR>looks like an =
http=20
timeout prob or somethin , but not able to figure out =
the<BR>prob.<BR><BR>Still=20
wondering if the problem is with HTTP/Apache/ Java Servelet / JRun or=20
my<BR>client.<BR><BR>Could i please have some help on this coz this is =
really=20
urgent.<BR><BR>Thanks in advance,<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Vivek.<BR>Versaware Inc.<BR><A=20
href=3D"mailto:vivekb@versaware.com">vivekb@versaware.com</A></FONT></DIV=
></BODY></HTML>

------=_NextPart_000_00AB_01BF94EB.9B466310--



From http-wg-request@cuckoo.hpl.hp.com  Thu Mar 23 18:50:09 2000
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA16172
	for <http-archive@odin.ietf.org>; Thu, 23 Mar 2000 18:50:08 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel2.hp.com (Postfix) with ESMTP
	id EA7D8C9C; Thu, 23 Mar 2000 18:50:05 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id XAA18247;
	Thu, 23 Mar 2000 23:50:01 GMT
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id XAA07022; Thu, 23 Mar 2000 23:49:53 GMT
Resent-Date: Thu, 23 Mar 2000 23:49:53 GMT
From: Jeffrey Mogul <mogul@pa.dec.com>
Message-Id: <200003232348.PAA03864@wera.pa.dec.com>
To: Miles Sabin <msabin@cromwellmedia.co.uk>
Cc: http-wg@hplb.hpl.hp.com
Subject: Re: Proxies and incorrect Content-Length 
In-Reply-To: Your message of "Mon, 20 Mar 2000 12:35:14 GMT."
             <AA4C152BA2F9D211B9DD0008C79F760A95D74C@odin.cromwellmedia.co.uk> 
Date: Thu, 23 Mar 2000 15:48:24 -0800
X-Mts: smtp
Resent-Message-ID: <"85o8O2.0.ej1.Xsgsu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/738
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com

    I'm looking for a brief rundown on best-practice for how non-
    caching, limited-buffering, proxies should handle origin server
    responses with incorrect Content-Length headers.

We decided, when editing the HTTP/1.1 spec, NOT to specify
the behavior of the protocol in every possible error condition,
because there are so many possible error cases (since there
are so many different headers).

Instead, I think one should fall back on one or both of two
very basic principles, when looking for guidance about how
to make an implementation decision (and when you are sure
that the spec itself provides no guidance!):

(1) The Robustness Principle, as explained in RFC791 (the
IPv4 specification), section 3.2:
  The implementation of a protocol must be robust.  Each implementation
  must expect to interoperate with others created by different
  individuals.  While the goal of this specification is to be explicit
  about the protocol there is the possibility of differing
  interpretations.  In general, an implementation must be conservative
  in its sending behavior, and liberal in its receiving behavior.  That
  is, it must be careful to send well-formed datagrams, but must accept
  any datagram that it can interpret (e.g., not object to technical
  errors where the meaning is still clear).

To apply this to an HTTP proxy, I would focus on the "be liberal
in its receiving behavior" - i.e., don't drop responses because
they appear to be illegal.  In fact, I don't think we have ever
defined a status code that a proxy could use to say "I dropped
the response you were expecting because it seemed illegal to me",
and it seems like a bug to silently drop (or truncate) responses.

(2) The (less formally stated) rule for HTTP proxies:
	It's always allowed to act like a tunnel.

RFC2616 says
					tunnels are used when the
   communication needs to pass through an intermediary (such as a
   firewall) even when the intermediary cannot understand the contents
   of the messages.

which arguably applies in this case.

However, there is a catch: if the proxy has modified the client's
original request (e.g., to convert a simple request into a Range
request), then it has already blown its chance to act like a
true tunnel.  I'm not sure what to do in this case.
    
You suggest, as one option:

  Forward any content overrun, then close the connection.
    Problematic for HTTP1.0 Keep-Alive clients which might
    attempt to interpret the overrun as the headers of a
    subsequest response; technically illegal for an HTTP1.1
    proxy. OTOH, the proxy would be forwarding stuff which is
    no more broken than would have been received had the origin
    server been contacted directly.

This seems like the most straightforward "act like a tunnel"
approach.  As you point out, it's no worse than if the proxy
weren't involved in the first place, which is really the
implication of the Robustness Principle ("first, do no harm").

-Jeff



From http-wg-request@cuckoo.hpl.hp.com  Tue Mar 28 11:12:08 2000
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22910
	for <http-archive@odin.ietf.org>; Tue, 28 Mar 2000 11:12:04 -0500 (EST)
Received: from otter.hpl.hp.com (otter.hpl.hp.com [15.144.59.2])
	by atlrel1.hp.com (Postfix) with ESMTP
	id CD0941B3; Tue, 28 Mar 2000 11:11:55 -0500 (EST)
Received: from cuckoo.hpl.hp.com (cuckoo.hpl.hp.com [15.144.30.127])
	by otter.hpl.hp.com (8.9.3/HP-Labs Bristol Internal Mail Hub) with ESMTP id RAA12331;
	Tue, 28 Mar 2000 17:11:53 +0100 (BST)
Received: (from procmail@localhost) by cuckoo.hpl.hp.com (8.7.6/8.7.3 TIS 5.0) id RAA26799; Tue, 28 Mar 2000 17:11:45 +0100 (BST)
Resent-Date: Tue, 28 Mar 2000 17:11:45 +0100 (BST)
From: Patrick McManus <mcmanus@appliedtheory.com>
Message-Id: <200003281608.LAA24614@justice.atc-bos.com>
Subject: 1.1 proxy interaction with 1.0 client and bad EOF behavior
To: http-wg@hplb.hpl.hp.com (http working group)
Date: Tue, 28 Mar 2000 11:08:27 -0500 (EST)
Cc: mcmanus@appliedtheory.com (patrick mcmanus)
Reply-To: mcmanus@appliedtheory.com
X-Mailer: Franken-ELM-2K [version 2.9X PL99 PGP2]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"2mfX92.0.iY6.1dDuu"@cuckoo>
Resent-From: http-wg@cuckoo.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/739
X-Loop: http-wg@cuckoo.hpl.hp.com
Precedence: list
Resent-Sender: http-wg-request@cuckoo.hpl.hp.com
Content-Transfer-Encoding: 7bit

consider this:

I've got a 1.1 origin server.. that has foo.html which is a static
document of 25052 bytes.. I've got a 1.0 client.. traditional response
for that document would have a Content-Length header of 25052 and the
response would be terminated by EOF.. if that connection is terminated
accidentlaly during transfer at least the client knows that 25052
bytes haven't been received (if the server was a good implementation
and included the CL header..)

now consider a 1.1 proxy in the chain.. the client sends a 1.0 request
to the 1.1 proxy.. the proxy upgrades the request to 1.1 and adds a
TE: gzip header.. the 1.1 server responds with "transfer-encoding:
gzip, chunked" and no content-length header (because its prohibited to
mix content length with non identity transfer-encoding in 4.4 ).. 

the 1.1 proxy has a dilemna with a couple of bad choices:

  a] strip the gzip as it's recvd from upstream and send what output
  you have downstream.. the response header will lack a content-length
  because the origin server was prohibited from sending the identity
  size.. when you're all done, send EOF as terminator.. if downstream
  response gets interrupted the client has no way to detect
  truncation.

  b] do store and forward, removing the the encoding and calculating
  the identity length after it has all been received. This introduces
  big time queuing delays.

both situations seem inferior to the proxy not being there at all and
it seems to be a 1.1 interaction.. think something is missing?

-P



