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

refactor object patch command to work more betterer #2154

Merged
merged 2 commits into from
Jan 3, 2016

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy [email protected]

@jbenet jbenet added the status/in-progress In progress label Jan 3, 2016
@whyrusleeping
Copy link
Member Author

should fix #2070, needs a test for that though

@dignifiedquire
Copy link
Member

💯 for great language

License: MIT
Signed-off-by: Jeromy <[email protected]>
whyrusleeping added a commit that referenced this pull request Jan 3, 2016
refactor object patch command to work more betterer
@whyrusleeping whyrusleeping merged commit 1c1f9c6 into dev0.4.0 Jan 3, 2016
@whyrusleeping whyrusleeping deleted the fix/object branch January 3, 2016 21:23
@jbenet jbenet removed the status/in-progress In progress label Jan 3, 2016
@jbenet
Copy link
Member

jbenet commented Jan 13, 2016

diff hard to read-- what changed here?

@whyrusleeping
Copy link
Member Author

data for object patch set-data and append-data was being encoded into the url, I moved it into the body as a multipart file (like all our other 'data' commands). The difficult part was breaking up object patch (which was a single command object) into multiple commands to allow us to specify that the data argument needed to be a file (and thus streamed)

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.

3 participants