-
Notifications
You must be signed in to change notification settings - Fork 397
describe the HTTP method config #1769
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
Conversation
- `method` - override the | ||
[HTTP method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) | ||
to use for file uploads (e.g. `PUT`/`POST`). By default, `POST` is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I get how this works. Can you guys provide a quick example? What this describes so far is:
$ dvc remote modify myremote auth method
How do you set the actual method? Why is the method a type of auth? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pretty simple:
$ dvc remote modify myremote method PUT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK so this bullet shouldn't be nested under auth
then 🙂 Or are both needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, didn't notice that. Good catch! Thanks!
This looks great! Anything I should add? |
This comment has been minimized.
This comment has been minimized.
@jorgeorpinel Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK looks good now. Thanks everyone!
(I meant to approve there ☝️ 😋) Merged restyled PR. |
Concerns:
iterative/dvc#4553
❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention
Fix #issue
(if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏
This change is