Skip to content

Commit

Permalink
Adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lundberg committed Mar 19, 2024
1 parent 679439d commit 9504ede
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ Shortcut for creating and mocking a `HTTPX` [Response](#response).
>
> * **status_code** - *(optional) int - default: `200`*
> Response status code to mock.
> * **headers** - *(optional) dict | sequence of pairs*
> * **headers** - *(optional) dict | Sequence[tuple[str, str]]*
> Response headers to mock.
> * **cookies** - *(optional) dict | sequence of pairs | sequence of `SetCookie`*
> * **cookies** - *(optional) dict | Sequence[tuple[str, str]] | Sequence[SetCookie]*
> Response cookies to mock as `Set-Cookie` headers. See [SetCookie](#setcookie).
> * **content** - *(optional) bytes | str | iterable bytes*
> * **content** - *(optional) bytes | str | Iterable[bytes]*
> Response raw content to mock.
> * **text** - *(optional) str*
> Response *text* content to mock, with automatic content-type header added.
Expand Down

0 comments on commit 9504ede

Please sign in to comment.