Fixed a bug where the status code was not being applied