WebResponse ContentLength 2G

2010-06-15 Thread Louis Letourneau
I'm trying to send a file 2G using ResourceStreamRequestTarget + FileResourceStream, but the content-type is always set to a big negative value typical of a long(2G) to int conversion. This is non-standard and the proxy we use refuses it (most browser just ignore it, but the RFC states that the

Re: WebResponse ContentLength 2G

2010-06-15 Thread Igor Vaynberg
yes, and attach your fix. -igor On Tue, Jun 15, 2010 at 10:47 AM, Louis Letourneau louis.letourn...@mail.mcgill.ca wrote: I'm trying to send a file 2G using ResourceStreamRequestTarget + FileResourceStream, but the content-type is always set to a big negative value typical of a long(2G) to

Re: WebResponse ContentLength 2G

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 12:47 PM, Louis Letourneau louis.letourn...@mail.mcgill.ca wrote: I'm trying to send a file 2G using ResourceStreamRequestTarget + FileResourceStream, but the content-type is always set to a big negative value typical of a long(2G) to int conversion. This is

Re: WebResponse ContentLength 2G

2010-06-15 Thread Jeremy Thomerson
I wonder - would there be any problem just changing that to *always* set the header to Long.toString(foo)? On Tue, Jun 15, 2010 at 12:57 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: yes, and attach your fix. -igor On Tue, Jun 15, 2010 at 10:47 AM, Louis Letourneau