Not printing a DeprecationWarning, if the status_code is overwritten.