[hunchentoot-devel] *approved-return-codes*

Is ist possible to add +http-created+ to the *approved-return-codes* list? Dojo jsonRestStore's post method requires a +http-created+, a +http-ok+ ist not enough. By default a +http-create+ returns a '<html> ...Created ...</html>' string and not my json text. But I can not appaise the effects. Helmut

That should not be a problem. You use *approved-return-codes* and/or *handle-http-errors-p* simply to determine what Hunchentoot should do automatically. On Wed, Mar 24, 2010 at 9:45 AM, <helmut@cybernetic-systems.de> wrote:
Is ist possible to add +http-created+ to the *approved-return-codes* list?
Dojo jsonRestStore's post method requires a +http-created+, a +http-ok+ ist not enough. By default a +http-create+ returns a '<html> ...Created ...</html>' string and not my json text.
But I can not appaise the effects.
Helmut
_______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
participants (2)
-
Edi Weitz
-
helmut@cybernetic-systems.de