The following commit has been merged in the master branch:
commit 013d90de12d542d43b2afa871539b795ee17914f
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date:   Tue Aug 5 19:52:20 2008 -0300

    Packages::Dispatcher: Send Vary: HTTP header

diff --git a/lib/Packages/Dispatcher.pm b/lib/Packages/Dispatcher.pm
index c250011..986b12a 100755
--- a/lib/Packages/Dispatcher.pm
+++ b/lib/Packages/Dispatcher.pm
@@ -342,6 +342,7 @@ sub do_dispatch {
     unless (@Packages::CGI::fatal_errors) {
        print $input->header(-charset => $charset,
                             -type => get_mime($opts{format}),
+                            -vary => 'negotiate,accept-language',
                             -last_modified => strftime("%a, %d %b %Y %T %z",
                                                        
localtime($Packages::DB::db_read_time)),
                             );

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to