Return of the correct response code.

Is now able to handle status 204.