zendframework/zf2 — pull request #2289 by kuwabarahiroshi (2012-09-03 02:36:28+00:00)
Title: Zend\Http\Response should accept status line with zero length reason phrase.

I had encountered such a server that returns status line with zero length reason phrase like below:

```
// underscores denote spaces here, for readability.
HTTP/1.0_200_\r\n\r\n
```

However, Zend\Http\Response::fromString() method throws Exception with such status lines.

As with RFC2616 specification (http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1),
HTTP status line should be this form:

```
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
```

Althougn `SP` between Status-Code and Reason-Phrase is mandatory,
Reason-Phrase can be empty as specified as below.

```
Reason-Phrase = *
```

With this specification, status lines such as below should be accepted.

```
HTTP/1.0_200_\r\n\r\n
```

Code changes would be really tiny as I wrote in this pull request.
I would appreciate if this request were accepted.

Thank you.