sporkmonger/signet — Issue #6: Don't flatten body to string
Author: sqrrrl
Created: 2012-01-31 00:53:51+00:00
State: open

It looks like generate_authenticated_request flattens the request body to a string. With the switch to Faraday, these seems both unnecessary and problematic. Specifically, it breaks the ability to leverage Faraday's middleware for multipart requests. Same for posting blobs -- if the body is a readable stream (e.g. an image/doc) there is little reason to buffer it here.