Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Author

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>

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.

Name

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

Synopsis

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

Version

       version 0.09

See Also