Thanks Kevin, I'll give that a shot! On Thu, May 6, 2010 at 9:45 AM, Kevin Anthony <kevin.s.anth...@gmail.com>wrote:
> Do a tcp dump on the webserver when the requests come in from the emulator > and phone. Then compair the headers. > > Just a quick thought, is the webserver behind a firewall? If the emulator > is on a machine on the same network, that might be the cause > > Kevin A > > On May 6, 2010 12:23 PM, "Paul Tongyoo" <paul.tong...@gmail.com> wrote: > > Hi all-- > > I'm using HttpClient 3.x code to construct a MultipartEntity consisting of > a few strings and binary data and posting this data to my webserver. What's > odd is that when executing these posts from my local emulator, my webserver > accepts the request fine and the data is posted. However, executing this > same code from my mobile phones results in my webserver responding with an > HTTP 400 Bad Request response. Is there a way for me to capture the data > being sent by my phone to confirm if there is any differences in data being > sent than what my emulator is sending? Should there be any differences? > > Thanks for any tips, > Paul > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en