otsukare Thoughts after a day of work

Another HTTP Location issue

This one is interesting too.

 http GET http://118114.cn/

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Tue, 14 Aug 2012 02:54:06 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Keep-Alive: timeout=60
Location: http://www.118114.cn:

<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

Location URI finishing by a colon, it doesn't sound right… right?

→ http GET http://www.118114.cn:
(LocationParseError(...), 'Failed to parse: Failed to parse: www.118114.cn:')

\