///|
fn http_response_status(message : Json) -> (Int32, String) {
  match jsonrpc_value_error_code(message) {
    Some(-32020 | -32021 | -32022) => (400, "Bad Request")
    Some(-32601) => (404, "Not Found")
    _ => (200, "OK")
  }
}