Scroll to navigation

HTTP::Headers::ActionPack::Util(3pm) User Contributed Perl Documentation HTTP::Headers::ActionPack::Util(3pm)

NAME

HTTP::Headers::ActionPack::Util - General Utility module

VERSION

version 0.09

SYNOPSIS

  use HTTP::Headers::ActionPack::Util;

DESCRIPTION

This is just a basic utility module used internally by HTTP::Headers::ActionPack. There are no real user serviceable parts in here.

FUNCTIONS

"str2time"
This is imported from HTTP::Date and passed on here for export.
"split_header_words ( $header )"
This will split up a header, respecting all the quoted strings and such, and return the subject, followed by an array of parameter pairs.

The parameters are returned as an array so that ordering can be preserved.

"join_header_words ( $subject, @params )"
This will canonicalize the header such that it will add a space between each semicolon and quote and escape all headers values appropriately.

AUTHOR

Stevan Little <stevan.little@iinteractive.com>

CONTRIBUTORS

  • Andrew Nelson <anelson@cpan.org>
  • Dave Rolsky <autarch@urth.org>
  • Florian Ragwitz <rafl@debian.org>
  • Jesse Luehrs <doy@tozt.net>
  • Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-14 perl v5.34.0