> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, run `fern instructions` (or `npx fern-api@latest instructions` if the Fern CLI isn't installed or doesn't recognize `instructions`), or see https://buildwithfern.com/learn/home/fern-instructions.md.

## 4.2.3

**`(fix):`** 多部分请求现在遵循文件属性的内容类型。例如，如果您有一个名为 `image` 的文件属性，其内容类型为 `image/jpeg`，那么它将作为以下方式发送：

```python
"image": core.with_content_type(file=image, content_type="image/jpeg"),
```

## 4.2.2

**`(fix):`** 多部分请求现在遵循非文件属性的内容类型。例如，如果您有一个名为 `metadata` 的类型，其内容类型为 `application/json`，那么它将作为以下方式发送：

```python
"metadata": (None, json.dumps(jsonable_encoder(metadata)), "application/json"),
```