1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

content-size to number

This commit is contained in:
Jernej Pregelj 2019-04-17 17:26:39 +02:00 committed by Matthias Kretschmann
parent 85ff7bc165
commit c36ed8dbe6
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -31,7 +31,7 @@ export class UrlCheckRouter {
if (response.headers['content-length']) {
result.contentLength =
response.headers['content-length']
parseInt(response.headers['content-length'])
}
if (response.headers['content-type']) {