Skip to content

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

Merged
merged 8 commits into from
Sep 11, 2020
Merged

Conversation

rfdickerson
Copy link

@rfdickerson rfdickerson commented Sep 9, 2020

Concerns:
iterative/dvc#4553

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ 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 Reviewable

@efiop efiop requested a review from jorgeorpinel September 9, 2020 23:33
Comment on lines 592 to 594
- `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.
Copy link
Contributor

@jorgeorpinel jorgeorpinel Sep 10, 2020

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

Copy link
Contributor

@efiop efiop Sep 10, 2020

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

Copy link
Contributor

@jorgeorpinel jorgeorpinel Sep 11, 2020

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?

Copy link
Contributor

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!

@rfdickerson
Copy link
Author

This looks great! Anything I should add?

@efiop efiop requested a review from jorgeorpinel September 10, 2020 23:59
@jorgeorpinel

This comment has been minimized.

@efiop
Copy link
Contributor

efiop commented Sep 11, 2020

@jorgeorpinel Done.

Copy link
Contributor

@jorgeorpinel jorgeorpinel left a 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!

@jorgeorpinel jorgeorpinel merged commit 74e3018 into iterative:master Sep 11, 2020
@jorgeorpinel
Copy link
Contributor

(I meant to approve there ☝️ 😋) Merged restyled PR.

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.

4 participants