shared function for raising an exception if http connection is closed, before making a request
shared function for raising an exception if http connection is closed, before making a request

nephics/tornado-couchdb