Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2003 18:42:40 +0530
From:      Nikhil Sidhaye <n_sidhaye@swissinfo.org>
To:        freebsd-java@freebsd.org
Subject:   Invalid Content-Length in POST method
Message-ID:  <oprxymzexbrbw1rm@mail.swissinfo.org>
In-Reply-To: <mailman.3.1067627526.43120.freebsd-java@freebsd.org>
References:  <mailman.3.1067627526.43120.freebsd-java@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

To all friends,

	Right now I am developing mobile solution (MIDlet). In one of module I 
wanted to post some data to resin HttpServer (Platform Unix variant). I got 
the error Invalid Content-Length 23,23. While 23 is the actual length 
passing to theHttpServer varying upon sending bytes. This happens if I 
omitted Content-Length  Header.

	The interesting part is the same code works well in J2ME Simulator. In 
simulator if I changed case of content-length then error occurs. But on 
real device Nokia 3650 any way the server sends response Invalid Content- 
Length 23, 23.

	Is there is specific sequence to set request properties (POST Headers)?

	Thanks in Advance.

./Nikhil
-- 
Using M2, Opera's revolutionary linux e-mail client: 
http://www.opera.com/m2/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?oprxymzexbrbw1rm>