pman
unread,Apr 28, 2012, 9:31:17 AM4/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
...
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?