using /upload urls with Google API client
问题 Consider this: I am fetching rawbody messages by this call: service.users().messages().get(userId='me', format='raw', id=msgid) Then I am pushing rawbody messages by this Call: service.users().messages().insert(userId='me', body=message) Now when the mails contain attachments bigger 5MB, I encounter 413 "Request Entity Too Large.", and I can't push mails. GMail API messages.insert Documentation advices to use POST https://www.googleapis.com/upload/gmail/v1/users/userId/messages instead of