diff options
author | Gabriel Falcão <gabrielfalcao@users.noreply.github.com> | 2021-01-05 21:23:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 21:23:36 +0100 |
commit | 664c04fa4d330709b075f75aaa57ecff1c1a19a3 (patch) | |
tree | 8da7e5849fe0aa22a9955acc37f7b1d8bd77e119 | |
parent | 10fed4b7432ce3e0f22ea49871bf29da117d6ce7 (diff) | |
parent | 3459d40241b2a02523fdec0580d0698546cee9fa (diff) | |
download | httpretty-664c04fa4d330709b075f75aaa57ecff1c1a19a3.tar.gz |
Merge pull request #408 from dulguunpc/patch-1
Update introduction.rst
-rw-r--r-- | docs/source/introduction.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/introduction.rst b/docs/source/introduction.rst index 836a5d2..511b2c2 100644 --- a/docs/source/introduction.rst +++ b/docs/source/introduction.rst @@ -95,7 +95,7 @@ making assertions in a callback that generates the response body return [200, response_headers, json.dumps({"hello": "world"})] httpretty.register_uri( - HTTPretty.POST, "https://httpretty.example.com/api", + httpretty.POST, "https://httpretty.example.com/api", body=request_callback) response = requests.post('https://httpretty.example.com/api', headers={'Content-Type': 'application/json'}, data='{"nothing": "here"}') |