chilts / awssum

(deprecated: use aws-sdk) Node.js modules for talking to lots of Web Service APIs.
Other
462 stars 57 forks source link

Write form data into request body before signing/sending. #166

Closed rfk closed 11 years ago

rfk commented 11 years ago

In support of https://github.com/awssum/awssum-amazon-cloudformation/pull/1

This ensures that any arguments declared as form-data are actually sent along with request. Encoding that at this point ensures that the body is prepared before the request signature is generated.

I've no idea whether the proposed "form-data" argument type will work, I'll continue playing with it an update if I run into any errors.

chilts commented 11 years ago

Did a cherry pick instead of a pull. Released in awssum v1.1.0. Thanks :)