#1501 mod_http_oauth2 does not set JSON content type on success reply
Reporter
Jonas Schäfer
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Type-Defect
Priority-Medium
Jonas Schäfer
on
What steps will reproduce the problem?
1. Submit an OAuth2 bearer token request with correct credentials
What is the expected output?
Content-Type: application/json
What do you see instead?
No Content-Type header.
What version of the product are you using? On what operating system?
changeset: 3932:8b34222216f4
Please provide any additional information below.
See also #1500 for a possibly related issue.
Whether I set Accept: application/json in the client does not seem to matter.
What steps will reproduce the problem? 1. Submit an OAuth2 bearer token request with correct credentials What is the expected output? Content-Type: application/json What do you see instead? No Content-Type header. What version of the product are you using? On what operating system? changeset: 3932:8b34222216f4 Please provide any additional information below. See also #1500 for a possibly related issue. Whether I set Accept: application/json in the client does not seem to matter.
Fixed in https://hg.prosody.im/prosody-modules/rev/469408682152. Please test.
ChangesWorks, thanks!