You won't be able to spoof the source ip address of the requests that your app sends to your URLs and you don't want to. If you would, the server would send its response IP packets directly to the original clients.
You could try to set the HTTP request header field "X-Forwarded-For" to the value of your clients IP address. Of course, the server and / or the application that you call must support this header. regards, Stephan 2010/3/4 mscwd01 <[email protected]> > I dont like "bumping" posts, but this has wasted far too much of my > time now ;) > > Any help would be greatly appreciated. > > On Mar 3, 4:47 pm, mscwd01 <[email protected]> wrote: > > Hey, > > > > Is there a method in which I can receive a request and then forward > > the same request to an external URL (not redirect)? > > > > Importantly, the IP address of the device which made the initial > > request MUST be preserved. It must look, to the external URL, that the > > request came from the device which made the initial request and NOT > > from the app engine. > > > > The reason I need to do this is the external URL returns data whose > > representation changes regularly. My app engine application will parse > > this data and return it to my Android application in a format it > > expects. > > > > So is this at all possible? > > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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/google-appengine-java?hl=en.
