group Next Big Thing: Register for the Foswiki Camp 2015 ... Upcoming this week! Wednesday 25th March to Friday 27th March 2015

Item11511: Helper topics that return JSON should set content type application/json

Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Engine
Component:
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
JQueryAjaxHelper and the GroupViewTemplate return JSON as Content-Type: text/html. It should be set as application/json

This breaks plugins that are expecting HTML output based upon the content type.

-- GeorgeClark - 08 Feb 2012

 
Topic revision: r7 - 11 Apr 2012, GeorgeClark
 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License