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

COPY verb #169

Closed
sckott opened this Issue Nov 14, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@sckott

sckott commented Nov 14, 2014

COPY isn't a standard curl verb, but is used e.g., in CouchDB to make a copy of a document in a database (duplicate the contents of, including attachments) , see http://wiki.apache.org/couchdb/HTTP_Document_API#COPY for reference

COPY is in libcurl, but I wasn't able to find it in RCurl.

You said should be easy to create a generic verb. Recommendations for doing so? As this would be a function I write in another pkg, the helper fxns (e.g., perform) aren't exported from httr, though I could copy them into the other package that COPY is used.

@hadley

This comment has been minimized.

Member

hadley commented Nov 21, 2014

What if it worked something like VERB("COPY", url, ...)

@hadley hadley closed this in a2f2ca6 Nov 21, 2014

@sckott

This comment has been minimized.

sckott commented Nov 21, 2014

That seems reasonable to me, thanks @hadley

@sckott sckott referenced this issue Nov 21, 2014

Closed

Copy document fxn #20

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