Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:internetarchive/liveweb

  • Loading branch information...
commit 8dfba19c31db7b0e8db25424dee81dd0a762e84b 2 parents c43dc60 + 2c133d1
@anandology anandology authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 liveweb/arc_proxy.py
View
4 liveweb/arc_proxy.py
@@ -13,10 +13,10 @@ def get(url):
instead of downloading again.
"""
u = urllib.urlopen(url)
- status_line = "HTTP/1.1 200 OK\n"
+ status_line = "HTTP/1.1 200 OK\r\n"
headers = str(u.headers)
body = u.read()
- payload = status_line + headers + body
+ payload = status_line + headers + "\r\n" + body
content_type = u.headers.get('content-type',"application/octet-stream").split(';')[0]
Please sign in to comment.
Something went wrong with that request. Please try again.