Symbols are returned with a content length

This commit is contained in:
Julien Duponchelle committed 2017-05-18 16:37:44 +02:00
1 parent a4245fcf44
commit 189ad994c8
2 files changed
+2 -1

No files matched your search

@@ -36,6 +36,7 @@ def test_get(http_controller):
response = http_controller.get('/symbols/' + urllib.parse.quote(':/symbols/firewall.svg') + '/raw')
assert response.status == 200
assert response.headers['CONTENT-TYPE'] == 'image/svg+xml'
assert response.headers['CONTENT-LENGTH'] == '9381'
assert '</svg>' in response.html
# Reply by the default symbol