wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r22220: LJSUP-11615. Add gzip enable for json

Committer: wisest-owl
LJSUP-11615. Add gzip enable for json

U   trunk/cgi-bin/ljdefaults.pl
Modified: trunk/cgi-bin/ljdefaults.pl
===================================================================
--- trunk/cgi-bin/ljdefaults.pl	2012-06-09 09:18:31 UTC (rev 22219)
+++ trunk/cgi-bin/ljdefaults.pl	2012-06-09 11:16:05 UTC (rev 22220)
@@ -152,6 +152,7 @@
         'application/xml' => 1,         # XHTML 1.1 "may" be this
         'application/xhtml+xml' => 1,   # XHTML 1.1 "should" be this
         'application/rdf+xml' => 1,     # FOAF should be this
+        'application/json' => 1,
     ) unless %LJ::GZIP_OKAY;
 
     # maximum FOAF friends to return (so the server doesn't get overloaded)

Tags: livejournal, pl, wisest-owl
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments