Skip to content

Commit fe68d4e

Browse files
authored
fix: Update BytesDeserializer accept header (aws#1678)
1 parent e62d6a4 commit fe68d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/deserializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def ACCEPT(self):
4444
class BytesDeserializer(BaseDeserializer):
4545
"""Deserialize a stream of bytes into a bytes object."""
4646

47-
ACCEPT = "application/octet-stream"
47+
ACCEPT = "*/*"
4848

4949
def deserialize(self, data, content_type):
5050
"""Read a stream of bytes returned from an inference endpoint.

0 commit comments

Comments
 (0)