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

AttachmentsInOrderParser for MIME multipart/related #89

Merged
merged 2 commits into from Sep 3, 2012

Conversation

dlvenable
Copy link
Contributor

CouchDB's MIME multipart/related messages do not provide headers for the attachments. To match them up with attachments you need to parse the _attachments property in-order.

I created a utility which reads a document from a JsonParser and gives the attachment names in order which I have found helpful. I thought it might be appropriate to put into Ektorp for other Java/CouchDB developers.

… attachment names with their data from CouchDB MIME multipart/related messages.
…ent and use it in the AttachmentsInOrderParser.
helun pushed a commit that referenced this pull request Sep 3, 2012
AttachmentsInOrderParser for MIME multipart/related
@helun helun merged commit 1deb4eb into helun:master Sep 3, 2012
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.

None yet

2 participants