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

COPY verb #169

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

COPY verb #169

sckott opened this issue Nov 14, 2014 · 2 comments

Comments

@sckott
Copy link

@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
Copy link
Member

@hadley hadley commented Nov 21, 2014

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

@hadley hadley closed this in a2f2ca6 Nov 21, 2014
@sckott
Copy link
Author

@sckott sckott commented Nov 21, 2014

That seems reasonable to me, thanks @hadley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants