Skip to content

Conversation

@ypz
Copy link
Contributor

@ypz ypz commented Oct 8, 2015

This pull request adds support for using POST method to upload user-data larger than 2K.

ypz and others added 2 commits October 8, 2015 13:52
userdata larger than 2K.

lib/cloudstack_ruby_client/base_client.rb
  If userdata is present and its size is larger than 2048 bytes in
  request params, switch to http POST method for current api call.

lib/cloudstack_ruby_client/client.rb
lib/cloudstack_ruby_client/client_helper.rb
  Trivial changes to use symbol as hash keys consistently.
@pdion891
Copy link
Contributor

Thanks , that's useful as large user-data is getting popular with cloud-init.

chipchilders added a commit that referenced this pull request Feb 4, 2016
Adding support for using POST method to upload large userdata
@chipchilders chipchilders merged commit 1ff56fc into chipchilders:master Feb 4, 2016
@chipchilders
Copy link
Owner

thanks, I'll cut a new gem soon

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