title: JSONDecodeError: Expecting value: line 1 column 1 (char 0) error
body: <p>I am facing this error while making request to fetch json from api.</p>
  
  <p>I can get json data using the "/v1/articles' path. </p>
  
  <pre><code>conn = http.client.HTTPSConnection("api.xxxx.com.tr")
      headers = {
      'accept': "application/json", 
      'apikey': "cd6b6c96799847698d87dec9f9a731d6"
      }
      filter = "daily"
      conn.request("GET", "/v1/articles", headers=headers)
      reader = codecs.getreader("utf-8")
      res = conn.getresponse()
      data = json.load(reader(res))
      json.dumps(data)
      return data
  </code></pre>
  
  <p>But i am having JSONDecodeError if i set filter. Code:</p>
  
  <pre><code>conn = http.client.HTTPSConnection("api.xxxx.com.tr")
      headers = {
      'accept': "application/json", 
      'apikey': "cd6b6c96799847698d87dec9f9a731d6"
      }
      conn.request("GET", "/v1/articles?$filter=Path eq '/daily/'", headers=headers)
      reader = codecs.getreader("utf-8")
      res = conn.getresponse()
      data = json.load(reader(res))
      json.dumps(data)
      return data
  </code></pre>
  
  <p>I tried same filter using Postman with no error and i can get Json data.</p>
  
  <p>Returned Json data from Postman:</p>
  
  <pre><code>[
      {
          "Id": "40778196",
          "ContentType": "Article",
          "CreatedDate": "2018-03-20T08:28:05.385Z",
          "Description": "İspanya'da 2016 yılında çalınan lüks otomobil, şasi numarası değiştirilerek Bulgaristan üzerinden getirildiği Türkiye'de bulundu.",
          "Files": [
              {
                  "FileUrl": "http://i.xxxx.com/i/xxxx/98/620x0/5ab0c6a9c9de3d18a866eb54.jpg",
                  "Metadata": {
                      "Title": "",
                      "Description": ""
                  }
              }
          ],
          "ModifiedDate": "2018-03-20T08:32:12.001Z",
          "Path": "/gundem/",
          "StartDate": "2018-03-20T08:32:12.001Z",
          "Tags": [
              "ispanya",
              "Araç",
              "Hırsız",
              "Dolandırıcı"
          ],
          "Title": "İspanya'da çalınan lüks araç Türkiye'de bulundu!",
          "Url": "http://www.xxxx.com.tr/gundem/ispanyada-calinan-luks-arac-turkiyede-bulundu-40778196"
      }
   ]
  </code></pre>
  
  <p>I can not figure out the problem. It would be great if anyone help me about this issue. Thank you.</p>