I filed this bug: https://issues.jboss.org/browse/UNDERTOW-409
BTW: I just noticed dont be confused about my cut+paste example below,
I was renaming /webdav into /res to avoid the confusing path
name /webdav. However I did not change all occurences. So both
requests actually are run against the same /res resource (and should
show the same size).