← Back to team overview

openlp-core team mailing list archive

[Bug 1548014] Re: Remotes API calls using authentication return strange response body

 

Please, see the image.
This image shows is the difference between the raw data of the same request used before (in the last comments) when OpenLP don't requires an authentication (left side) and when OpenLP requires an authentication (right side).
Note that, in the right side, the header contents are duplicated on response body. This is the problem.

** Attachment added: "raw.png"
   https://bugs.launchpad.net/openlp/+bug/1548014/+attachment/4583008/+files/raw.png

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1548014

Title:
  Remotes API calls using authentication return strange response body

Status in OpenLP:
  New

Bug description:
  Any calls to API using HTTP authentication returns a strange response
  body. Its looks like that the HTTP header returns as body.

  Example of BODY RESPONSE using authentication:

  HTTP/1.0 200 OK
  Server: BaseHTTP/0.6 Python/3.4.3
  Date: Sun, 21 Feb 2016 06:31:43 GMT
  Content-type: text/html
  Cache-Control: no-cache, no-store, must-revalidate
  Pragma: no-cache
  Expires: 0

  Without authentication none body is returned, as expected.

  OpenLP 2.2.1
  Mac OS 10.11.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1548014/+subscriptions


References