Vulnerabilities | |||||
---|---|---|---|---|---|
Version | Suggest | Low | Medium | High | Critical |
0.22 | 0 | 0 | 0 | 0 | 0 |
0.21 | 0 | 0 | 0 | 0 | 0 |
0.20 | 0 | 0 | 0 | 0 | 0 |
0.19 | 0 | 0 | 0 | 0 | 0 |
0.18 | 0 | 0 | 0 | 0 | 0 |
0.17 | 0 | 0 | 0 | 0 | 0 |
0.16 | 0 | 0 | 0 | 0 | 0 |
0.15 | 0 | 0 | 0 | 0 | 0 |
0.14 | 0 | 0 | 0 | 0 | 0 |
0.13 | 0 | 0 | 0 | 0 | 0 |
0.12 | 0 | 0 | 0 | 0 | 0 |
0.11 | 0 | 0 | 0 | 0 | 0 |
0.10 | 0 | 0 | 0 | 0 | 0 |
0.09 | 0 | 0 | 0 | 0 | 0 |
0.06 | 0 | 0 | 0 | 0 | 0 |
0.05 | 0 | 0 | 0 | 0 | 0 |
0.04 | 0 | 0 | 0 | 0 | 0 |
0.03 | 0 | 0 | 0 | 0 | 0 |
0.02 | 0 | 0 | 0 | 0 | 0 |
0.01 | 0 | 0 | 0 | 0 | 0 |
0.22 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Artistic-1.0 - Artistic License 1.0HTTP::Headers::Fast - faster implementation of HTTP::Headers
use HTTP::Headers::Fast;
# and, same as HTTP::Headers.
HTTP::Headers::Fast is a perl class for parsing/writing HTTP headers.
The interface is same as HTTP::Headers.
HTTP::Headers is a very good. But I needed a faster implementation, fast =)
as_string_without_sort
as_string method sorts the header names.But, sorting is bit slow.
In this method, stringify the instance of HTTP::Headers::Fast without sorting.
psgi_flatten
returns PSGI compatible arrayref of header.
my $headers:ArrayRef = $header->flatten
psgi_flatten_without_sort
same as flatten but returns arrayref without sorting.
If you want HTTP::Headers::Fast to pretend like it's really HTTP::Headers, you can try the following hack:
unshift @HTTP::Headers::Fast::ISA, 'HTTP::Headers';
HTTP::Headers 5.818, HTTP::Headers::Fast 0.01
-- push_header
Rate orig fast
orig 144928/s -- -20%
fast 181818/s 25% --
-- push_header_many
Rate orig fast
orig 74627/s -- -16%
fast 89286/s 20% --
-- get_date
Rate orig fast
orig 34884/s -- -14%
fast 40541/s 16% --
-- set_date
Rate orig fast
orig 21505/s -- -19%
fast 26525/s 23% --
-- scan
Rate orig fast
orig 57471/s -- -1%
fast 57803/s 1% --
-- get_header
Rate orig fast
orig 120337/s -- -24%
fast 157729/s 31% --
-- set_header
Rate orig fast
orig 79745/s -- -30%
fast 113766/s 43% --
-- get_content_length
Rate orig fast
orig 182482/s -- -77%
fast 793651/s 335% --
-- as_string
Rate orig fast
orig 23753/s -- -41%
fast 40161/s 69% --
Tokuhiro Matsuno E<lt>tokuhirom@gmail.comE<gt>
Daisuke Maki
And HTTP::Headers' originally written by Gisle Aas.
Markstos
Tatsuhiko Miyagawa
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.