Why am I getting Request Entity Too Large without files being involved? #5318
-
I am making a GET request and I am appending 40 strings to a query parameter. And each string is 100 chars long. Why would I be Request Entity Too Large error even though there is no file involved? Also, if I understood the limitations of a query params correctly, then there is no limit to it unless browser has placed a limitation. And I am making a request without a browser anyway (via Tests). I have tried max request size to 200 MB and max file upload size to 200 MB. I am sure file has nothing to do with it, but just to test it I put that limit on file upload. When I send in 39 strings where each string is still 100 chars long, the request pass without problems. What else I can do? (yes I am aware sending in 3900 chars long uri discounting the context path is bad.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
micronaut.server.netty.max-initial-line-length is the answer. |
Beta Was this translation helpful? Give feedback.
micronaut.server.netty.max-initial-line-length is the answer.