how can I catch HTTP 501?
Albert Ng
twinwing at gmail.com
Mon Feb 25 09:37:45 EST 2008
not that regular camping paths are anything less than awesome
On Mon, Feb 25, 2008 at 10:36 AM, Albert Ng <twinwing at gmail.com> wrote:
> Thanks for the advice Pedro, but unfortunately I've gone back to using the
> regular Camping paths. It's less RESTfull, but more robust.
>
> if I was to call app/1/k, markaby (?) would show me the cookie name, same
> with (i) for italic 1, (b) for bold 1, and a few others.
>
> On Sun, Feb 24, 2008 at 12:38 AM, pedro mg <seti at tquadrado.com> wrote:
>
> > Hi,
> >
> > i gave a quick look at the code and it seems you need to work out the
> > route for "ping" on the Devices class. I'm not using reststop, but
> > went to check it out.
> >
> >
> > http://reststop.rubyforge.org/classes/Camping/Controllers.src/M000011.html
> >
> > def no_method(e)
> > _error("No controller method responds to this route!", 501, e)
> > end
> >
> > def not_found(e)
> > _error("Record not found!", 404, e)
> > end
> >
> > Seems those 501 are being delivered by reststop.
> > ...
> > Or... you can try to change Reststop yourself ;) on your own risk,
> > following or not the REST architecture :)
> >
>
> > pedro mg
> > http://blog.tquadrado.com
> > _______________________________________________
> > Camping-list mailing list
> > Camping-list at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/camping-list
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20080225/8736e0f3/attachment.html
More information about the Camping-list
mailing list