AssertionError: Hop-by-hop headers not allowed

Traceback (most recent call last):

  File "D:\Python26\lib\wsgiref\handlers.py", line 93, in run

    self.result = application(self.environ, self.start_response)

  File "D:\Python26\lib\site-packages\django\contrib\staticfiles\handlers.py", line 67, in __call__

    return self.application(environ, start_response)

  File "D:\Python26\lib\site-packages\django\core\handlers\wsgi.py", line 253, in __call__

    start_response(status, response_headers)

  File "D:\Python26\lib\wsgiref\handlers.py", line 187, in start_response

    assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"

AssertionError: Hop-by-hop headers not allowed

 

你可能感兴趣的:(assert)