Jump to content


Photo

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

bug report api system ping json

  • Please log in to reply
1 reply to this topic

#1 roblav96 OFFLINE  

roblav96

    Member

  • Members
  • 21 posts
  • Local time: 06:20 AM

Posted 15 June 2019 - 02:21 PM

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



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 137604 posts
  • Local time: 06:20 AM

Posted 15 June 2019 - 02:29 PM

You mean it says json when it should be text, right?







Also tagged with one or more of these keywords: bug, report, api, system, ping, json

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users