# File part with explicit contentType

`POST /anything/file-with-content-type`

Tags: `multipartEncoding`

Verifies that a binary file part declared with `encoding.contentType: text/plain`
is sent with `Content-Type: text/plain` rather than `application/octet-stream`.

Upload any file — check the generated code snippet and (via HTTPBin) the actual
request to confirm the part Content-Type is `text/plain`.

Schema:
```yaml
encoding:
  file:
    contentType: text/plain
```

## Servers

- `https://httpbin.org`: HTTPBin (inspect actual request parts in the response)

## Request body (required)

### Content type: `multipart/form-data`

Schema: `object`

- `file` (string<binary>, required)
  The file to upload.

Encoding of each part:

- `file`: content type `text/plain`

## Responses

### 200

Request echoed by HTTPBin — inspect `files` for Content-Type
