---
title: "Handles OPTIONS requests to `/options`."
url: "https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8/operations/options_handler"
---

> Full API specification: https://developer.rucho.org/apis/rucho/versions/5bdf1bcb-8db4-40f1-a293-72c7198e26c8.md

# Handles OPTIONS requests to `/options`.

`OPTIONS` `/options`

Operation ID: `options_handler`

Responds with the allowed HTTP methods for this server in the `Allow` header. The body of the response is empty. # HTTP Method: - `OPTIONS` # Responses: - `204 No Content`: Returns an empty body with the `Allow` header set to "GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD".

## Responses

- `204` - No content, Allow header lists allowed methods

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: rucho
  version: 1.6.0
servers:
  - url: https://rucho.org
    description: Production (EKS us-east-2, behind Kong)
paths:
  /options:
    options:
      tags:
        - crate::routes::core_routes
      summary: Handles OPTIONS requests to `/options`.
      description: >-
        Responds with the allowed HTTP methods for this server in the `Allow`
        header.

        The body of the response is empty.


        # HTTP Method:

        - `OPTIONS`


        # Responses:

        - `204 No Content`: Returns an empty body with the `Allow` header set to

        "GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD".
      operationId: options_handler
      responses:
        "204":
          description: No content, Allow header lists allowed methods
```
