Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Replace APIs with references to vso-node-api npm package #50

Closed
wants to merge 4 commits into from

Conversation

teddyward
Copy link
Contributor

@msftclas
Copy link

msftclas commented Aug 7, 2015

Hi @teddyward, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@@ -13,6 +14,29 @@ export function copyToFileContainer(taskCtx: ctxm.TaskContext, localPath: string
return fc.copyToFileContainer(localPath, containerId, containerFolder);
}

export function getUploadHeaders(isGzipped: boolean,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kind of a hack. Ideally the generator would be able to determine all of the headers that are required for every operation, but I couldn't figure out how to programmatically determine which operations require encoding, contentId, and length headers. Encoding could probably be done with an attribute on controllers but others...

@teddyward teddyward closed this Aug 7, 2015
@teddyward teddyward deleted the users/teddyward/vsonodeapi branch August 7, 2015 20:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants