[appengine-java] Set a header of text/cache-manifest when a .manifest file is downloaded.
Hi, I've been using the Google App Engine for Java to create a few interesting apps. I'd like to further develop one of these for the iPhone. It is possible to have the iPhone remember a web page to make it look like an App. To do this you need to specify a manifest file to tell the iPhone what to cache. The .manifest file must have a header specifying it is of type text/cache-manifest. Normally I'd simply edit the .htaccess file and add a AddType text/cache manifest .manifest to add the header when any .manifest file is downloaded. The question - how can I do this with the Google App Engine for Java? Thanks to anyone who can help. Larry -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/yF8aCSExh-YJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Set a header of text/cache-manifest when a .manifest file is downloaded.
Hi, > It is possible to have the iPhone remember a web page to make it look like > an App. To do this you need to specify a manifest file to tell the iPhone > what to cache. I think you are talking about html5 offline support -no? Works with 'droid too right? > The .manifest file must have a header specifying it is of type > text/cache-manifest. Normally I'd simply edit the .htaccess file and add a > AddType text/cache manifest .manifest to add the header when any .manifest > file is downloaded. > The question - how can I do this with the Google App Engine for Java? google servlet filter set up your filter add the following response.setContentType("text/cache-manifest"); -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.