HttpService:PostAsync 1024 KB data limit does not take gzip compression into account

It seems that the 1024 KB request size limit in calls to HttpService:PostAsync applies regardless of whether or not you enable gzip compression on the request. Is this intended behavior, or a bug?

Based on the documentation, it sounds like it’s supposed to limit the actual request’s size (rather than the call argument’s size, which is raw and uncompressed)

Posting 1024KB or more of data will result in an error. (1024KB: A string with a length of 1024^2 characters)

3 Likes