mike-burns/github — Issue #7: regression in http-conduit
Author: joeyh
Created: 2012-01-27 19:52:08+00:00
State: open

I get this only when building from github master, with the new http-conduit support.

Prelude Github.Issues> Github.Issues.issuesForRepo "aculich" "git-annex" []
*** Exception: StatusCodeException (Status {statusCode = 410, statusMessage = "Gone"}) [("Server","nginx/1.0.4"),("Date","Fri, 27 Jan 2012 19:50:25 GMT"),("Content-Type","application/json; charset=utf-8"),("Connection","keep-alive"),("Status","410 Gone"),("X-RateLimit-Limit","5000"),("ETag","\"814557388adedabd1ec22eb7010d375e\""),("X-RateLimit-Remaining","4500"),("Content-Length","47")]

0.1.2 doesn't throw this exception on http 410, which the API returns when requesting a disabled feature:

Prelude> Github.Issues.issuesForRepo "aculich" "git-annex" []
Left (JsonError "when expecting a [a], encountered Object instead on the JSON: {\"message\":\"Issues are disabled for this repo\"}")