You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Rob S." <rs...@home.com> on 2001/02/12 03:09:24 UTC

[LIST PROBLEMS?] RE:

I keep getting these in my inbox.  Anyone else getting these?

- r

> -----Original Message-----
> From: 
> Sent: None
> Subject: 
> 
> 
>           by femail9.sdc1.sfba.home.com           (InterMail 
> vM.4.01.03.00 201-229-121) with ESMTP           id 
> <20010210190155.VCID4557.femail9.sdc1.sfba.home.com@h14.mail.home.
> com>           for <rs...@mail.rct1.bc.wave.home.com>;          
>  Sat, 10 Feb 2001 11:01:55 -0800 Received: from 
> mx8-w.mail.home.com (mx8-w.mail.home.com [24.0.95.73]) 	by 
> h14.mail.home.com (8.9.3/8.9.0) with ESMTP id LAA12832 	for 
> <rs...@home.com>; Sat, 10 Feb 2001 11:01:54 -0800 (PST) 
> Received: from apache.org (h31.sny.collab.net [64.208.42.41]) 	
> by mx8-w.mail.home.com (8.11.1/8.11.1) with SMTP id f1AJ1sJ24842 	
> for <rs...@home.com>; Sat, 10 Feb 2001 11:01:54 -0800 (PST) 
> Received: (qmail 46414 invoked by uid 500); 10 Feb 2001 19:01:47 
> -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; 
> run by ezmlm Precedence: bulk list-help: 
> <ma...@jakarta.apache.org> list-unsubscribe: 
> <ma...@jakarta.apache.org> list-post: 
> <ma...@jakarta.apache.org> Reply-To: 
> tomcat-dev@jakarta.apache.org Delivered-To: mailing list 
> tomcat-dev@jakarta.apache.org Received: (qmail 46405 invoked from 
> network); 10 Feb 2001 19:01:46 -0000 From: cmanolache@yahoo.com 
> Date: Sat, 10 Feb 2001 11:10:23 -0800 (PST) X-Sender: 
> costin@costin.Eng.Sun.COM To: "Ignacio J. Ortega" 
> <na...@siapi.es> cc: "'tomcat-dev'" 
> <to...@jakarta.apache.org> Subject: Re: your mail 
> In-Reply-To: <80...@ntserver> 
> Message-ID: 
> <Pi...@costin.Eng.Sun.COM> 
> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 
> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 
> > Hola Costin: >  > I've got this Fail , it's something you are 
> doing currently? or it's a > Windows quirk of something that is 
> working on ixes ?  Sorry - it was a cut&paste from the previous 
> test. ( the previous test is checking what happens when you 
> getInputStream() and read the body, and then getParameters() with 
> post, the  last one what happens if you getParamters() and the 
> getInputStream().  In the first case the body should be read - by 
> spec, and getParameters() should return only the GET params ( 
> that part is not defined in the  spec - it hust says that the 
> body shouldn't be read before getParams() ).  The second case is 
> also slightly undefined ( the spec doesn't mention what should 
> happen after getParameters, if getInputStream is called).  Tomcat 
> behavior is : - if getInputStream is used, the POST params will 
> be consumed, and  getParameters() will still work and return only 
> the GET params. - if after getParameters() the getInputStream is 
> called, the body  will be empty ( since we don't support 
> multipart in the current  connector )  I still have to add the 
> other 2-3 test cases for parameters ( include, jsps), but I'm 
> doing some cleanup for M1.   BTW, I'll start using tomcat_32 
> branch of watchdog for the nightly tests, so we can use the same 
> tests as with 3.2 ( watchdog changed in  the 3.2 branch, didn't 
> changed in the main - we can easily merge, but I think someone 
> else should do it).  One question - for better testing we should 
> also use a subset of  watchdog-4.0 ( i.e. without the Servlet2.3 
> tests ). Since the spec is backward compatible, we should be able 
> to run the 2.2 tests ( and make sure the behavior is similar - 
> there are places in 2.2 where the  behavior is undefined, but is 
> defined in 2.3 - I think our  "undefined" behavior should match 
> 2.3, to allow easy transition in future)  Costin    >  > 
> 8<----------------------------------------------------------------
> ---- > FAIL ( No data after the params are read ) POST > 
> /test/servlet/params.ParamsInputStream?a=x&m=n HTTP/1.0  > TEST: 
> ( responseBody matches 'a = [ x ]')  > Request:  >   POST 
> /test/servlet/params.ParamsInputStream?a=x&m=n HTTP/1.0 > Host: 
> localhost > Content-Type: application/x-www-form-urlencoded > 
> Content-Length: 7 >  > a=b&c=d >  > Comments: No data after the 
> params are read  > Message:  >   ERROR: expecting match on a = [ 
> x ] > GOT:  > Params = [m , a , c ] > m = [ n ] > a = [ x , b ] > 
> c = [ d ] > Query = a=x&m=n > START BODY:  >  > END BODY > 
> 8<----------------------------------------------------------------
> ---- >  > Saludos , > Ignacio J. Orteg >   --  Costin   
> ------------------------------------------------------------------
> --- To unsubscribe, e-mail: 
> tomcat-dev-unsubscribe@jakarta.apache.org For additional 
> commands, email: tomcat-dev-help@jakarta.apache.org 
>