mirror of https://github.com/scrapy/scrapy.git
commit
415c47479f
|
|
@ -7,9 +7,13 @@ See documentation in docs/topics/request-response.rst
|
|||
import xmlrpc.client as xmlrpclib
|
||||
from typing import Any, Optional
|
||||
|
||||
import defusedxml.xmlrpc
|
||||
|
||||
from scrapy.http.request import Request
|
||||
from scrapy.utils.python import get_func_args
|
||||
|
||||
defusedxml.xmlrpc.monkey_patch()
|
||||
|
||||
DUMPS_ARGS = get_func_args(xmlrpclib.dumps)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue