Is this a bug in Google's batch API?

时间:2018-09-18 20:25:39

标签: gmail-api

I had a tough time getting Google's batch API to process my gmail API requests using Mojolicious to generate the multipart HTTP request. Please see the batch API documentation here.

After a lot of trial and error, I figured out that I had to pad one of the requests parts, a GET request, with a blank line (\r\n) after it to get Google to process it. As far as I can tell, the RFC does not require the body in a multipart message to be followed by a new line.

I'm wondering if this is a bug and if it should be reported. I'd like to spare some people all the time I lost tracking this problem down.

Please see https://perlmonks.org/?node_id=1222593 for more details on how the HTTP request was generated.

0 个答案:

没有答案
相关问题