I have an application hosted on google app engine. Recently I bought a domain from a registrar who does not provide 301 redirects to www. I looked around and found that to be able to use the naked domain with google app engine(as the discontinued support for naked domains) I have to either do 301 redirects or edit the .htaccess file. Can I do this with a google app engine app given it's not Apache? If not, what is any work around for this, specially if I don't want to transfer my domain to another service?
Basically my site works as www.mysite.com
but I want mysite.com
to work too and a 301 redirect from mysite.com to www.mysite.com
is not provided by my registrar and GAE doesn't allow naked domains.