From 3a2deb5150bcf0af313975ba21ec3e1a6b03ff8b Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 6 Mar 2025 15:41:52 +0000 Subject: [PATCH] Fixup quickstart --- docs/quickstart.md | 2 +- src/ahttpx/_models.py | 2 +- src/httpx/_models.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index 8298d74..ddaae4e 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -3,7 +3,7 @@ Install using ... ```shell -$ pip install https://staging.d2pg1230p7w6nv.amplifyapp.com/httpx-design-proposal.tar.gz +$ pip install git+https://github.com/encode/httpnext.git ``` First, start by importing `httpx`... diff --git a/src/ahttpx/_models.py b/src/ahttpx/_models.py index f1fbdae..db0f8d5 100644 --- a/src/ahttpx/_models.py +++ b/src/ahttpx/_models.py @@ -361,7 +361,7 @@ def multi_dict(self) -> dict[str, list[str]]: # # `dict[str, list[str]]` - {"Content_Type": ["text/html"], ...} # `dict[str, str | list[str]]` - {"Content_Type": "text/html", ...} - raise NotImplementedError() + return {k: v for _, k, v in self._state} # Modifiers... diff --git a/src/httpx/_models.py b/src/httpx/_models.py index 4d76172..5932006 100644 --- a/src/httpx/_models.py +++ b/src/httpx/_models.py @@ -361,7 +361,7 @@ def multi_dict(self) -> dict[str, list[str]]: # # `dict[str, list[str]]` - {"Content_Type": ["text/html"], ...} # `dict[str, str | list[str]]` - {"Content_Type": "text/html", ...} - raise NotImplementedError() + return {k: v for _, k, v in self._state} # Modifiers...