Function setDefaultRequestValidationMode

Sets the default validation mode for requests