slavapestov/factor — Issue #252: http.server should ignore preceding whitespace
Author: mrjbq7
Created: 2011-10-13 02:20:13+00:00
State: open

I noticed this breaks:

```factor
"\r\n\r\n\r\nGET / HTTP/1.0\r\n\r\n" [ read-request ] with-string-reader
```

From RFC 2616 (http://tools.ietf.org/html/rfc2616):

> In the interest of robustness, servers SHOULD ignore any empty
> line(s) received where a Request-Line is expected. In other words, if
> the server is reading the protocol stream at the beginning of a
> message and receives a CRLF first, it should ignore the CRLF.