[wp-meta] [Making WordPress.org] #3888: Translate API not indicating charset

Making WordPress.org noreply at wordpress.org
Fri Dec 27 06:58:50 UTC 2019


#3888: Translate API not indicating charset
--------------------------------------+----------------------
 Reporter:  casiepa                   |       Owner:  (none)
     Type:  defect                    |      Status:  closed
 Priority:  lowest                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:  invalid
 Keywords:                            |
--------------------------------------+----------------------
Changes (by andrimo):

 * priority:  normal => lowest


Comment:

 Replying to [ticket:3888 casiepa]:
 > Checking https://translate.wordpress.org/api/projects/wp-
 plugins/akismet/stable with https://jsonformatter.curiousconcept.com/ , it
 seems that a response header is missing.
 >
 > The solution is probably in
 https://stackoverflow.com/questions/39488457/i-dont-understand-whats-
 wrong-with-this-json
 >
 > "''The server/service exposing that JSON, is not setting the Content-
 type: application/json; charset=utf-8 in the response header, thus the
 tool raises the error.''"
 >
 > With Chrome developer tools I indeed see that the header is giving the
 correct content-type but not adding the charset.
 >
 > Thanks for fixing.

 If that one not working Try this JSON Formatter -
 https://goonlinetools.com/json-formatter/

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3888#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list