Skip to content

Commit

Permalink
Merge pull request #2 from tablelandnetwork/dtb/update-go3wup
Browse files Browse the repository at this point in the history
  • Loading branch information
dtbuchholz authored Nov 17, 2024
2 parents 29d0e14 + fc9fb5f commit cfbfae6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/omeid/uconfig v0.5.0
github.com/stretchr/testify v1.8.4
github.com/web3-storage/go-ucanto v0.1.0
github.com/web3-storage/go-w3up v0.0.2
github.com/web3-storage/go-w3up v0.0.3
golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0 h1:GDDkbFiaK8jsSD
github.com/warpfork/go-wish v0.0.0-20220906213052-39a1cc7a02d0/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw=
github.com/web3-storage/go-ucanto v0.1.0 h1:Hg6jO7OLLeDLtmseQZWQGBFJMp+5t5OWAFVL5Y3LsOs=
github.com/web3-storage/go-ucanto v0.1.0/go.mod h1:XD6zahQ8HLh8Z2CSK7xYcTR0A7oCVYXTZB7fFtYqGF8=
github.com/web3-storage/go-w3up v0.0.2 h1:MhGPNSaZZKxsIoARj83TwIjFVwtz7r7r67R4aD3maDA=
github.com/web3-storage/go-w3up v0.0.2/go.mod h1:GGTPPHhc44LW6jCZlsXQtjn653rPzJJtN78XyJDnXTE=
github.com/web3-storage/go-w3up v0.0.3 h1:zSyj+TSh7gxCZffhMN7m4E6t6XhIEGkq7bRb+khpAug=
github.com/web3-storage/go-w3up v0.0.3/go.mod h1:GGTPPHhc44LW6jCZlsXQtjn653rPzJJtN78XyJDnXTE=
github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11 h1:5HZfQkwe0mIfyDmc1Em5GqlNRzcdtlv4HTNmdpt7XH0=
github.com/whyrusleeping/cbor v0.0.0-20171005072247-63513f603b11/go.mod h1:Wlo/SzPmxVp6vXpGt/zaXhHH0fn4IxgqZc82aKg6bpQ=
github.com/whyrusleeping/cbor-gen v0.0.0-20230818171029-f91ae536ca25 h1:yVYDLoN2gmB3OdBXFW8e1UwgVbmCvNlnAKhvHPaNARI=
Expand Down
3 changes: 3 additions & 0 deletions uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ func (c *w3sclient) upload(root cid.Cid, dest string) (_ cid.Cid, err error) {

hdr := map[string][]string{}
for k, v := range rcpt.Out().Ok().Headers.Values {
if k == "content-length" {
continue
}
hdr[k] = []string{v}
}
hr.Header = hdr
Expand Down

0 comments on commit cfbfae6

Please sign in to comment.