Monday, July 26, 2010

Re: errors serving text files using templates and static files

On ma, 2010-07-26 at 09:21 -0700, Josh wrote:
> return HttpResponse(menu, mimetype="plain/text")
>
> What makes Django's text serving different? What can I do to
> troubleshoot this issue further? Am I just missing something about
> how text files are served?

The correct mimetype is text/plain. I don't know how strict gpxe checks
that.
--
Dennis K.

They've gone to plaid!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment