Repository navigation
How to POST big files? #1937
Answered
by
raman-m
dmitriifilonenko
asked this question in
Q&A
|
Currently Ocelot doesn't allow POST requests with big bodies. Effectively it forbids uploading relatively big files. This can be worked around on the application level: WebHost.CreateDefaultBuilder(args)
.UseKestrel(options =>
{
options.Limits.MaxRequestBodySize = null;
})But it would be much better if it was possible on request level, preferably as a part of Route configuration. Also it's not completely clear if Ocelot manages to resend request with big content. I face another issue: Though it's not yet clear is the problem is in Ocelot. |
Answered by
raman-m
Jan 20, 2024
Replies: 4 comments 2 replies
|
I have the same problem. But, when I set the Ocelot and Upstream's like |
1 reply
|
Reroute configuration would be a better option, than enabling this application wide. |
0 replies
|
@Keerthikan Can you guide how to do so with Reroute? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We will check, but it should be fixed by #1724 #1824
@dmitriifilonenko FYI