https://lakefs.io/ logo
#dev
Title
n

Niro

08/10/2023, 2:53 PM
Hi all, I'm implementing a logic which uploads objects to S3. As part of the testing I've noticed that when trying to upload an object of size 0 using pre-signed URLs we're getting a 501 Not Implemented from the server (AWS). This does not happen when we upload the object via lakeFS. Is anyone familiar with this issue or a way to work around that?
o

Oz Katz

08/10/2023, 3:00 PM
Are you doing it with the Go SDK? If so, you might be running into this
n

Niro

08/10/2023, 3:05 PM
Not using the SDK - using an http client. Also AFAIK we're still using SDK V1
o

Oz Katz

08/10/2023, 3:16 PM
go's http client?
n

Niro

08/10/2023, 3:16 PM
Yup
o

Oz Katz

08/10/2023, 3:17 PM
Are you passing a body? (perhaps a non-nil 0 byte reader?)
🙌🏽 1
n

Niro

08/10/2023, 3:17 PM
Yup - that's the bug
🙂 1