ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/eg/myhttpd
(Generate patch)

Comparing Coro/eg/myhttpd (file contents):
Revision 1.11 by root, Wed Apr 11 03:05:15 2007 UTC vs.
Revision 1.12 by root, Sun Feb 17 15:30:12 2008 UTC

131 $req =~ /^(?:\015\012)? 131 $req =~ /^(?:\015\012)?
132 (GET|HEAD) \040+ 132 (GET|HEAD) \040+
133 ([^\040]+) \040+ 133 ([^\040]+) \040+
134 HTTP\/([0-9]+\.[0-9]+) 134 HTTP\/([0-9]+\.[0-9]+)
135 \015\012/gx 135 \015\012/gx
136 or $self->err(403, "method not allowed", { Allow => "GET,HEAD" }); 136 or $self->err(405, "method not allowed", { Allow => "GET,HEAD" });
137 137
138 $2 < 2 138 $2 < 2
139 or $self->err(506, "http protocol version not supported"); 139 or $self->err(506, "http protocol version not supported");
140 140
141 $self->{method} = $1; 141 $self->{method} = $1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines