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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -