scala - Handling chunked requests in Scalatra -


i’m interesting in processing chunked requests scalatra. scalatra support access single chunk of chunked http request? or have wait end of chunked request , process whole request after?

the scalalatra wrapper around java servlets. allows access richrequest.inputstream directly. else same java.

you might need parse chunked encoding input stream.

see also: chunked http decoding in java?

you can find wrapper inputstream here: http://www.java2s.com/code/java/file-input-output/aninputstreamthatimplementshttp11chunking.htm


Comments

Popular posts from this blog

python - PyInstaller UAC not working in onefile mode -

python - RuntimeError: can't re-enter readline -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -