developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 12 years ago

#552 closed bug (fixed)

Change content-type of jResponseJSon to application/json according to rfc4627

Reported by: bballizlife Owned by: laurentj
Priority: normal Milestone: Jelix 1.0.4
Component: jelix:core response Version: 1.0.3
Severity: normal Keywords: json, content-type
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

RFC4627 says that "The MIME media type for JSON text is application/json". So jResponseJson should be modified as it actually send json as text/plain.

Attachments (1)

jResponseJson.diff (1.2 KB) - added by bballizlife 12 years ago.
Patch to change the content-type to application/json

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by bballizlife

Patch to change the content-type to application/json

comment:1 Changed 12 years ago by laurentj

  • review set to review+

comment:2 Changed 12 years ago by laurentj

  • Milestone set to Jelix 1.0.4

comment:3 Changed 12 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.