Changed restrictions for http codes returned