commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Smith" <dhtmlkitc...@gmail.com>
Subject Re: "Stream ended unexpectedly" - simple testcase
Date Wed, 16 Jul 2008 00:13:38 GMT
On Tue, Jul 15, 2008 at 11:05 AM, Martin Cooper <martinc@apache.org> wrote:
> On Tue, Jul 15, 2008 at 10:50 AM, Garrett Smith <dhtmlkitchen@gmail.com>
> wrote:
>
>> On Tue, Jul 15, 2008 at 10:26 AM, Mark Thomas <markt@apache.org> wrote:
>> > Garrett Smith wrote:
>> >>
>> >> On Tue, Jul 15, 2008 at 9:42 AM, Mark Thomas <markt@apache.org> wrote:
>> >>>
>> >>> Garrett Smith wrote:


>> I'm sending:
>>
>> req.send('--DATA1215979532633\n'
>>    +'Content-Disposition: form-data; name="name";'
>>    +'\n\na'
>>    +'--DATA1215979532633--');
>>
>
> In the above, do you really mean '\n'? It needs to be '\r\n'.
>

The code above is (a snip of) actual code that I saved to a file,
Form2.html (my prev post has the full code), and ran in Firefox 3. I
also posted a file process.jsp, and the actual result.

Where do you propose I use \r\n? I've tried replacing every occurence
of \n with \r\n and got the same result.

Garrett

> --
> Martin Cooper
>
[snip prev msg]

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message