title: org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected
body: <p>I am trying out RestAssured &amp; wrote the following statements - </p>
  
  <pre><code>String URL = "http://XXXXXXXX";
  Response result = given().
              header("Authorization","Basic xxxx").
              contentType("application/json").
              when().
              get(url);
  JsonPath jp = new JsonPath(result.asString());
  </code></pre>
  
  <p>On the last statement, I am receiving the following exception : </p>
  
  <p><code>org.apache.http.ConnectionClosedException: Premature end of chunk coded message body: closing chunk expected</code></p>
  
  <p>The headers returned in my response are : </p>
  
  <p><code>Content-Type → application/json; qs=1
  Date → Tue, 10 Nov 2015 02:58:47 GMT
  Transfer-Encoding → chunked</code></p>
  
  <p>Could anyone guide me on resolving this exception &amp; point me out if I am missing anything or any in-correct implementation.</p>