From 32f115c4c67758646f8f8a4711408ef45847529e Mon Sep 17 00:00:00 2001 From: hy Date: Wed, 16 Sep 2015 16:59:23 +0800 Subject: [PATCH] fix typos in downloader-middleware.rst and exceptions.rst, middlware -> middleware --- docs/topics/downloader-middleware.rst | 2 +- docs/topics/exceptions.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst index 03c5deffe..b304d581d 100644 --- a/docs/topics/downloader-middleware.rst +++ b/docs/topics/downloader-middleware.rst @@ -736,7 +736,7 @@ RetryMiddleware .. class:: RetryMiddleware - A middlware to retry failed requests that are potentially caused by + A middleware to retry failed requests that are potentially caused by temporary problems such as a connection timeout or HTTP 500 error. Failed pages are collected on the scraping process and rescheduled at the diff --git a/docs/topics/exceptions.rst b/docs/topics/exceptions.rst index 8a10ee796..9f8d16d84 100644 --- a/docs/topics/exceptions.rst +++ b/docs/topics/exceptions.rst @@ -57,7 +57,7 @@ remain disabled. Those components include: * Extensions * Item pipelines - * Downloader middlwares + * Downloader middlewares * Spider middlewares The exception must be raised in the component constructor.