Nov 13, 2012

GAE - How to download your code in appengine server.

Here the simple way to do.

PATH_OF_YOUR_APPENGINE_SDK/bin/appcfg.sh --application=YOUR_APP_ID --email=xxxx@gmail.com download_app war

GAE - Setting mimetype manually in Web Apps

Google Appengine Static Files

In some static files. Google Appengine send a wrong mimetype and mostly set application/octet-stream.

To be fixed the minetype, we need to configure the mapping on your web.xml. See sample below how to declare the mapping.

  <mime-mapping>
        <extension>wsdl</extension>
        <mime-type>text/xml</mime-type>
  </mime-mapping>

Happy reading