X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=1665ca702573c60c9fbd9ae4a892956e72e64061;hb=271fd90b8a1b9f843853601a75a1334407ff87c4;hp=e16dd829abc76ab7e3c6d1da9b40f0153cfc7e85;hpb=9b8f3c269605db27908000957b20cc3a336f9148;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index e16dd82..1665ca7 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -11,7 +11,8 @@ our $VERSION = '2.05'; __PACKAGE__->mk_classdata($_) for qw( config init_done view_object ); __PACKAGE__->mk_accessors( qw( ar params query objects model_class template_args output path - args action template error document_encoding content_type table) + args action template error document_encoding content_type table + extra_headers ) ); __PACKAGE__->config( Maypole::Config->new() ); __PACKAGE__->init_done(0); @@ -276,6 +277,10 @@ A list of remaining parts of the request path after table and action have been removed +=head3 extra_headers + +A hash containing extra headers to be set on a request. + =head3 parse_args Turns post data and query string paramaters into a hash of C.