Module relocation #1181
Module relocation #1181
Conversation
00fccb0
to
ce5a725
@@ -64,7 +64,7 @@ Does Scrapy work with HTTP proxies? | |||
|
|||
Yes. Support for HTTP proxies is provided (since Scrapy 0.8) through the HTTP | |||
Proxy downloader middleware. See | |||
:class:`~scrapy.contrib.downloadermiddleware.httpproxy.HttpProxyMiddleware`. | |||
:class:`~scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware`. |
kmike
Apr 21, 2015
Member
'Middleware' sound plural to me even without 's' in the end. We need an English native speaker here :)
'Middleware' sound plural to me even without 's' in the end. We need an English native speaker here :)
curita
Apr 21, 2015
Author
Member
Yeah, sounds weird, but we generally use 'middleware' to refer to a single middleware class, and 'middlewares' when we're talking of several of these classes/components in the docs. I think we're using that term in a more concrete sense, by being equal to 'middleware class'.
I'll keep the same convention for spider "middlewares" until we decide what to do with this, so we can amend the docs along with it.
Yeah, sounds weird, but we generally use 'middleware' to refer to a single middleware class, and 'middlewares' when we're talking of several of these classes/components in the docs. I think we're using that term in a more concrete sense, by being equal to 'middleware class'.
I'll keep the same convention for spider "middlewares" until we decide what to do with this, so we can amend the docs along with it.
curita
Apr 21, 2015
Author
Member
I forgot, it's used with a trailing 's' in settings too, we have DOWNLOADER_MIDDLEWARES
and SPIDER_MIDDLEWARES
. I think I prefer to keep it as "middlewares", seems like its usage is consistent in all places where is referred.
I forgot, it's used with a trailing 's' in settings too, we have DOWNLOADER_MIDDLEWARES
and SPIDER_MIDDLEWARES
. I think I prefer to keep it as "middlewares", seems like its usage is consistent in all places where is referred.
d1e2987
to
b20fea5
I've finished with all relocations agreed in #1063 Some remaining issues that could be handled in this PR:
|
+1 I agree About the docs, I think any mention of
|
@nyov Thanks for the review! :) I fully agree with your comments, I didn't mind the shortened filenames except for statscols.py, when I renamed it to plural it sounded weirder. I'm going to start implementing those changes in separated commits so we can revert them if we decide otherwise. |
There's a MiddlewareManager that I haven't found earlier: I think both |
I noticed the same earlier ( |
Now that I think of I like moving |
I can't say if it's okay to move them out of 'core' (depends on the meaning of "core" here; maybe the interfaces shouldn't be mixed with the implementations here - if that's what they are). For |
I rebased |
Relocations listed in #1063