google/google-api-nodejs-client — pull request #98 by afirstenberg (2013-10-26 05:31:42+00:00)
Title: Fix multipart bodies vanishing

If a command is created withMedia() and that command fails because the authentication has expired, the retry (after the auth has been fetched) does not seem to have the bodies associated with the multiparts. This patch is a bit of a kludge, since it simply makes a copy of the multipart bodies and sets them back as part of the request after the auth succeeds.