summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
74d5618)
Header to permit data being used in modern browsers.
$converter->indent->space_after->canonical;
$header{content_type} = 'application/json';
$converter->indent->space_after->canonical;
$header{content_type} = 'application/json';
+ $header{'Access-Control-Allow-Origin'} = '*';
$header{content_type} = 'text/plain' if exists $get{debug};
print $_, '(' for $get{callback} // ();
print $converter->encode($data);
$header{content_type} = 'text/plain' if exists $get{debug};
print $_, '(' for $get{callback} // ();
print $converter->encode($data);