Allow for invalid "HTTP/1.1 <code>" responses #580

Merged
merged 1 commit into from Jul 14, 2012

Conversation

Projects
None yet
2 participants
Contributor

dshafik commented Jul 14, 2012

Some web services return a poorly formed status line, of just HTTP/1.x <code>, rather than the correct HTTP/1.x <code> <reason>. This small change allows lithium to handle this scenario by looking up the code in the status array and should not hamper the original behavior in any way.

@nateabele nateabele added a commit that referenced this pull request Jul 14, 2012

@nateabele nateabele Merge pull request #580 from dshafik/allow-numeric-only-http-status-r…
…esponses

Allow for invalid "HTTP/1.1 <code>" responses
e1289b3

@nateabele nateabele merged commit e1289b3 into UnionOfRAD:dev Jul 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment