Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request to fix issue #9 #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lnreeder
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant