Grails multiple requests when using chunked transfer encoding?

The really simple fix is not to chunk the encoding. If you set the content length there should be no chunking Something like: response. ContentType = "mime/type" response.

ContentLength = f.length().

The really simple fix is not to chunk the encoding. If you set the content length there should be no chunking. Something like: response.

ContentType = "mime/type" response. ContentLength = f.length().

Good suggestion, I have added the contentLength, but I still see the multiple requests, but not the chunked response, so I now suspect it's not anything to do with the transfer encoding. Time to edit my question ;) – l0st3d Jan 15 '10 at 15:39.

The really simple fix is not to chunk the encoding. If you set the content length there should be no chunking.

I'd guess that the error you have above is caused by the user cancelling the download. This would cause an error and as some of the data has been sent in the response the exception you see is from grails attempting to write an error message to the response.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions