The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Revision history for Perl extension Blosxom::Header.

0.06002 Aug 9th, 2012
  - Use HTTP::Headers::Util to parse the Content-Type header

0.06001 Aug 2nd, 2012
  - Corrected typo:
      P3P: policyref="/w3c/p3p.xml", CP="%s" (comma was missing)

0.06000 Jul 31st, 2012
  - charset() parse a quoted string
      $header->set( Content_Type => 'text/plain; charset="utf-8"' );
      my $charset = $header->charset; # UTF-8
  - Removed the following methods/functions:
      * cookie
      * push_cookie
      * p3p
      * push_p3p
      * header_push
      * each_header

0.05012 Jul 29th, 2012
  - Removed obsolete tests

0.05010 Jul 28th, 2012
  - Add new() method which is the alias of instance()
  - p3p() and push_p3p() were renamed to p3p_tags() and push_p3p_tags(),
    respectively. p3p() and push_p3p() methods will be removed in 0.06

0.05009 Jul 26th, 2012
  - Add as_hashref() method
  - each() will return nothing in 0.06
  - Exports header_iter() on demand
  - each_header() is obsolete and will be removed in 0.06.
    Use header_iter() instead
  - Add content_type() as the alias of type()

0.05008 Jul 20th, 2012
  - Add is_empty() and flatten()
  - cookie() and push_cookie() is obsolete and will be removed in 0.06.
    These method was replaced with set_cookie() and get_cookie()

0.05007 Jul 13, 2012
  - Add date() and last_modified()
  - When cookie() or push_cookie() receives hash references,
    these methods create CGI::Cookie objects
  - Requires CGI::Cookie
  - Use 'parent' instead of 'base'

0.05006 Jul 7, 2012
  - add each() method
  - requires HTTP::Date and CGI::Util
  - expires() always converts its value to machine time
  - $Header isn't exported any more. Sorry for incovenience :(

0.05005 Jun 30, 2012
  - Exports push_cookie() and push_p3p() instead of header_push().
    header_push() will be removed in 0.06

0.05004 Jun 21, 2012
  - Added field_names()
  - Exports header_push() on demand
  - charset() became read-only
  - p3p() and cookie() return LISTs
  - Modified a difinition of CLEAR()

0.05003 Jun 16, 2012
  - Exports header_get(), header_set(), header_exists(), header_delete()
    on demand
  - Exports the instance as $Header on demand
  - charset() became consistent with type()
  - Added has_instance()

0.05002 Jun 13, 2012
  - Added is_initialized() to Blosxom::Header
  - Added DIAGNOSTICS to POD

0.05001 Jun 13th, 2012
  - Added Blosxom::Header::Proxy
  - Added _tied() method which returns Blosxom::Header::Proxy object
  - Removed _normalize_field_name()
  - status() carps if a given status code is unknown to HTTP::Status

0.04003 May 25th, 2012
  - status() receives the status code:
      $header->status(304)
    Don't pass a string which contains reason phrases:
      $header->status('304 Not Modified') # OBSOLETE
    status() returns the status code:
      $status = $header->status # 304
  - Requires HTTP::Status
  - A tied hash became read-only by default. When you need to modify it,
    you must pass an additional argument 'rw' to TIEHASH() explicitly:
      tie %header => 'Blosxom::Header', 'rw';

0.04002 May 21th, 2012
  - _normalize_field_name() became a class method internal
  - cookie() and p3p() receive LIST

0.04001 May 10th, 2012
  - Removed Blosxom::Header::Class
  - Fixed compilation error

0.04000 May 9th, 2012
  - Removed push(), new() and has_instance() methods
  - Added Blosxom::Header::Class

0.03005 May 4th, 2012
  - Restricted the instantiation of Blosxom::Header to one object
  - Added instance() and has_instance() methods.
  - new() is deprecated and will be removed in 0.04.
    Use instance() instead.

0.03004 Apr 26th, 2012
  - Wrote Japanese document

0.03003 Apr 25th, 2012
  - added clear() and status() methods
  - implemented tie() interface (EXPERIMENTAL)

0.03002 Apr 20th, 2012
  - push() is deprecated and will be removed in 0.04.
    Use push_cookie() or push_p3p() instead.
    Internally, push() was renamed to _push().
  - When we specify field names, we follow HTTP::Headers' way:
      "To make the life easier for perl users who wants to avoid quoting
      before the => operator, you can use '_' as a replacement for '-'
      in header names."
  - Added the following accessors:
      * attachment
      * charset
      * cookie
      * expires
      * nph
      * p3p
      * target
      * type

0.03001  Apr 17th, 2012
  - push() carps like CORE::push, and also receives multiple values:
      $header->push( 'Set-Cookie' => @cookies )
  - set() receives the list of named arguments:
      $header->set(
        Foo => 'bar',
        Bar => 'baz',
      )
    Separated internal '_set' method from 'set'
  - 'delete' method receives the list of field names:
        $header->delete( 'Foo', 'Bar' )

0.03000  Apr 16th, 2012
  - Suppose plugin developers always 'use Blosxom::Header'
    whenever they modify HTTP headers
  - Renamed &_norm to &_normalize_field_name

0.02005  Apr 15th, 2012
  - First release

0.01002  Jan 1st, 2012
  - First version