Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
don't add context to http request to keep prior behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Nov 19, 2021
1 parent 02c92dc commit 1dfaa94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fsrefstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func (f *FileManager) readURLDataObj(ctx context.Context, c cid.Cid, d *pb.DataO
if err != nil {
return nil, err
}
req = req.WithContext(ctx)

req.Header.Add("Range", fmt.Sprintf("bytes=%d-%d", d.GetOffset(), d.GetOffset()+d.GetSize_()-1))

Expand Down

0 comments on commit 1dfaa94

Please sign in to comment.