Re: X-View headers

2006-10-31 Thread Jeremy Dunck
On 10/31/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > When I send a GET request, I do get the right header: > > X-Object-Type: blog.post > X-Object-Id: 1 > > (Wait, those are actually two different things in two different places > in Django. Hmmm...) Ah, it wasn't clear to me which X- hea

Re: X-View headers

2006-10-31 Thread Rob Hudson
Jeremy Dunck wrote: > It has to be a HEAD request. When I send a HEAD request to the one that was working, now it returns this header (which looks like a bug, and probably relates to ticket 1840 (http://code.djangoproject.com/ticket/1840) which looks complicated: X-View: django.contrib.auth.

Re: X-View headers

2006-10-30 Thread Jeremy Dunck
It has to be a HEAD request. On 10/30/06, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I found the bookmarklets in the admin doc pages and thought this would > be a useful thing for our teams to use. As a quick test I used curl -i > URL to see if the headers are set and they aren't. I told curl t

X-View headers

2006-10-30 Thread Rob Hudson
I found the bookmarklets in the admin doc pages and thought this would be a useful thing for our teams to use. As a quick test I used curl -i URL to see if the headers are set and they aren't. I told curl to use my current Firefox cookies (-b flag) and they still weren't there. So I set up the