in reply to [OT] Syntax for: AJAX Prototype JSON response
For completeness, here is the slight syntax change needed to the original perl code:
... print "Content-type: text/javascript\n"; print "X-JSON:$js\n\n";
However, it has been pointed out that IE doesn't like large headers, so it is probably best to return the JSON object in the response body and eval it for oneself.
-=( Graq )=-
|
---|
In Section
Seekers of Perl Wisdom