Skip to content

Commit 2e4911d

Browse files
authored
Docs: fix minor typos (miguelgrinberg#161)
1 parent 3eb57d0 commit 2e4911d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/extensions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ subdirectory. This location can be changed with the
137137
.. note::
138138
The Jinja extension is not compatible with MicroPython.
139139

140-
Maintaing Secure User Sessions
141-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140+
Maintaining Secure User Sessions
141+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142142

143143
.. list-table::
144144
:align: left

docs/intro.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ expected to return an updated response object.
301301

302302
.. note::
303303
The :ref:`request.g <The "g" Object>` object is a special object that allows
304-
the before and after request handlers, as well sa the route function to
304+
the before and after request handlers, as well as the route function to
305305
share data during the life of the request.
306306

307307
Error Handlers
@@ -500,7 +500,7 @@ contents as a file-like object.
500500
Cookies
501501
^^^^^^^
502502

503-
Cookies that are sent by the client are made available throught the
503+
Cookies that are sent by the client are made available through the
504504
:attr:`cookies <microdot.Request.cookies>` attribute of the request object in
505505
dictionary form.
506506

@@ -595,7 +595,7 @@ always returned to the client in the response body::
595595
In the above example, Microdot issues a standard 200 status code response, and
596596
inserts the necessary headers.
597597

598-
The applicaton can provide its own status code as a second value returned from
598+
The application can provide its own status code as a second value returned from
599599
the route. The example below returns a 202 status code::
600600

601601
@app.get('/')
@@ -611,7 +611,7 @@ The next example returns an HTML response, instead of a default text response::
611611
return '<h1>Hello, World!</h1>', 202, {'Content-Type': 'text/html'}
612612

613613
If the application needs to return custom headers, but does not need to change
614-
the default status code, then it can return two values, omitting the stauts
614+
the default status code, then it can return two values, omitting the status
615615
code::
616616

617617
@app.get('/')
@@ -753,7 +753,7 @@ Another option is to create a response object directly in the route function::
753753
Standard cookies do not offer sufficient privacy and security controls, so
754754
never store sensitive information in them unless you are adding additional
755755
protection mechanisms such as encryption or cryptographic signing. The
756-
:ref:`session <Maintaing Secure User Sessions>` extension implements signed
756+
:ref:`session <Maintaining Secure User Sessions>` extension implements signed
757757
cookies that prevent tampering by malicious actors.
758758

759759
Concurrency

0 commit comments

Comments
 (0)