[google-appengine] Re: Duplicating static serving
Solved the problem: when using the script caching is not done right (I think it's disabled). So I set the caching headers and voila! it worked! Thanks for your help. On Dec 27, 5:45 pm, Barry Hunter wrote: > http://www.google.com/search?q=python+%22content+type%22+app+engine > > 2009/12/27 MajorProgamming : > > > > > > > Okay, how can I set MIME/Content type correctly? That might've been > > the issue... > > > On Dec 27, 5:36 pm, Barry Hunter wrote: > >> Surely it depends on what your 'problem' was. > > >> As long as you setting a MIME/Content type on the dynamic file, the > >> browser shouldnt know the difference. > > >> If you can be more specifc, it would probably be alot easier for > >> someone to help you. > > >> 2009/12/27 MajorProgamming : > > >> > I recently came across an issue where I solved the problem by taking > >> > the same exact template file, and serving it static (in app.yaml) > >> > instead of dynamically (through a python script). So I was wondering: > >> > How can I serve files dynamically (e.g. templates), so that the result > >> > is exactly the same as when serving dynamically? > > >> > Thanks for your help... > > >> > -- > > >> > 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-appeng...@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> > google-appengine+unsubscr...@googlegroups.com. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/google-appengine?hl=en.-Hide quoted > >> > text - > > >> - Show quoted text - > > > -- > > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text - > > - Show quoted text - -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Re: Duplicating static serving
http://www.google.com/search?q=python+%22content+type%22+app+engine 2009/12/27 MajorProgamming : > Okay, how can I set MIME/Content type correctly? That might've been > the issue... > > On Dec 27, 5:36 pm, Barry Hunter wrote: >> Surely it depends on what your 'problem' was. >> >> As long as you setting a MIME/Content type on the dynamic file, the >> browser shouldnt know the difference. >> >> If you can be more specifc, it would probably be alot easier for >> someone to help you. >> >> 2009/12/27 MajorProgamming : >> >> >> >> > I recently came across an issue where I solved the problem by taking >> > the same exact template file, and serving it static (in app.yaml) >> > instead of dynamically (through a python script). So I was wondering: >> > How can I serve files dynamically (e.g. templates), so that the result >> > is exactly the same as when serving dynamically? >> >> > Thanks for your help... >> >> > -- >> >> > 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-appeng...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-appengine+unsubscr...@googlegroups.com. >> > For more options, visit this group >> > athttp://groups.google.com/group/google-appengine?hl=en.- Hide quoted text >> > - >> >> - Show quoted text - > > -- > > 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-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Duplicating static serving
Okay, how can I set MIME/Content type correctly? That might've been the issue... On Dec 27, 5:36 pm, Barry Hunter wrote: > Surely it depends on what your 'problem' was. > > As long as you setting a MIME/Content type on the dynamic file, the > browser shouldnt know the difference. > > If you can be more specifc, it would probably be alot easier for > someone to help you. > > 2009/12/27 MajorProgamming : > > > > > I recently came across an issue where I solved the problem by taking > > the same exact template file, and serving it static (in app.yaml) > > instead of dynamically (through a python script). So I was wondering: > > How can I serve files dynamically (e.g. templates), so that the result > > is exactly the same as when serving dynamically? > > > Thanks for your help... > > > -- > > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en.- Hide quoted text - > > - Show quoted text - -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.