Skip to content

Commit

Permalink
Initial commit, files from HTTP::Parser 0.04 included
Browse files Browse the repository at this point in the history
  • Loading branch information
edeca committed Feb 8, 2010
0 parents commit dbe0170
Show file tree
Hide file tree
Showing 7 changed files with 563 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Changes
@@ -0,0 +1,29 @@
Revision history for Perl extension HTTP::Parser.

0.04 2007-11-10
- when parsing chunks, only remove current chunk from data buffer; don't
clear it (rt.cpan.org #30005, patch from David Cannings)
- in the "be lenient in what you accept" vein, allow the HTTP response
status line to not have a space after the version (contrary to RFC 2616
6.1, but apparently broken implementations exist), and strip whitespace
from the Content-Length header (rt.cpan.org #30338, patch from David
Cannings)

0.03 2007-02-24
- reverse change file order (now reverse chronological, newest first)
- change chunk parser to skip chunk-extension and allow spaces (rt.cpan.org
#14092)
- add ability to parse HTTP response into HTTP::Response too (rt.cpan.org
#7652, 7654, based on patch from mfr AT hybyte DOT com)
- added new tests for new response parsing capability

0.02 2004-01-28
- incorporate fixes proposed by Anthony D. Minkoff <adminkoff@cox.net>:
literal "HTTP" should be case insensitive (RFC 2616, sections 2.1, 3.1)
allow blank lines before Request-Line (RFC 2616, section 4.1; "SHOULD")

0.01 2004-01-03
- original author David B. Robins <dbrobins@davidrobins.net>
- original version; created by h2xs 1.22 with options -AX -n HTTP::Parser
- module originally created November 2003

7 changes: 7 additions & 0 deletions MANIFEST
@@ -0,0 +1,7 @@
Changes
Makefile.PL
MANIFEST
Parser.pm
README
t/1.t
META.yml Module meta-data (added by MakeMaker)
13 changes: 13 additions & 0 deletions META.yml
@@ -0,0 +1,13 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: HTTP-Parser
version: 0.04
version_from: Parser.pm
installdirs: site
requires:
HTTP::Request: 0
HTTP::Response: 0
URI: 0

distribution_type: module
generated_by: ExtUtils::MakeMaker version 6.30
16 changes: 16 additions & 0 deletions Makefile.PL
@@ -0,0 +1,16 @@
use 5.006001;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'HTTP::Parser',
'VERSION_FROM' => 'Parser.pm', # finds $VERSION
'PREREQ_PM' => {
'URI' => 0,
'HTTP::Request' => 0,
'HTTP::Response' => 0,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'Parser.pm', # retrieve abstract from module
AUTHOR => 'David. B. Robins <dbrobins@davidrobins.net>') : ()),
);

0 comments on commit dbe0170

Please sign in to comment.