Thank you both Arturo and Chris for your responses! Your answers are very helpful and confirm my thoughts. -Patricia
-----Original Message----- From: arturobern...@gmail.com <arturobern...@gmail.com> On Behalf Of Arturo Bernal Sent: Friday, January 3, 2025 2:08 PM To: HttpClient User Discussion <httpclient-users@hc.apache.org> Subject: Re: is there a maximum request size supported by the httpclient library? Hi Patricia, There’s no hard-coded request-size limit in Apache HttpClient itself . A 413 Request Entity Too Large error usually originates on the server or proxy side when it decides that the incoming request (header + body) exceeds its configured maximum size. Arturo On Fri, Jan 3, 2025 at 7:51 PM Patricia N Goldweic < pgoldw...@northwestern.edu> wrote: > I am currently having an issue with the request size for some of my > code (which has recently been migrated to use jwts for authentication, > and has these (large) tokens both as an authorization header value and > also as a query string parameter in the request URLs). The code > depends on the mitre-proxy-servlet library, which in turn depends on > httpclient (version > 4.5.13 apparently). Specifically, I'm getting an (Apache) http error > code > 413 when my code makes a GET request to a third party site via the > proxy servlet. I'd like to understand if there's any size limitation > inherent to the http-client library that I should be aware of. Thanks > in advance for any information you may have on this, > > -Patricia > pgoldw...@northwestern.edu > >