Undertow supports chunked request encoding, so if a client sends a chunked request it will handle it, however AFAIK all browsers will set a content length when uploading a file.


On Wed, 4 Nov 2015 at 21:40 Darran Lofthouse <darran.lofthouse@jboss.com> wrote:
Haven't checked uploads for a while, do we support chunked encoding or
always send a content length?

On 04/11/15 10:35, Heiko Braun wrote:
> GWT boils down to plain web technologies.  And no, AFAIKT there is no
> way to  check the size of an uploaded file across web browsers. Most
> browsers do however have an implicit limitation on the file size, which
> for majority is about 2 GB.
>> On 04 Nov 2015, at 10:11, Darran Lofthouse <darran.lofthouse@jboss.com
>> <mailto:darran.lofthouse@jboss.com>> wrote:
>> From within GWT is there any option to detect the file size before
>> uploading?
wildfly-dev mailing list