Question

I know that there is a default limit of 100kb on the request messages that the client sends to one of the controllers in my Play project. What about the size on the response messages? I have a huge String JSON that I want to send as a response. Is there anything that I have to specify additionally in Play framework to handle such huge Strings in the response messages?

Était-ce utile?

La solution

Browsers have certain limitations, but other than that, the memory is the limit. You should however stream large responses in order to avoid clogging up RAM.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top