> On Aug 4, 2019, at 8:43 PM, Waqar Khan <wk80...@gmail.com> wrote: > > Just for sake of completeness: > def print_json_response(resp, request): > request.write(json.dumps(resp)) > request.close()
Presumably this line actually says "request.finish()"? This is indeed the problem; just don't call "request.finish()" if notifyFinish() has already been callback'd. -g _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python