List Info

Thread: REST methods and http return codes




REST methods and http return codes
user name
2006-10-04 14:00:43
I'm researching REST architecture, and I'm wondering how to
integrate the
response codes that currently are not defined in araneida.

For example, 200, 201, and 204 responses are all valid.  Is
there a way for
araneida to return these in a way that does *not* appear
like an error?

Jonathon McKitrick
--
My other computer is your Windows box.

_______________________________________________
lispweb mailing list
lispwebred-bean.com
http
://www.red-bean.com/mailman/listinfo/lispweb
REST methods and http return codes
user name
2006-10-04 15:53:49
IIRC, :response-code 204, then return t from your handler
function to  
stop Araneida sending a 404. You might also/instead want to
signal  
'response-sent wherever you are sending the response.

-R

On  4 Oct 2006, at 3:00 PM, Jonathon McKitrick wrote:

>
> I'm researching REST architecture, and I'm wondering
how to  
> integrate the
> response codes that currently are not defined in
araneida.
>
> For example, 200, 201, and 204 responses are all valid.
 Is there a  
> way for
> araneida to return these in a way that does *not*
appear like an  
> error?
>
> Jonathon McKitrick
> --
> My other computer is your Windows box.
>
> _______________________________________________
> lispweb mailing list
> lispwebred-bean.com
> http
://www.red-bean.com/mailman/listinfo/lispweb


_______________________________________________
lispweb mailing list
lispwebred-bean.com
http
://www.red-bean.com/mailman/listinfo/lispweb
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )