pressbooks/pressbooks — pull request #81 by bdolor (2014-10-16 18:29:46+00:00)
Title: differentiating HEAD and GET requests, response from servers

Some web servers return a different response for HEAD requests and GET requests, preventing an import from happening.

The pattern we've come across is a `405` on the HEAD request and a `200` on the GET request. This PR looks for that pattern, and allows the import to happen so long as the GET request still returns a `200` response.