...
HTTPRequest httpRequest = new HTTPRequest(new URL(aRemoteServerUrl),
HTTPMethod.GET);
httpRequest.getFetchOptions().doNotFollowRedirects();

cookieManager.setCookies(httpRequest);

HTTPResponse httpResponse =
URLFetchServiceFactory.getURLFetchService().fetch(httpRequest);

cookieManager.storeCookies(httpRequest, httpResponse);
...

The above code run well in GAE sdk locally; however, when deployed in
GAE production server. It failed.

I debugged and found that the first cookie returned from
"aRemoteServerUrl" was somehow lost in GAE production server. And,
this made my code failed.

i.e. problem - incomplete cookies returned from GAE urlfetch service.

Any help?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to