Subscribed unsubscribe Subscribe Subscribe

Cneonction

% curl -D - http://www.youtube.com/comment_sevlet?all_comments

とやってみたところ


HTTP/1.1 500 Internal Server Error
Date: Tue, 03 Jun 2008 17:45:45 GMT
Server: Apache
Cneonction: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

<html>
<!-- machid: 495 -->
<head><title>500 Internal Server Error</title></head>
<body>
<h1>500 Internal Server Error</h1>
<p>Sorry, something went wrong.<br><br>A team of highly trained monkeys has bee
dispatched to deal with this situation. Please <a href="http://www.google.com/
upport/youtube/bin/request.py?page=troubleshooter.cs&problem=ise&contact_type=i
e&ctx=direct">report this incident</a> to customer service.</p>
Also, please include the following information in your error report:<br>
<pre>LRp7TyoiyZGpOJbnpj48fZ6MM8zhTmTjDZluM6HHZjui-gblPDQHMShsZSRa
Y1mzE0hBnvLs3tKCiHSURXVO_9SrF3ut2pnbH4S_q5JR4nQPIEjIU7zcO7VG
cSBLnG064-66MubskuK1uIHmDE0eBFz1tZK7xTtQkmumm09pJabD-aCrEa9f
PXzXroT440aGoESYSWW0Loy4PLBjpZuDscYB-0j43m6a6wpf7bdL7s1CfOq6
m7Eqi0ow4Tu8KcQS_DMHYT4pW4mpb2lYOCz71kfNopz4fKsythjPSPad4yEy
J2q8r97m98gLinfX4xE21Uik2v6TjXRprakOM6ZCm7-mAt33ufIt-vqLqcCX
ryIf7iO8OQWUKcAF44DSwA8Uxits2xlx_JUC8zL5QuyYMuZvtXmNFGGPkyBb
wfnApBEFs_8flTYRHtjgNv4l5JZifI9cB8MQJG8A0tE-K0EaY_-7cZzr2t2K
h1t5f71SimcrIOx-rCAVHMCcbkFVwOiGyaWJISa74IJpiEuGZLy2oM_GN0pA
jld-QQJTtyBQfuJvGtHDSPE33ARW2lYTZoiACnkMiBHJ49E=</pre>
</body>
</html>

自前のサーバ使うのはいいけど RFC 守れよ。

追記: amazon もだった


% curl -D - http://webservices.amazon.co.jp/onca/xml?
HTTP/1.1 200 OK
Date: Tue, 03 Jun 2008 17:52:22 GMT
Server: Server
x-amz-id-1: 0FH00H9TX8DD4QP293F2
x-amz-id-2: BWx4QKAwTBikItomhQKVk5+otst/hI8qkS1HRCIkVkw=
Content-Type: text/xml; charset=UTF-8
Vary: Accept-Encoding,User-Agent
Cneonction: close
Transfer-Encoding: chunked

...

追記2: こういうときは Google codesearch を使ってみるのがいいと思って調べてみたところ、cryptlib の io/http_rd.c に次のような注釈が。

	{ "Cneonction:", 11, HTTP_HEADER_CONNECTION },
		/* The bizarre spellings are for buggy NetApp NetCache servers,
		   which unfortunately are widespread enough that we need to provide
		   special-case handling for them.  For the second mis-spelling we
		   have to capitalise the first letter for our use since we compare
		   the uppercase form for a quick match */

というわけで NetApp NetCache の仕業らしい。

Remove all ads