tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EOIN MCQUILLAN <eoin.mcquil...@btinternet.com>
Subject Re: Tomcat and HTTP chunk extensions
Date Wed, 05 Jan 2011 14:29:21 GMT
Thanks for the reply Andr=E9.=0A=0AI am taking my terminology from RFC 2616=
 so "chunk-extension" should be the =0Aright terminology I think.=0A=0AI do=
n't think multiparting would be the way to go in this case. Really with the=
 =0Achunking extensions the idea for me would be to mid-request be able to =
=0Acommunicate between client and server. The request will be fairly long l=
ived and =0Ainvolves a lot of data being transferred.=0A=0A=0A       Chunke=
d-Body   =3D *chunk=0A                        last-chunk=0A                =
        trailer=0A                        CRLF=0A=0A       chunk          =
=3D chunk-size [ chunk-extension ] CRLF=0A                        chunk-dat=
a CRLF=0A       chunk-size     =3D 1*HEX=0A       last-chunk     =3D 1*("0"=
) [ chunk-extension ] CRLF=0A=0A       chunk-extension=3D *( ";" chunk-ext-=
name [ "=3D" chunk-ext-val ] )=0A       chunk-ext-name =3D token=0A       c=
hunk-ext-val  =3D token | quoted-string=0A       chunk-data     =3D chunk-s=
ize(OCTET)=0A       trailer        =3D *(entity-header CRLF)=0A=0A=0A=0A=0A=
=0A________________________________=0AFrom: Andr=E9 Warnier <aw@ice-sa.com>=
=0ATo: Tomcat Users List <users@tomcat.apache.org>=0ASent: Wednesday, 5 Jan=
uary, 2011 14:16:08=0ASubject: Re: Tomcat and HTTP chunk extensions=0A=0AEO=
IN MCQUILLAN wrote:=0A> Hi,=0A>      I'm looking at extending a web applica=
tion we have so as HTTP POSTs sent =0A>to it will contain information in th=
e form of chunk extensions. In addition on =0A>reply to these POST requests=
 I would like to write a chunk extension back to the =0A>caller.=0A>     Is=
 there anything in the API which would allow me to a) extract the =0A>exten=
sion from the request b) add detail in the form of a chunk extension to the=
 =0A>reply?=0A>     I have been looking at online documentation and all I c=
an find at present =0A>is that Tomcat looks like it supports reading chunk =
extensions but I can see =0A>nothing about being able to write chunk extens=
ions or access the detail from a =0A>chunk extension.=0A>    I am using ver=
sion 6.0.29. If anyone has any ideas or links on this topic it =0A>would be=
 greatly appreciated.=0A> =0AHi.=0AI have never heard of the term "chunk ex=
tension" before in a HTTP context.=0AAre you sure that this is the right te=
rm for what you are trying to find, or =0Aachieve ?=0A=0AMaybe that is why =
you are not finding any information ?=0A=0AMaybe you talking about a POST i=
n "multipart/form-data" format ?=0A(and a response in a similar multi-part =
kind of format, although that would =0Acause problems with most browsers)=
=0A=0A=0A------------------------------------------------------------------=
---=0ATo unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org=0AFor add=
itional commands, e-mail: users-help@tomcat.apache.org
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message