You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use the Content-Length as indicator when the data has been read completely
i think, it would be nice to - in absence of a text= request parameter - expect the payload in the request body.
about the Content-Length: maybe using it is unnecessary. this depends on the /exact/ behaviour of the InputStream... my understanding would be that waiting for '-1' aka EOF should be enough (and that's what is being done in your original implementation). but: with a long enough request the data might come in blocks, and whether the InputStream blocks until all data has been received or it only blocks until one block has been received (and it would be necessary to drain the buffer and request the rest...) i don't know - i wanted to be sure...
Tint server does not work with POST requests.
The text was updated successfully, but these errors were encountered: