Sync Gateway Admin REST API get user response has wrong content type


#1

I am calling the Sync Gateway localhost:4985/sync_gateway/_user/GUEST URL with a get and the results have a content-type of text/plain when it should be application/json. This is causing issues when accessing using the C# web API. Using Sync Gateway 1.0.1 on a Windows 2012 server VM.

CURL Below from DHC.
Request:
curl -i -X GET
-H “Accept:application/json”
http://localhost:4985/sync_gateway/_user/GUEST
Response
Headers
Content-Encoding: gzip
Content-Type: text/plain; charset=utf-8
Server: Couchbase Sync Gateway/1.00
Date: Tue, 16 Dec 2014 16:39:13 GMT
Content-Length: 74
Body
{“name”:“GUEST”,“admin_channels”:[“public”],“all_channels”:[“public”]}


#2

This is a known issue filed here. Thanks for reporting.