Does Evernote change the API validation for the Content-Length?

六月ゝ 毕业季﹏ 提交于 2019-12-24 03:02:27

问题


Has Evernote changed the HTTP request header validation in the latest update? Our API call for getting access token has failed after the update. It seems the reason of the error is no Content-Length header in the request.


回答1:


This should be a side-effect of the Evernote's move to the cloud. Google's load balancers do some HTTP request validation that Evernote was not previously doing: https://cloud.google.com/compute/docs/load-balancing/http/

So for your case, adding the content-length header should fix the issue.



来源:https://stackoverflow.com/questions/42243299/does-evernote-change-the-api-validation-for-the-content-length

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!