Jump to content

[BUG] /System/Ping responds with text and Content-Type: application/json header


Recommended Posts

Request:

curl -X "POST" "http://localhost:8096/emby/System/Ping"

Response:

HTTP/1.1 200 OK
Date: Sat, 15 Jun 2019 18:16:25 GMT
Connection: close
Content-Length: 11
Server: h2o-dev
Access-Control-Allow-Headers: Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, Want-Digest, X-MediaBrowser-Token, X-Emby-Token, X-Emby-Authorization
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8

Emby Server

The response header Content-Type incorrectly defines the body type, text/plain.

 

No biggie, just thought I'd send it :D

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...