extract no content response codes to a constant

extract no content response codes to a constant