These days research j2me picture file upload, mobile phone use fileconnection Browse folder, read picture file,
Then commit to the HTTP interface on the server.
The first is the httpconnection, send the data (build file Upload method is the same), found that the data are used chunked code,
There is nothing on the service side (there is a strange problem, I use this machine to do the service side, even if the chunked code, can also complete access to the data),
Chunked only occurs when the data exceeds 2016 bytes.
So the internet to collect data, found that Mingjava's colala example is to cut the data into 1700 byte size, loop upload, until the upload is completed,
(I don't know if Mingjava is going to do this intentionally, or if I have a problem with chunked coding at the time. hh)
There is also the online discussion of the http/1.1 http/1.0 problem, seems to be wrong. Because the socket data, set the http/1.1 http/1.0 results are the same.