HttpResponseCode

Defined in header “ark/comms/http_response.hh”.


An enumeration of the HTTP response codes that we support.

Values

  • CONTINUE = 100

  • SWITCHING_PROTOCOLS = 101

  • OK = 200

  • NO_CONTENT = 204

  • BAD_REQUEST = 400

  • FORBIDDEN = 403

  • NOT_FOUND = 404

  • CONFLICT = 409

  • EXPECTATION_FAILED = 417

  • INTERNAL_SERVER_ERROR = 500

  • SERVICE_UNAVAILABLE = 503