applies the defaults and checks the values; ProtocolError('bad-route') for one out of range
ProtocolError('bad-route')
applies the defaults and checks the values;
ProtocolError('bad-route')for one out of range