dotcloud/dotcloud-cli — pull request #3 by shykes (2011-12-10 03:19:02+00:00)
Title: Optionally trace HTTP requests by setting the DEBUG environment variable

This is a small convenience patch to facilitate debugging of low-level http requests made by the rest client.

I used an environment variable to avoid having to pass command-line args to the RESTClient object - I felt it wasn't worth the trouble and this was an acceptable, low-impact compromise.