Home
last modified time | relevance | path

Searched refs:TextResponse (Results 1 – 25 of 56) sorted by relevance

123

/dports/deskutils/egroupware/egroupware/vendor/zendframework/zend-diactoros/test/Response/
H A DTextResponseTest.php13 use Zend\Diactoros\Response\TextResponse; alias
21 $response = new TextResponse($body);
31 $response = new TextResponse($body, $status);
44 $response = new TextResponse($body, $status, $headers);
55 $response = new TextResponse($body);
81 new TextResponse($body);
90 $response = new TextResponse($text);
/dports/www/py-scrapy/Scrapy-2.5.1/tests/
H A Dtest_responsetypes.py4 from scrapy.http import Response, TextResponse, XmlResponse, HtmlResponse, Headers
12 ('file.txt', TextResponse),
45 ('application/x-json; encoding=UTF8;charset=UTF-8', TextResponse),
46 ('application/json-amazonui-streaming;charset=UTF-8', TextResponse),
55 (b'Some plain text\ndata with tabs\t and null bytes\0', TextResponse),
68 'Content-Disposition': ['attachment; filename=data.txt']}, TextResponse),
78 ({'url': 'http://www.example.com/data.csv'}, TextResponse),
H A Dtest_utils_iterators.py7 from scrapy.http import XmlResponse, TextResponse, Response
313 response = TextResponse(url="http://example.com/", body=body)
330 response = TextResponse(url="http://example.com/", body=body)
343 response1 = TextResponse(url="http://example.com/", body=body1)
352 response2 = TextResponse(url="http://example.com/", body=body2)
363 response = TextResponse(url="http://example.com/", body=body)
387 response = TextResponse(url="http://example.com/", body=body)
400 response = TextResponse(url="http://example.com/", body=body)
412 response = TextResponse(url="http://example.com/", body=body)
435 response = TextResponse(url="http://example.com/", body=body2, encoding='cp852')
[all …]
H A Dtest_selector.py5 from scrapy.http import TextResponse, HtmlResponse, XmlResponse
14 response = TextResponse(url="http://example.com", body=body, encoding='utf-8')
46 response = TextResponse(url=url, body=body, encoding='utf-8')
82 r1 = TextResponse('http://www.example.com',
95 Selector(TextResponse(url='http://example.com', body=b''), text='')
H A Dtest_spider.py12 from scrapy.http import Request, Response, TextResponse, XmlResponse, HtmlResponse
428 r = TextResponse(url="http://www.example.com/sitemap.xml", body=self.BODY)
447 r = TextResponse(url="http://www.example.com/robots.txt", body=robots)
470 r = TextResponse(url="http://www.example.com/sitemap.xml", body=sitemap)
504 r = TextResponse(url="http://www.example.com/sitemap.xml", body=sitemap)
539 r = TextResponse(url="http://www.example.com/sitemap.xml", body=sitemap)
570 r = TextResponse(url="http://www.example.com/sitemap.xml", body=sitemap)
628 resp = TextResponse(url="http://www.example.com/random_url", body=text)
H A Dtest_utils_response.py5 from scrapy.http import Response, TextResponse, HtmlResponse
15 dummy_response = TextResponse(url='http://example.org/', body=b'dummy_response')
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/http/response/
H A Dhtml.py8 from scrapy.http.response.text import TextResponse
11 class HtmlResponse(TextResponse):
H A Dxml.py8 from scrapy.http.response.text import TextResponse
11 class XmlResponse(TextResponse):
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/assistant/test/
H A Dtest_assistant_service.cc133 class TextResponse : public InteractionResponse::Response { class
135 explicit TextResponse(const std::string& text) : text_(text) {} in TextResponse() function in ash::TextResponse
136 ~TextResponse() override = default;
146 DISALLOW_COPY_AND_ASSIGN(TextResponse);
305 AddResponse(std::make_unique<TextResponse>(text)); in AddTextResponse()
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/core/downloader/handlers/
H A Ddatauri.py3 from scrapy.http import TextResponse
17 if (issubclass(respcls, TextResponse)
/dports/www/py-scrapy/Scrapy-2.5.1/docs/topics/
H A Drequest-response.rst678 such as :class:`TextResponse`.
854 TextResponse objects
877 .. attribute:: TextResponse.text
894 .. attribute:: TextResponse.encoding
912 .. attribute:: TextResponse.selector
920 .. method:: TextResponse.xpath(query)
926 .. method:: TextResponse.css(query)
932 .. automethod:: TextResponse.follow
934 .. automethod:: TextResponse.follow_all
936 .. automethod:: TextResponse.json()
[all …]
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/utils/
H A Diterators.py6 from scrapy.http import TextResponse, Response
112 encoding = obj.encoding if isinstance(obj, TextResponse) else encoding or 'utf-8'
155 elif isinstance(obj, TextResponse):
H A Dresponse.py78 from scrapy.http import HtmlResponse, TextResponse
86 elif isinstance(response, TextResponse):
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/downloadermiddlewares/
H A Dhttpcompression.py6 from scrapy.http import Response, TextResponse
70 if issubclass(respcls, TextResponse):
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/http/
H A D__init__.py18 from scrapy.http.response.text import TextResponse
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/github.com/elazarl/goproxy/
H A Dresponses.go36 func TextResponse(r *http.Request, text string) *http.Response { func
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/elazarl/goproxy/
H A Dresponses.go37 func TextResponse(r *http.Request, text string) *http.Response { func
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/elazarl/goproxy/
H A Dresponses.go37 func TextResponse(r *http.Request, text string) *http.Response { func
/dports/deskutils/egroupware/egroupware/vendor/zendframework/zend-diactoros/src/Response/
H A DTextResponse.php30 class TextResponse extends Response class
/dports/www/drupal8/drupal-8.9.20/vendor/laminas/laminas-diactoros/src/Response/
H A DTextResponse.php29 class TextResponse extends Response class
/dports/www/drupal9/drupal-9.2.10/vendor/laminas/laminas-diactoros/src/Response/
H A DTextResponse.php25 class TextResponse extends Response class
/dports/converters/mimelib/mimelib-1.1.2/mimelib/mimelib/
H A Dnntp.h228 const DwString& TextResponse() const;
/dports/mail/lurker/lurker-2.3/mimelib/mimelib/
H A Dnntp.h228 const DwString& TextResponse() const;
/dports/security/lego/lego-4.5.3/vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/voicenavigator/
H A Dsilence_timeout.go86 TextResponse string `json:"TextResponse" xml:"TextResponse"` member
H A Dcollected_number.go83 TextResponse string `json:"TextResponse" xml:"TextResponse"` member

123