*Remove commented contentLength

This commit is contained in:
Derrick Hammer 2022-08-21 21:49:17 -04:00
parent 697819bc4e
commit bb8a5e5ac6
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 8 deletions

View File

@ -377,20 +377,12 @@ export default class IpfsProvider extends BaseProvider {
details: OnHeadersReceivedDetailsType
): Promise<BlockingResponse | boolean> {
let headers = [];
// const contentLength = this.getData(details, "contentLength");
headers.push({
name: "Content-Type",
value: this.getData(details, "contentType"),
});
/* if (contentLength) {
headers.push({
name: "content-length",
value: contentLength,
});
}*/
return {
responseHeaders: headers,
};