Skip to content

Commit c8bfbb1

Browse files
kianmengcsernazs
authored andcommitted
Fix typos
1 parent 9dfae51 commit c8bfbb1

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Upgrade Notes
305305
- The following methods of HTTPServer have been changed in a backward-incompatible way:
306306
* :py:meth:`pytest_httpserver.HTTPServer.expect_request` becomes a general function accepting handler_type parameter so it can create any kind of request handlers
307307
* :py:meth:`pytest_httpserver.HTTPServer.expect_oneshot_request` no longer accepts the ordered parameter, and it creates an unordered oneshot request handler
308-
* :py:meth:`pytest_httpserver.HTTPServer.expect_ordered_request` is a new method craeting an ordered request handler
308+
* :py:meth:`pytest_httpserver.HTTPServer.expect_ordered_request` is a new method creating an ordered request handler
309309

310310

311311
.. _Release Notes_0.2.2:

doc/background.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ packages. However, if there's an API breaking change which affects
157157
HTTP server
158158
-----------
159159

160-
The chosen HTTP server which drives this library is imlemented by the *werkzeug*
160+
The chosen HTTP server which drives this library is implemented by the *werkzeug*
161161
library. The reason behind this decision is that *werkzeug* is used by Flask, a
162162
very popular web framework and it provides a proven, stable API in the long
163163
term.

doc/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ In case you don't want to change the defaults, you can provide the
270270
271271
Using custom request handler
272272
----------------------------
273-
In the case the repsonse is not static, for example it depends on the request,
273+
In the case the response is not static, for example it depends on the request,
274274
you can pass a function to the ``respond_with_handler`` function. This function
275275
will be called with a request object and it should return a Response object.
276276

pytest_httpserver/httpserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def match(self, uri: str) -> bool:
246246
"""
247247
Matches the provided URI.
248248
249-
:param uri: URI of the request. This is an absolute path startting
249+
:param uri: URI of the request. This is an absolute path starting
250250
with "/" and does not contain the query part.
251251
:return: True if there's a match, False otherwise
252252
"""

releasenotes/notes/unify-expect-request-functions-bd877c586b62a294.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ upgrade:
77
The following methods of HTTPServer have been changed in a backward-incompatible way:
88
* :py:meth:`pytest_httpserver.HTTPServer.expect_request` becomes a general function accepting handler_type parameter so it can create any kind of request handlers
99
* :py:meth:`pytest_httpserver.HTTPServer.expect_oneshot_request` no longer accepts the ordered parameter, and it creates an unordered oneshot request handler
10-
* :py:meth:`pytest_httpserver.HTTPServer.expect_ordered_request` is a new method craeting an ordered request handler
10+
* :py:meth:`pytest_httpserver.HTTPServer.expect_ordered_request` is a new method creating an ordered request handler

0 commit comments

Comments
 (0)