[ https://issues.apache.org/jira/browse/COUCHDB-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101025#comment-13101025
]
Randall Leeds commented on COUCHDB-1277:
----------------------------------------
The commit message:
some refactoring in couch_httpd_db.erl
This change is mostly for code clarity and conciseness, but it has a
few other effects as well.
* Responses to documents created/modified via form data POST to /db/doc
or copied with COPY should now include a Location header.
* Form data POST to /db/doc now includes an ETag response header.
* ?batch=ok is now supported for COPY and POST /db/doc updates.
* ?new_edits=false is now supported for more operations. This change is
largely a side effect of the refactor, likely not generally useful,
but listed here for completeness.
* Removes some repetitive code.
> refactoring couch_httpd_db for better query parameter support and code clarity
> ------------------------------------------------------------------------------
>
> Key: COUCHDB-1277
> URL: https://issues.apache.org/jira/browse/COUCHDB-1277
> Project: CouchDB
> Issue Type: Improvement
> Components: HTTP Interface
> Reporter: Randall Leeds
> Assignee: Randall Leeds
> Priority: Minor
> Attachments: 0001-some-refactoring-in-couch_httpd_db.erl.patch
>
>
> In the process of adding ?rev= support for PUT updates I cleaned up some code in couch_httpd_db
and added support for some options that weren't honored before. I'm posting this here for
a code review in case I missed something.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|