Changed response status code and headers according to RFC6750