Hello ! I would like to receive the body (all of his entity) of a http post.
I use this: ---------------------------------------------------------------------- DefaultHttpServerConnection serv_con = new DefaultHttpServerConnection (); serv_con.bind(client_socket, new BasicHttpParams()); HttpRequest header = serv_con.receiveRequestHeader(); BasicHttpEntityEnclosingRequest http_enclo = new BasicHttpEntityEnclosingRequest(header.getRequestLine()); serv_con.receiveRequestEntity(http_enclo); HttpEntity ent = http_enclo.getEntity(); --------------------------------------------------------------------- And this simple form: -------------------------------------------------------------------- <html> <body> <form enctype="multipart/form-data" method="post" action="localhost: 8080"> <input type="text" value="abcdefghijk" name="text"/> <input type="submit" value="Submit"/> </form> </body> </html> ------------------------------------------------------------------- But the stream ent.getContent() not contain any data :/ ! I think i don't understand ^^ ! How i can receive one or more entity of a post request ? Thank in advance :) ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

