diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 20:10:51 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 20:10:51 +0200 |
| commit | 62ab10a05acdc8bb45549e4df6fd6fb5f4623aab (patch) | |
| tree | aa9923e821b0171ac71d11f9e8414fc594fcb61c /Doc/library/http.server.rst | |
| parent | 5d6fbe82078fe67437755bccfa504dbbcf909a74 (diff) | |
| download | cpython-git-62ab10a05acdc8bb45549e4df6fd6fb5f4623aab.tar.gz | |
Replace mentions of IOError
Diffstat (limited to 'Doc/library/http.server.rst')
| -rw-r--r-- | Doc/library/http.server.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index b30a661edc..d9aaa728bf 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -318,7 +318,7 @@ of which this module provides three different variants: response if the :func:`listdir` fails. If the request was mapped to a file, it is opened and the contents are - returned. Any :exc:`IOError` exception in opening the requested file is + returned. Any :exc:`OSError` exception in opening the requested file is mapped to a ``404``, ``'File not found'`` error. Otherwise, the content type is guessed by calling the :meth:`guess_type` method, which in turn uses the *extensions_map* variable. |
