Revision history for Perl extension Blosxom::Header.
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