用chrome访问gae的static文件的有关问题

用chrome访问gae的static文件的问题

Traceback (most recent call last):

  File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock

    self.process_request(request, client_address)

  File "C:\Python27\lib\SocketServer.py", line 310, in process_request

    self.finish_request(request, client_address)

  File "C:\Python27\lib\SocketServer.py", line 323, in finish_request

    self.RequestHandlerClass(request, client_address, self)

  File "D:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 2553, in __init__

    BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, *args, **kwargs)

  File "C:\Python27\lib\SocketServer.py", line 641, in __init__

    self.finish()

  File "C:\Python27\lib\SocketServer.py", line 694, in finish

    self.wfile.flush()

  File "C:\Python27\lib\socket.py", line 303, in flush

    self._sock.sendall(view[write_offset:write_offset+buffer_size])

error: [Errno 10053] 

 

 

在gae的网站上放了个mp3做static 文件,然后想看看html5的效果

结果每次都有这么一堆log

表现是音乐播放器不能快进,只能一次

用ff倒没有什么问题

 

在stackflow上的解答

http://stackoverflow.com/questions/4007446/error-on-display-static-content

 

 写道
This is a Chrome-related issue. To stop getting those errors you have to uncheck "Predict network actions to improve page load performance" in Chrome settings.

 

标准答案好像给错人了

不过 我从其他几个答案得到点启发

 

http://stackoverflow.com/questions/5897118/how-to-stream-videos-using-django-website

 

 写道
This type of error is not from Django. But the Google Chrome might have some error connecting!

Here are many such errors where they tell its browser fault: