PuerkitoBio/goquery — pull request #37 by siriustnt (2014-04-22 18:21:09+00:00)
Title: NewDocumentFromResponse crashes when nil pointer is passed

NewDocumentFromResponse will crash when a nil pointer is passed in because the parameter is not being validated.

I added the check and a test for it.