see rack/rack#481
see rack/rack#481