It wouldn't display anything.  I had to view the source to see the
output.

Serving it as a static file fixed the problem.

Thanks


On Sep 26, 5:11 pm, Anthony <[EMAIL PROTECTED]> wrote:
> Seems strange that it would be removed.. are you viewing the output in
> the FF xml view? Try a view source.
>
> Anyhow have you tried serving it as a static file...
>
> e.g.
>
> - url: /crossdomain.xml
>   static_files: static/crossdomain.xml
>   upload: static/crossdomain.xml
>
> On Sep 26, 8:15 pm, abowman <[EMAIL PROTECTED]> wrote:
>
> > I have a simple xml file that outputs the following when it is run
> > locally:
>
> > <?xml version="1.0" ?>
> > <cross-domain-policy>
> > <allow-access-from domain="*" />
> > <site-control permitted-cross-domain-policies="all" />
> > </cross-domain-policy>
>
> > When it is live, the first line is removed:
>
> > <cross-domain-policy>
> > <allow-access-from domain="*" />
> > <site-control permitted-cross-domain-policies="all" />
> > </cross-domain-policy>
>
> > What can I do to get this to render properly?  Is there someway I
> > should be setting the content type of the file?
>
> > This is the code for crossdomain.py:
>
> > str = """<?xml version=\"1.0\"?>
> > <cross-domain-policy>
> > <allow-access-from domain=\"*\" />
> > <site-control permitted-cross-domain-policies=\"all\"/>
> > </cross-domain-policy>"""
>
> > print str
>
> > and I've entered this to app.yaml
>
> > - url: /crossdomain.xml
> >   script: crossdomain.py
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to