mirror of
https://github.com/PuerkitoBio/goquery.git
synced 2024-04-21 12:31:36 +00:00
Merge pull request #72 from bfontaine/patch-1
Typo in NewDocumentFromResponse doc
This commit is contained in:
@@ -51,7 +51,7 @@ func NewDocumentFromReader(r io.Reader) (*Document, error) {
|
||||
return newDocument(root, nil), nil
|
||||
}
|
||||
|
||||
// NewDocumentFromResponse is another Document constructor that takes an http resonse as argument.
|
||||
// NewDocumentFromResponse is another Document constructor that takes an http response as argument.
|
||||
// It loads the specified response's document, parses it, and stores the root Document
|
||||
// node, ready to be manipulated. The response's body is closed on return.
|
||||
func NewDocumentFromResponse(res *http.Response) (*Document, error) {
|
||||
|
||||
Reference in New Issue
Block a user