Brian Clozel opened SPR-11919 and commented
There's an issue in Wildfly 8.0.0.Final and 8.1.0.Final (actually in undertow < 1.1.0.Beta2).
See the commit that fixes this in undertow and this StackOverflow question for an actual example.
Affects: 4.0.5
Reference URL: https://issues.jboss.org/browse/WFLY-3474