/[suikacvs]/messaging/manakai/lib/Message/Header/HTTP.pm
Suika

Diff of /messaging/manakai/lib/Message/Header/HTTP.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by wakaba, Mon Jul 8 11:47:20 2002 UTC revision 1.4 by wakaba, Sat Jul 27 04:43:03 2002 UTC
# Line 20  $OPTION{namespace_phname_goodcase} = 'X- Line 20  $OPTION{namespace_phname_goodcase} = 'X-
20  $OPTION{case_sensible} = 0;  $OPTION{case_sensible} = 0;
21  $OPTION{to_be_goodcase} = \&Message::Header::Default::_goodcase;  $OPTION{to_be_goodcase} = \&Message::Header::Default::_goodcase;
22    
23    $OPTION{field_sort} = {qw/alphabetic 1 good-practice 1/};
24    $OPTION{field_sort_good_practice_order} = {};
25    {
26      my $i = 1;
27      for (
28        qw/status/, ## CGI header
29        qw/man c-man opt c-opt ext c-ext
30           cache-control connection date pragma transfer-encoding upgrade trailer via
31           /,       ## General-Headers
32        qw/accept accept-charset accept-encoding accept-language
33           authorization expect from host
34           if-modified-since if-match if-none-match if-range if-unmodified-since
35           max-forwards proxy-authorization range referer te user-agent/,   ## Request-Headers
36        qw/accept-ranges age location proxy-authenticate retry-after server vary
37           warning www-authenticate/,       ## Response-Headers
38        qw/allow etag expires last-modified link
39           mime-version content-/,  ## Entity-Headers
40      ) {
41          $OPTION{field_sort_good_practice_order}->{$_} = $i++;
42      }
43      ## default = 999
44      $i = 1000;
45      for (qw/list- mime-version content- xref/) {
46          $OPTION{field_sort_good_practice_order}->{$_} = $i++;
47      }
48    }
49    
50  $OPTION{goodcase} = {  $OPTION{goodcase} = {
51          'pics-label'    => 'PICS-Label',          'pics-label'    => 'PICS-Label',
52          'message-id'    => 'Message-ID',          'message-id'    => 'Message-ID',

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24