Closed (won't fix)
Project:
Timeline
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2008 at 16:46 UTC
Updated:
31 May 2008 at 02:37 UTC
you should add a line to timeline_data_json() just before the print statement. this makes devel module's query log be silent on this json page:
drupal_set_header('Content-Type: application/x-javascript');
Comments
Comment #1
jmiccolis commentedBased on my understanding of things I think the header we're setting currently ('application/json') is correct. (see http://www.ietf.org/rfc/rfc4627.txt ). Also I took a quick look and devel's HEAD and it looks to check for 'json' headers as well now.