Add "application/octet-stream" mime type for package

This commit is contained in:
Ivan Kravets
2015-02-23 23:08:42 +02:00
parent 9bde156294
commit 73af0eed3c

View File

@ -25,7 +25,8 @@ def validate_response(req):
def validate_package(url):
r = requests.head(url, allow_redirects=True)
validate_response(r)
assert r.headers['Content-Type'] == "application/x-gzip"
assert r.headers['Content-Type'] in ("application/x-gzip",
"application/octet-stream")
def test_package(package_data):