I tried using an HTTPRedirect for the former but it balks at status
codes that aren't in the 300 range.
What's the appropriate way to accomplish this?
Thanks
-Kyle
cherrypy.response.status = "201 Created"
cherrypy.response.headers['Location'] = cherrypy.url(newid)
Alternately, you can supply an int (e.g. 201) and let CP write the
default Reason-Phrase (e.g. "Created") for you.
Robert Brewer
fuma...@aminus.org
Beautiful, thank you!
-Kyle