… | … | ||
---|---|---|---|
151 | ([^\040]+) \040+ | 151 | ([^\040]+) \040+ |
152 | HTTP\/([0-9]+\.[0-9]+) | 152 | HTTP\/([0-9]+\.[0-9]+) |
153 | \015\012/gx | 153 | \015\012/gx |
154 | or $self->err(403, "method not allowed", { Allow => "GET,HEAD" }); | 154 | or $self->err(403, "method not allowed", { Allow => "GET,HEAD" }); |
155 | 155 | ||
156 | $2 >= 2 | 156 | $2 < 2 |
157 | or $self->err(506, "http protocol version not supported"); | 157 | or $self->err(506, "http protocol version not supported"); |
158 | 158 | ||
159 | $self->{method} = $1; | 159 | $self->{method} = $1; |
160 | $self->{uri} = $2; | 160 | $self->{uri} = $2; |
161 | 161 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |