Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
webob.Response.from_file parsing failure #250
webob.Request's from_file method seems have to an incorrect call to str.split()
Relevant code is here. The existing code works just fine on a 200 response but not on the faux 404
I suspect that this is inadvertent and that the following was probably intended.
I was a little surprised I ran into this until I realized that parsing HTTP responses is probably not a terribly common use case.
Thanks for reporting. I'll back port this to 1.6 this weekend.