CGI::Cookie::XS

HTTP Cookie parser in pure C
Download

CGI::Cookie::XS Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Yahoo! China EEEE Works, Alibaba Inc.
  • Publisher web site:
  • http://search.cpan.org/~agent

CGI::Cookie::XS Tags


CGI::Cookie::XS Description

HTTP Cookie parser in pure C CGI::Cookie::XS is Perl module that acts as a HTTP cookie parser in pure C.SYNOPSIS use CGI::Cookie::XS; my $raw_cookie = 'foo=a phrase;weird; bar=yes, a phrase; baz=^wibble&leiyh; qux=''; my $res = CGI::Cookie::XS->parse($raw_cookie); # $res is something like: # { # 'bar' => , # 'baz' => , # 'foo' => , # 'qux' => # }; # or directly read raw cookies from the CGI environments: $res = CGI::Cookie::XS->fetch;This module implements a very simple parser for cookies used in HTTP applications. We've found CGI::Simple::Cookie and CGI::Cookie rather slow according to the profiling results for our OpenResty project, hence the rewrite in C.This library is still in beta stage and the API is still in flux. We're just following the "release early, releaes often" guideline. So please check back often ;)Special effort has been made to ensure this module works in the same way as the latest CGI::Cookie (i.e., the pure Perl implementation). If you find it doesn't, please let us know. Requirements: · Perl


CGI::Cookie::XS Related Software