Ben Bangert wrote: > On Jan 29, 2008, at 11:45 AM, Ian Bicking wrote: > >> POST or PUT over a resource automatically invalidates all caches (at > > Ok... so POST and PUT invalidate the cache... > >> POST /resource/1?_action=PUT doesn't invalidate any caches, and so it's >> not just rather useless, it's actually counterproductive. > > Err, wait, didn't you just say that POST invalidates the cache? I should > note that the _method=PUT is in the body, not the URL, as its a POST.
I didn't realize it was in the body, not a query string. In that case it's just absurd. You can't add stuff to the body of a PUT. The body *is* the PUT. You could add it to a header. But you can only do that in an XHR request. Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
