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

Implemented attachment parameter for the GetDocument methods and improved readability a bit for CouchDatabase.cs #44

Merged
merged 2 commits into from Jan 30, 2013

Conversation

Projects
None yet
2 participants
@jvdgeest
Contributor

jvdgeest commented Jan 30, 2013

Please see the two commit messages for more details :)

Johan van der Geest added some commits Jan 30, 2013

Johan van der Geest
Implement attachments parameter for GetDocument method in
CouchDatabase.cs. This allows you to fetch a document and all its
attachments in one request, by adding an ?attachments=true URL parameter
to the GET request. Although asking for a MIME multipart/related is more
efficient, it can sometimes be useful to just do it in one request.

Read
http://wiki.apache.org/couchdb/HTTP_Document_API#Getting_Attachments_With_a_Document
for more information about this subject.

soitgoes added a commit that referenced this pull request Jan 30, 2013

Merge pull request #44 from jvdgeest/master
Implemented attachment parameter for the GetDocument methods and improved readability a bit for CouchDatabase.cs

@soitgoes soitgoes merged commit 81448cf into soitgoes:master Jan 30, 2013

@soitgoes

This comment has been minimized.

Show comment
Hide comment
@soitgoes

soitgoes Jan 30, 2013

Owner

Great stuff. Thanks for the contribution.

Owner

soitgoes commented Jan 30, 2013

Great stuff. Thanks for the contribution.

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