[Twisted-Python] Deferring 201 status code

Vikas Kumar kumarvikas2605 at gmail.com
Tue Jun 23 11:17:06 MDT 2015


Hi,

My controller code first updates DB and then sends out 201 status code
indicating it is done updating in DB.
Issue is somebody waiting to fetch this update from DB will not work
immediately because DB update takes some time(approximately 0.5 second) to
come into effect.

Is there a way I can control/defer sending out 201?
Any sample code/link will be appreciated.

Regards
Vikas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20150623/4eade2b9/attachment.html>


More information about the Twisted-Python mailing list