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:
parent
85ff7bc165
commit
c36ed8dbe6
@ -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']) {
|
||||
|
Loading…
Reference in New Issue
Block a user