RE: contentEncoding header with empty body

"Jonathan Marsh" <[email protected]>
Newsgroups gmane.comp.web.services.description
Message-ID <03a201c75455$d7f2b7b0$3501a8c0@DELLICIOUS>
I think this is GIGO with the test framework.  The simplest fix is to add
whttp:contentEncoding="" to the <input> binding operation, so we don't have
to look for these edge cases when generating the assertions.  The test case
will still test what we want it to, which is that the <output> message is
gzipped.

I'll check in such a fix shortly.

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
 

> -----Original Message-----
> From: Keith Chapman [mailto:[email protected]]
> Sent: Saturday, February 17, 2007 9:11 PM
> To: Jonathan Marsh
> Subject: contentEncoding header with empty body
> 
> Just missed another thing regarding MessageTest-3G.
> |CodedEchoHTTPBinding |Binding has contentEncodingDefault as gzip. This
> in effect makes the contentEncoding of the operation GuaranteedFault
> gzip. The issue is that there is no input to GuaranteedFault and hence
> its body is empty. There is nothing bto be gziped. Is the gzip header
> needed in this case too? The framework looks for it.
> 
> 
> Thanks,
> Keith.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.