Skip to content

Commit

Permalink
Remove the content length header
Browse files Browse the repository at this point in the history
  • Loading branch information
2-towns committed Oct 24, 2024
1 parent 333fb5f commit cb5a5fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions codex/rest/api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ proc retrieveCid(

bytes += buff.len

resp.setHeader("Content-Length", $bytes)

await resp.sendChunk(addr buff[0], buff.len)
await resp.finish()
codex_api_downloads.inc()
Expand Down

0 comments on commit cb5a5fa

Please sign in to comment.