Remotes API calls using authentication return strange response body
Bug #1548014 reported by
Daniel Borges
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
New
|
Undecided
|
Unassigned |
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 post a comment you must log in.
How are you triggering authentication. This is a setting in the desktop
client which will trigger a http 401.
On 22 Feb 2016 10:26 a.m., "Daniel Borges" <email address hidden>
wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1548014 /bugs.launchpad .net/openlp/ +bug/1548014/ +subscriptions _______ _______ _______ _______ _______ _____ /launchpad. net/~openlp- core /launchpad. net/~openlp- core /help.launchpad .net/ListHelp
>
> 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
>
> ** Affects: openlp
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of OpenLP
> Core, which is subscribed to OpenLP.
> https:/
>
> 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:/
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>