Automatically set chunked transfer only for QIODevice bodies of unknown size
Automatically set chunked transfer only for QIODevice bodies of unknown size

When there is no body, and the user did not set the
Transfer-Encoding header to chunked we should not
assume chunked encoding is desired, it should be
explicity set, we should only auto set this if
QIODevice set as setBodyDevice returns size() as -1
which would be the case for QSockets, that way
we can't know the content-length so chunked is used

cutelyst/cutelyst,buschmann23/cutelyst,simonaw/cutelyst,buschmann23/cutelyst,buschmann23/cutelyst,simonaw/cutelyst,cutelyst/cutelyst,cutelyst/cutelyst