Separate the debug code from the function http_request().
Merge pull request #3 from B-Translator/separate-debug-code

Separate the debug code from the function http_request().