【问题标题】:Does Evernote change the API validation for the Content-Length?Evernote 是否会更改 Content-Length 的 API 验证?
【发布时间】:2023-03-30 04:12:01
【问题描述】:

Evernote 是否在最新更新中更改了 HTTP 请求标头验证? 更新后我们获取访问令牌的 API 调用失败。 错误的原因似乎是请求中没有 Content-Length 标头。

【问题讨论】:

    标签: evernote


    【解决方案1】:

    这应该是 Evernote 迁移到云端的副作用。 Google 的负载均衡器会做一些 Evernote 以前没有做的 HTTP 请求验证:https://cloud.google.com/compute/docs/load-balancing/http/

    因此,对于您的情况,添加 content-length 标头应该可以解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-11-20
      • 2012-10-12
      • 1970-01-01
      • 1970-01-01
      • 2021-06-14
      • 2013-04-06
      • 1970-01-01
      相关资源
      最近更新 更多