You need to set no-cache headers because it seems the urlfetchservice caches
the responses.  I use the HttpRequest method for downloading fresh content
like this:

HTTPRequest request = new HTTPRequest(uri.toURL());
//Without these headers, AppEngine caches the url fetch
request.setHeader(new HTTPHeader("Cache-Control", "no-cache,max-age=0"));
request.setHeader(new HTTPHeader("Pragma", "no-cache"));
Future<HTTPResponse> future = this.urlFetchService.fetchAsync(request);

-- 
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.

Reply via email to