Tornado: Make Blocking HTTP Request in Async Handler?

Without more details it's hard to answer. It sounds like an issue using global variables or something like that. A good way to help debug this type of issue is to add logging statements before and after you modify data at each step.

Without more details it's hard to answer. It sounds like an issue using global variables or something like that. A good way to help debug this type of issue is to add logging statements before and after you modify data at each step.

Run your tornado app with --logging=debug on the command line to enable DEBUG level logging. Then add logging statements to help track down where the extra data is added. Import logging ... def on_response(self, response): logging.

Debug(response) self. Write(response. Body).

Started logging some of the data, and found out that, bizarrely, it was using an existing instance of a class I had (part of the RSS handler). Strange! But, thanks to your answer I fixed it.

Appreciate it! – Esten Hurtle Jul 19 at 21:28.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions