Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 10, 2013
  1. _status_with_entity_body()をインライン化

    Ryo Anazawa authored
  2. flatten() stringifies the Set-Cookie header by default

    Ryo Anazawa authored
  3. add _status_with_no_entity_body()

    Ryo Anazawa authored
  4. add CGI::Header::PSGI

    Ryo Anazawa authored
Commits on Feb 9, 2013
  1. update VERSION in POD

    Ryo Anazawa authored
  2. Checking in changes prior to tagging of version 0.18.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 3b79486..d2fd4e6 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.18  Feb 9th, 2013
    +
       - You can pass a media type to new() in the following situation:
    
           my $h = CGI::Header->new('text/plain');
  3. use autovivification

    Ryo Anazawa authored
  4. the -env property will not be removed

    Ryo Anazawa authored
Commits on Feb 7, 2013
  1. new() receives a media type

    Ryo Anazawa authored
Commits on Jan 18, 2013
  1. Checking in changes prior to tagging of version 0.17.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 11dea7a..2bd381c 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,15 @@
     Revision history for Perl extension CGI::Header.
    
    +0.17  Jan 18th, 2013
    +
    +  [DOCUMENTATION]
    +
    +    - Add "EXAMPLES" and "DEPENDENCIES"
    +
    +  [INTERNALS]
    +
    +    - Fix META.yml ("version" was broken)
    +
     0.16  Jan 14th, 2013
    
       [INCOMPATIBLE CHANGES]
Commits on Jan 14, 2013
  1. Checking in changes prior to tagging of version 0.16.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 9b08de2..11dea7a 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.16  Jan 14th, 2013
    +
       [INCOMPATIBLE CHANGES]
    
         - rehash() throws an exception when a property name is duplicated:
    @@ -21,7 +23,7 @@ Revision history for Perl extension CGI::Header.
         - In addition to CGI.pm-compatible HTTP header properties,
           new() accepts '-env' property which represents your current environment:
    
    -        my $h => CGI::Header->new(
    +        my $h = CGI::Header->new(
                 -type => 'text/plain',
                 -env  => \%ENV,
             );
Commits on Jan 13, 2013
Commits on Jan 11, 2013
  1. Checking in changes prior to tagging of version 0.15.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 47ba48e..4665633 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,17 @@
     Revision history for Perl extension CGI::Header.
    
    +0.15  Jan 11th, 2013
    +
    +  Add env() which defaults to \%ENV. new() receives an additional
    +  argument which determines the value of the attribute.
    +     my $header = CGI::Header->new({ -type => 'text/plain' }, \%ENV);
    +     $header->env; # => \%ENV
    +
    +  [INTERNALS]
    +
    +    - Add psgi_headers.t which requires CGI::PSGI
    +    - new() returns an object based on a blessed hash.
    +
     0.14  Jan 9th, 2013
    
       - set() and delete() throw exceptions when the specified header field
Commits on Jan 10, 2013
  1. Checking in changes prior to tagging of version 0.14.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index a7f2a39..47ba48e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,6 +1,22 @@
     Revision history for Perl extension CGI::Header.
    
    -0.13  Jan 8th, 2012
    +0.14  Jan 9th, 2013
    +
    +  - set() and delete() throw exceptions when the specified header field
    +    is read-only.
    +  - get() returns undef in the following situations:
    +
    +      $header->header; # => { -expires => q{}, ... }
    +      $header->get( 'Expires' ); # => undef
    +
    +      $header->header; # => { -p3p => q{}, ... }
    +      $header->get( 'P3P' ); # => undef
    +
    +  [INTERNALS]
    +
    +    id() is aliased to Scalar::Util::refaddr()
    +
    +0.13  Jan 8th, 2013
    
       - clear() and each() return the current object itself
       - set() returns the given value:
    @@ -17,7 +33,7 @@ Revision history for Perl extension CGI::Header.
    
         Add "Server" and "Date" to "LIMITATIONS"
    
    -0.12  Jan 7th, 2012
    +0.12  Jan 7th, 2013
    
       [INTERNALS]
         - Rename _normalize() to _lc()
Commits on Jan 8, 2013
  1. Checking in changes prior to tagging of version 0.13.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 1e7d8da..a7f2a39 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.13  Jan 8th, 2012
    +
       - clear() and each() return the current object itself
       - set() returns the given value:
           $header->set( 'Foo' => 'bar' ); # => "bar"
  2. clear() and each() returns current object itself

    Ryo Anazawa authored
Commits on Jan 7, 2013
  1. Checking in changes prior to tagging of version 0.12.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 5554595..1e1361e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,6 +1,13 @@
     Revision history for Perl extension CGI::Header.
    
    -  - [DOCUMENTATION] Add HTTP::Headers to "SEE ALSO"
    +0.12  Jan 7th, 2012
    +
    +  [INTERNALS]
    +    - Rename _normalize() to _lc()
    +    - Add a benchmark against HTTP::Response->parse
    +
    +  [DOCUMENTATION]
    +    - Add HTTP::Headers to "SEE ALSO"
    
     0.11  Dec 16th, 2012
       - Add FIRSTKEY() and NEXTKEY(). These methods were implemented to
  2. update POD

    Ryo Anazawa authored
Commits on Dec 17, 2012
  1. update POD

    Ryo Anazawa authored
Commits on Dec 16, 2012
  1. Checking in changes prior to tagging of version 0.11.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 83cc551..ef43fc9 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,7 +1,13 @@
     Revision history for Perl extension CGI::Header.
    
    +0.11  Dec 16th, 2012
       - Add FIRSTKEY() and NEXTKEY(). These methods were implemented to
         test this module itself.
    +  - flatten() receives optional $is_recursive argument
    +    which determines whether to flatten the Set-Cookie headers recursively.
    +    $is_recursive defaults to true.
    +  - flatten() and each() don't stringify CGI::Cookie objects.
    +  - field_names() returns a list of field names in a random order
    
     0.10  Dec 14th, 2012
       - p3p_tags() returns the number of P3P tags
Commits on Dec 15, 2012
  1. flatten() receives optional $is_recursive argument

    Ryo Anazawa authored
Commits on Dec 14, 2012
  1. add FIRSTKEY and NEXTKEY

    Ryo Anazawa authored
  2. Checking in changes prior to tagging of version 0.10.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 6ce2c0b..02de85e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,9 +1,15 @@
     Revision history for Perl extension CGI::Header.
    
    +0.10  Dec 14th, 2012
       - p3p_tags() returns the number of P3P tags
         instead of the first element in scalar context
       - rehash() returns the current object itself:
           my @headers = CGI::Header->new(@args)->rehash->flatten;
    +  - each() doesn't depend on field_names().
    +    field_names() depends on each().
    +    As a result, if Set-Cookie header is multi-valued,
    +    field_names() will return a list which contains duplicate values.
    +    I don't know how to solve this problem at this time.
    
     0.09  Nov 13th, 2012
       - CGI.pm has charset() attribute which defaults to 'ISO-8859-1'.
Commits on Dec 11, 2012
  1. rehash() returns the object itself

    Ryo Anazawa authored
Commits on Nov 12, 2012
  1. Checking in changes prior to tagging of version 0.09.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index d4834dd..5676bf3 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,17 @@
     Revision history for Perl extension CGI::Header.
    
    +0.09  Nov 13th, 2012
    +  - CGI.pm has charset() attribute which defaults to 'ISO-8859-1'.
    +    CGI::header() function depends on this attribute.
    +    I noticed this module depends on the default value, 'ISO-8859-1',
    +    and so decided to remove this dependency because this module
    +    shouldn't depend on the internal state of CGI.pm.
    +    Namely,
    +        my $h = CGI::Header->new( -type => 'text/plain' );
    +        $h->get( 'Content-Type' ); # => "text/plain; charset=ISO-8859-1"
    +    become
    +        $h->get( 'Content-Type' ); # => "text/plain"
    +
     0.08  Nov 13th, 2012
       - reimplemented rehash()
       - [DOCUMENTATION] add header() to "INSTANCE METHODS"
  2. Checking in changes prior to tagging of version 0.08.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index fe02dcb..d4834dd 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,6 +1,9 @@
     Revision history for Perl extension CGI::Header.
    
    +0.08  Nov 13th, 2012
    +  - reimplemented rehash()
       - [DOCUMENTATION] add header() to "INSTANCE METHODS"
    +  - [DOCUMENTATION] describe how this module normalizes parameter names
    
     0.07  Nov 12th, 2012
       - [DOCUMENTATION] add "tie() INTERFACE"
  3. update POD

    Ryo Anazawa authored
  4. update rehash()

    Ryo Anazawa authored
Commits on Nov 11, 2012
  1. tidied

    Ryo Anazawa authored
  2. reimplemented rehash()

    Ryo Anazawa authored
  3. fid pod

    Ryo Anazawa authored
  4. Checking in changes prior to tagging of version 0.07.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 2f8af76..a0f9c53 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,8 @@
     Revision history for Perl extension CGI::Header.
    
    +0.07  Nov 12th, 2012
    +  - [DOCUMENTATION] add "tie() INTERFACE"
    +
     0.06  Nov 11th, 2012
       - First release
Commits on Nov 10, 2012
  1. Checking in changes prior to tagging of version 0.06.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 108d606..2f8af76 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,8 @@
     Revision history for Perl extension CGI::Header.
    
    +0.06  Nov 11th, 2012
    +  - First release
    +
     0.05  Nov 10th, 2012
       - add rehash() method which rebuilds header hash references
Commits on Nov 9, 2012
  1. Checking in changes prior to tagging of version 0.05.

    Ryo Anazawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index da83a7c..108d606 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,8 @@
     Revision history for Perl extension CGI::Header.
    
    +0.05  Nov 10th, 2012
    +  - add rehash() method which rebuilds header hash references
    +
     0.04  Nov 7th, 2012
       - reorganized tests using subtest() function exported by Test::More
       - doesn't overload '""' (stringify) with as_string()
Something went wrong with that request. Please try again.