Http POST problem
Hi
I am currently writing an MIDP application that POST's data to an embedded http server (embedded in a small electronic device). My problem is that the embedded http server is very senitive to the http POST format that I send it. When I use The HttpConnection class to post data the follow format is posted...
(When using WTK 2.2 and fiddler http debuger)
1.POST /servlet/MyServlet HTTP/1.1
2.Content-type: text/xml
3.Content-length: 5
4.Host: 192.168.1.111
5.Transfer-Encoding: chunked
6.
7.5
8.tinny
9.0
10.
The embedded server will only accept...
1.POST /servlet/MyServlet HTTP/1.1
2.Content-type: text/xml
3.Content-length: 5
4.Host: 192.168.1.111
5.
6.tinny
Is there anyway that I can get my desirered format using the HttpConnection class?
Is the 揟ransfer-Encoding: chunked?header my problem? If so can I disable it?
I would greatly appreciate any help anyone could give me, thanks in advance
Tinny :-)

