com web/people: Send correct content-type: js/userlisting.php

From: Date: Tue, 31 Dec 2013 20:48:21 +0000
Subject: com web/people: Send correct content-type: js/userlisting.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17957@lists.php.net to get a copy of this message
Commit: 6e5e7778cc62b6d95f9dfcbb10b9827095bc8166 Author: Hannes Magnusson <bjori@mongodb.com> Tue, 31 Dec 2013 12:48:21 -0800 Parents: b5f0067590609fcb9469ad84a0bae7df44ee6852 Branches: master Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=6e5e7778cc62b6d95f9dfcbb10b9827095bc8166 Log: Send correct content-type Changed paths: M js/userlisting.php Diff: diff --git a/js/userlisting.php b/js/userlisting.php index 46d099c..8ac0630 100644 --- a/js/userlisting.php +++ b/js/userlisting.php @@ -41,6 +41,7 @@ $tsstring = gmdate("D, d M Y H:i:s ", $now) . "GMT"; header("Last-Modified: " . $tsstring); header("Expires: " . date(DATE_RSS, $future)); +header("Content-Type: text/javascript"); $lookup = $user = array();

« previous php.webmaster (#17957) next »