# parseAccept

**Kind:** Function

**Source:** [`src/utils/accept.ts`](https://github.com/honojs/hono/blob/main/src/utils/accept.ts#L211)

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
function parseAccept(acceptHeader: string): Accept[]
```

## Parameters

| Name | Type |
|---|---|
| `acceptHeader` | `string` |

**Returns:** `Accept[]`

## Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (3)

- `handler` — `src/middleware/compress/index.ts`:139
- `DetectorType` — `src/middleware/language/language.ts`:10
- `Accept` — `src/helper/accepts/accepts.ts`:5
