Facebook RSS 提要忽略 HTTP ACCEPT 标头元素?

发布于 2025-01-04 02:12:45 字数 1364 浏览 0 评论 0原文

FB 似乎不尊重发送到 /feeds/page.php 的 ACCEPT 标头。请参阅下面的示例:

    GET /feeds/page.php?id=10036618151&format=rss20 HTTP/1.1
    Connection: Keep-Alive
    **Accept: text/xml,application/xml**
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)
    Host: www.facebook.com

    HTTP/1.1 200 OK
    Cache-Control: private, no-cache, no-store, must-revalidate
    **Content-type: application/rss+xml**
    Expires: Sat, 01 Jan 2000 00:00:00 GMT
    Last-Modified: Wed, 08 Feb 2012 10:05:49 -0800
    P3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"
    Pragma: no-cache
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    Set-Cookie: datr=-vIzT4cxw52hjjqTfrpQkNYX; expires=Sat, 08-Feb-2014 16:23:22 GMT;path=/; domain=.facebook.com; httponly
    X-FB-Debug: qx/SiyRZDiVPm4wfiKVj37HImPoKM+DVAsO4oKSbSr0=
    X-Cnection: close
    Date: Thu, 09 Feb 2012 16:23:22 GMT
    Content-Length: 41236

我似乎找不到在 http://developers.facebook.com 上发布新错误报告的方法/bugs,因为我没有此处描述的“创建”(也没有“订阅”)按钮 http://developers.facebook.com/blog/post/559/

我读到有相当多的 FB 开发人员参与了这个网站,并希望有人能够提供一些说明我可能做错了什么/如何请求 FB 更改代码以尊重我的请求,或者 406 我。

FB doesn't seem to respect ACCEPT headers sent to /feeds/page.php. See below example:

    GET /feeds/page.php?id=10036618151&format=rss20 HTTP/1.1
    Connection: Keep-Alive
    **Accept: text/xml,application/xml**
    Accept-Language: en-us
    User-Agent: Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5)
    Host: www.facebook.com

    HTTP/1.1 200 OK
    Cache-Control: private, no-cache, no-store, must-revalidate
    **Content-type: application/rss+xml**
    Expires: Sat, 01 Jan 2000 00:00:00 GMT
    Last-Modified: Wed, 08 Feb 2012 10:05:49 -0800
    P3P: CP="Facebook does not have a P3P policy. Learn why here: http://fb.me/p3p"
    Pragma: no-cache
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    Set-Cookie: datr=-vIzT4cxw52hjjqTfrpQkNYX; expires=Sat, 08-Feb-2014 16:23:22 GMT;path=/; domain=.facebook.com; httponly
    X-FB-Debug: qx/SiyRZDiVPm4wfiKVj37HImPoKM+DVAsO4oKSbSr0=
    X-Cnection: close
    Date: Thu, 09 Feb 2012 16:23:22 GMT
    Content-Length: 41236

I cannot seem to find a way to post a new bug report on http://developers.facebook.com/bugs, as I don't have the "Create" (nor the "Subscribe") buttons as described here http://developers.facebook.com/blog/post/559/

I have read that there are a fair few FB developers involved with this site, and was hoping that someone could shed some light on what I might be doing wrong / how to request FB changes the code to respect my request, or 406 me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

滴情不沾 2025-01-11 02:12:45

您需要验证自己作为开发人员才能创建错误。
通过以下方式查看此链接进行验证 -

  • 手机号码
  • 手机号码 facebook.com/login/reauth.php?next=https%3A%2F%2Fsecure.facebook.com%2Fcards.php" rel="nofollow">信用卡

验证帐户后,请返回错误系统。

You are going to want to verify yourself as a developer in order to create a bug.
Check out this link for verification via -

Once you have verified your account, head back to the bug system.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文