/dports/deskutils/egroupware/egroupware/vendor/zendframework/zend-diactoros/test/Response/ |
H A D | TextResponseTest.php | 13 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 D | test_responsetypes.py | 4 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 D | test_utils_iterators.py | 7 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 D | test_selector.py | 5 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 D | test_spider.py | 12 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 D | test_utils_response.py | 5 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 D | html.py | 8 from scrapy.http.response.text import TextResponse 11 class HtmlResponse(TextResponse):
|
H A D | xml.py | 8 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 D | test_assistant_service.cc | 133 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 D | datauri.py | 3 from scrapy.http import TextResponse 17 if (issubclass(respcls, TextResponse)
|
/dports/www/py-scrapy/Scrapy-2.5.1/docs/topics/ |
H A D | request-response.rst | 678 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 D | iterators.py | 6 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 D | response.py | 78 from scrapy.http import HtmlResponse, TextResponse 86 elif isinstance(response, TextResponse):
|
/dports/www/py-scrapy/Scrapy-2.5.1/scrapy/downloadermiddlewares/ |
H A D | httpcompression.py | 6 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__.py | 18 from scrapy.http.response.text import TextResponse
|
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/github.com/elazarl/goproxy/ |
H A D | responses.go | 36 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 D | responses.go | 37 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 D | responses.go | 37 func TextResponse(r *http.Request, text string) *http.Response { func
|
/dports/deskutils/egroupware/egroupware/vendor/zendframework/zend-diactoros/src/Response/ |
H A D | TextResponse.php | 30 class TextResponse extends Response class
|
/dports/www/drupal8/drupal-8.9.20/vendor/laminas/laminas-diactoros/src/Response/ |
H A D | TextResponse.php | 29 class TextResponse extends Response class
|
/dports/www/drupal9/drupal-9.2.10/vendor/laminas/laminas-diactoros/src/Response/ |
H A D | TextResponse.php | 25 class TextResponse extends Response class
|
/dports/converters/mimelib/mimelib-1.1.2/mimelib/mimelib/ |
H A D | nntp.h | 228 const DwString& TextResponse() const;
|
/dports/mail/lurker/lurker-2.3/mimelib/mimelib/ |
H A D | nntp.h | 228 const DwString& TextResponse() const;
|
/dports/security/lego/lego-4.5.3/vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/voicenavigator/ |
H A D | silence_timeout.go | 86 TextResponse string `json:"TextResponse" xml:"TextResponse"` member
|
H A D | collected_number.go | 83 TextResponse string `json:"TextResponse" xml:"TextResponse"` member
|