Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Pull request to fix issue #9 #10

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
1 participant

Potential fix for issue #9 (last successful response returned when request to couchdb times out).

Changes in this fix:

  1. Added a new CTOR for CouchResponse that takes the HTTP request and exception.
  2. When HttpClient encounters an exception, create a new CouchResponse to represent the exception.
  3. Unit tests to test above changes. Note: I put SessionTest in the same package (but parallel source tree) as Session so it could access the package-private methods.

Thanks......... Larry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment