Handling status code allows to change the returned code