> 
> I have noticed a "problem" with Tomcat JSP generation on Unix 
> systems. We
> are currently attempting to generate dynamic WML via JSP 
> which we then send
> to a WAP Gateway for compilation into bytecode. While testing 
> our JSP pages
> via the Nokia SDK we noticed no problems. When we started testing via
> Nokia's NAMP Gateway we noticed that the code was not 
> compiling. Further
> investigation revealed the following: the JSP pages converts 
> some new-lines
> into CRLF (or \r\n) carriage returns. The Gateway does not 
> like this and I
> am not convinced that this isn't standard HTTP 1.1: can you 
> insert CRLF
> returns into chunked text data?
> 

Have you looked at the relevant RFCs?

ftp://ftp.isi.edu/in-notes/rfc2616.txt:

3.6.1 Chunked Transfer Coding

chunk          = chunk-size [ chunk-extension ] CRLF
                        chunk-data CRLF

Everywhere in the BNF the CRLF form is specified as correct.
This means Nokias NAMP gateway is broken.

s

Reply via email to