TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Akamai blocks unordered HTTP request headers

43 点作者 gwillem大约 8 年前

6 条评论

idbehold大约 8 年前
In the second example the author does the following:<p><pre><code> $ ACCEPT=&quot;text&#x2F;html,application&#x2F;xhtml+xml,application&#x2F;xml;q=0.9,image&#x2F;webp,*&#x2F;*;q=0.8&quot; $ curl -v -H &quot;$UA&quot; -H &quot;$ACCEPT&quot; $URL |&amp; grep &#x27;&lt; HTTP&#x27; </code></pre> The author fails to prefix $ACCEPT with the actual header key. It should be:<p><pre><code> $ curl -v -H &quot;$UA&quot; -H &quot;Accept: $ACCEPT&quot; $URL |&amp; grep &#x27;&lt; HTTP&#x27;</code></pre>
评论 #14246813 未加载
评论 #14246702 未加载
评论 #14247498 未加载
jnfurst大约 8 年前
This is just the configuration for a single site. The author did not even try it against www.akamai.com:<p>$ URL=<a href="http:&#x2F;&#x2F;www.akamai.com" rel="nofollow">http:&#x2F;&#x2F;www.akamai.com</a><p>$ UA=&quot;User-Agent: Mozilla&#x2F;5.0 My API Client&quot;<p>$ ACCEPT=&quot;Accept: <i>&#x2F;</i>&quot;<p>$ curl -v -H &quot;$UA&quot; -H &quot;$ACCEPT&quot; $URL<p>&lt; HTTP&#x2F;1.1 301 Moved Permanently<p>&lt; Content-Length: 0<p>&lt; Location: <a href="https:&#x2F;&#x2F;www.akamai.com" rel="nofollow">https:&#x2F;&#x2F;www.akamai.com</a><p>&lt; Date: Tue, 02 May 2017 14:46:59 GMT<p>&lt; Connection: keep-alive
squeed大约 8 年前
Is it Akamai? Or is it a single site on Akamai? CDN customers can configure their sites in a million ways.<p>My guess is a single site that was getting DDoS&#x27;d added this as an attack signature and forgot about it.
评论 #14246921 未加载
评论 #14246708 未加载
michaelmior大约 8 年前
&gt; most libraries use random order<p>Most libraries use an <i>undefined</i> order. This is not the same as random.
评论 #14249704 未加载
AznHisoka大约 8 年前
Did Akamai recently just make this change?<p>I&#x27;m asking because I&#x27;ve been running a web crawler for years now, and in the past week, I have noticed that the crawler is being rejected in more websites then usual.
gumby大约 8 年前
I disagree with the author&#x27;s title (and I see it was submitted with a different title).<p>This is actually a report of two bugs:<p>1- the standard doesn&#x27;t require an order<p>2 - the IETF&#x27;s admonition that you be liberal in what you accept.