Better debugging of requests
Merge pull request #1439 from psav/debug_requests

Better debugging of requests