ruby/ruby — pull request #782 by leriksen (2014-12-13 04:48:46+00:00)
Title: bug_10591 - update regex to require one or more spaces (changed from zer...

bug_10591 - update regex to require one or more spaces (changed from zero or more) between the status code and the reason code.

RFC2616 says
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF

Reason-Phrase does not appear to be optional, hence I haven't wrapped as a non-capturing option.

Updated test case to catch any regressions if the regex is changed at this point again.