Ah, thanks for letting me know - the original snippet by eallik had support for this, but I must have stripped it out not realising.
On Thu, Sep 13, 2012 at 1:34 AM, Matt Schinckel <m...@schinckel.net> wrote: > One really small nitpick: when returning a 405, it is a requirement that > you return a header with the acceptable methods: >> >> > > 10.4.6 405 Method Not Allowed > > > The method specified in the Request-Line is not allowed for the resource > identified by the Request-URI. The response MUST include an Allow header > containing a list of valid methods for the requested resource. > > (From http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/8vKvmPp9uTgJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.