[Catalyst] Re: RFC: Catalyst::Controller::REST::DBIC

Matt S Trout dbix-class at trout.me.uk
Mon May 5 12:34:10 BST 2008


On Mon, May 05, 2008 at 10:46:56AM +0100, luke saunders wrote:
> On Mon, May 5, 2008 at 1:20 AM, Patrick Donelan <pat at patspam.com> wrote:
> >
> > > No, but how you provide an alternative to full RESTness for clients that
> > > don't handle the full range of HTTP verbs -is- a matter for discussion.
> > >
> >
> > Which clients are we talking about here? I did a quick google search and
> > could only find an off-hand remark along the lines of "in 2006 safari had
> > poor support for REST verbs". I'm interested because in my own personal
> > experience I haven't run into any problems generating PUT/POST/GET/DELETE
> > with IE/FF/Opera browsers. Or are you talking about the inability to specify
> > anything other than GET or POST as a form method?
> >
> 
> I'm afraid I can't remember exactly, it was around two years ago and
> we needed to fire PUT requests using XHR in JS using Dojo and it just
> wasn't happening. Dojo has changed dramatically since then and now has
> an xhrPut method so I expect whatever the problem has been addressed.

Doubt it.

The problem was the browsers gleefully threw out half the headers we were
trying to send when we used a PUT request. Fuck all dojo can do about that
so far as I can see.

Of course I forget which browsers and which headers, but it sure as hell
fucked our shit up but good.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list