libwww-perl / HTTP-Message

The HTTP-Message distribution contains classes useful for representing the messages passed in HTTP style communication.

Home Page:https://metacpan.org/pod/HTTP::Message

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

message() should not return a trailing CR

FGasper opened this issue · comments

> perl -MHTTP::Response -MData::Dumper -e'$Data::Dumper::Useqq = 1; print Dumper( HTTP::Response->parse("HTTP/1.0 200 OK\x0d\x0aContent-type: text/plain\x0d\x0a\x0d\x0aHi.")->message() )'
$VAR1 = "OK\r";

Regression test added.

Closed via #88