title: Spark Core's API returns HTTPS 400 error
body: <p>I'm trying to make HTTPS requests to Spark's Cloud API. I am using the following code with the httplib library</p>
  
  <pre><code>import httplib
  spark = httplib.HTTPSConnection("api.spark.io")
  spark.request("GET", "/v1/devices")
  response = spark.getresponse()
  print response.status, response.reason
  </code></pre>
  
  <p>According to the Spark <a href="http://docs.spark.io/api/" rel="nofollow">API documentation</a>, this should work. But instead, I get 400 Bad Request. What am I doing wrong?  </p>