6

I am curl-ing an endpoint that does a redirection to an S3-bucket.

I must pass some large headers to my request which fails because the max header size is exceeded:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
   <Code>RequestHeaderSectionTooLarge</Code>
   <Message>Your request header section exceeds the maximum allowed size.</Message>
   <MaxSizeAllowed>8192</MaxSizeAllowed>
   <RequestId>AP394DD4D4F133</RequestId>
   <HostId>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</HostId>
</Error>

Is there a way to tweak this at the S3 level & increase the maximum allowed header size?

Ermiya Eskandary
  • 15,323
  • 3
  • 31
  • 44
pkaramol
  • 16,451
  • 43
  • 149
  • 324

0 Answers0