/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/storage/internal/ |
H A D | http_response.cc | 25 Status AsStatus(HttpResponse const& http_response) { in AsStatus() argument 30 if (http_response.status_code < HttpStatusCode::kMinContinue) { in AsStatus() 31 return Status(StatusCode::kUnknown, http_response.payload); in AsStatus() 33 if (HttpStatusCode::kMinContinue <= http_response.status_code && in AsStatus() 34 http_response.status_code < HttpStatusCode::kMinSuccess) { in AsStatus() 39 if (HttpStatusCode::kMinSuccess <= http_response.status_code && in AsStatus() 63 return Status(StatusCode::kUnknown, http_response.payload); in AsStatus() 74 if (http_response.status_code == HttpStatusCode::kNotFound) { in AsStatus() 88 if (http_response.status_code == HttpStatusCode::kGone) { in AsStatus() 100 if (http_response.status_code == in AsStatus() [all …]
|
/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/storage/internal/ |
H A D | http_response.cc | 24 Status AsStatus(HttpResponse const& http_response) { in AsStatus() argument 29 if (http_response.status_code < HttpStatusCode::kMinContinue) { in AsStatus() 30 return Status(StatusCode::kUnknown, http_response.payload); in AsStatus() 32 if (HttpStatusCode::kMinContinue <= http_response.status_code && in AsStatus() 33 http_response.status_code < HttpStatusCode::kMinSuccess) { in AsStatus() 38 if (HttpStatusCode::kMinSuccess <= http_response.status_code && in AsStatus() 62 return Status(StatusCode::kUnknown, http_response.payload); in AsStatus() 73 if (http_response.status_code == HttpStatusCode::kNotFound) { in AsStatus() 87 if (http_response.status_code == HttpStatusCode::kGone) { in AsStatus() 99 if (http_response.status_code == in AsStatus() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/test/embedded_test_server/ |
H A D | default_handlers.cc | 57 return http_response; in HandleDefaultConnect() 68 return http_response; in HandleCacheTime() 104 return http_response; in HandleEchoHeader() 126 return http_response; in HandleEcho() 136 return http_response; in HandleEchoTitle() 178 return http_response; in HandleEchoAll() 204 return http_response; in HandleSetCookie() 220 return http_response; in HandleSetInvalidCookie() 266 return http_response; in HandleExpectAndSetCookie() 292 return http_response; in HandleSetHeader() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/test/embedded_test_server/ |
H A D | default_handlers.cc | 61 return http_response; in HandleDefaultConnect() 72 return http_response; in HandleCacheTime() 108 return http_response; in HandleEchoHeader() 127 return http_response; in HandleEchoCriticalHeader() 149 return http_response; in HandleEcho() 159 return http_response; in HandleEchoTitle() 201 return http_response; in HandleEchoAll() 227 return http_response; in HandleSetCookie() 243 return http_response; in HandleSetInvalidCookie() 289 return http_response; in HandleExpectAndSetCookie() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/google_apis/gaia/ |
H A D | fake_gaia.cc | 98 http_response->AddCustomHeader( in SetCookies() 101 http_response->AddCustomHeader( in SetCookies() 213 http_response->AddCustomHeader( in SetOAuthCodeCookie() 344 return std::move(http_response); in HandleRequest() 420 SetCookies(http_response, in HandleMergeSession() 424 http_response->set_content("OK"); in HandleMergeSession() 439 http_response->set_code(status); in FormatJSONResponse() 560 SetCookies(http_response, in HandleServiceLoginAuth() 622 SetCookies(http_response, in HandleSSO() 641 http_response->set_content(""); in HandleDummySAMLContinue() [all …]
|
H A D | fake_gaia.h | 181 net::test_server::BasicHttpResponse* http_response); 192 net::test_server::BasicHttpResponse* http_response, 211 net::test_server::BasicHttpResponse* http_response)>; 225 net::test_server::BasicHttpResponse* http_response); 230 net::test_server::BasicHttpResponse* http_response); 235 net::test_server::BasicHttpResponse* http_response); 238 net::test_server::BasicHttpResponse* http_response); 241 net::test_server::BasicHttpResponse* http_response); 246 net::test_server::BasicHttpResponse* http_response); 265 net::test_server::BasicHttpResponse* http_response); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/google_apis/gaia/ |
H A D | fake_gaia.cc | 98 http_response->AddCustomHeader( in SetCookies() 101 http_response->AddCustomHeader( in SetCookies() 213 http_response->AddCustomHeader( in SetOAuthCodeCookie() 327 return std::move(http_response); in HandleRequest() 398 SetCookies(http_response, in HandleMergeSession() 402 http_response->set_content("OK"); in HandleMergeSession() 417 http_response->set_code(status); in FormatJSONResponse() 538 SetCookies(http_response, in HandleServiceLoginAuth() 600 SetCookies(http_response, in HandleSSO() 619 http_response->set_content(""); in HandleDummySAMLContinue() [all …]
|
H A D | fake_gaia.h | 168 net::test_server::BasicHttpResponse* http_response); 179 net::test_server::BasicHttpResponse* http_response, 198 net::test_server::BasicHttpResponse* http_response)>; 211 net::test_server::BasicHttpResponse* http_response); 216 net::test_server::BasicHttpResponse* http_response); 221 net::test_server::BasicHttpResponse* http_response); 224 net::test_server::BasicHttpResponse* http_response); 227 net::test_server::BasicHttpResponse* http_response); 232 net::test_server::BasicHttpResponse* http_response); 251 net::test_server::BasicHttpResponse* http_response); [all …]
|
/dports/devel/py-azure-core/azure-core-1.20.1/tests/ |
H A D | test_base_polling.py | 140 http_response, 197 http_response, 283 http_response, 365 http_response, 412 http_response, 474 http_response, 490 http_response, 502 http_response, 515 http_response, 527 http_response, [all …]
|
H A D | test_http_logging_policy.py | 25 def test_http_logger(http_request, http_response): argument 44 http_response = create_http_response(http_response, universal_request, None) 45 http_response.status_code = 202 106 http_response.headers = { 168 http_response = create_http_response(http_response, universal_request, None) 169 http_response.status_code = 202 226 def test_http_logger_with_body(http_request, http_response): argument 246 http_response = create_http_response(http_response, universal_request, None) 247 http_response.status_code = 202 291 http_response = create_http_response(http_response, universal_request, None) [all …]
|
/dports/devel/py-libtaxii/libtaxii-1.1.119/libtaxii/ |
H A D | __init__.py | 21 def get_message_from_http_response(http_response, in_response_to): argument 42 if isinstance(http_response, six.moves.http_client.HTTPResponse): 44 elif isinstance(http_response, urllib.error.HTTPError): 46 elif isinstance(http_response, urllib.response.addinfourl): 52 def get_message_from_urllib2_httperror(http_response, in_response_to): argument 54 info = http_response.info() 67 m = str(http_response) + '\r\n' + str(http_response.info()) + '\r\n' + response_message 81 info = http_response.info() 96 header_dict = six.iteritems(http_response.info().dict) 118 if hasattr(http_response, 'getheader'): [all …]
|
/dports/devel/py-azure-core/azure-core-1.20.1/tests/async_tests/ |
H A D | test_base_polling_async.py | 453 http_response, 470 http_response, 483 http_response, 497 http_response, 510 http_response, 521 http_response, 537 http_response, 551 http_response, 565 http_response, 579 http_response, [all …]
|
H A D | test_http_logging_policy_async.py | 23 def test_http_logger(http_request, http_response): argument 42 http_response = create_http_response(http_response, universal_request, None) 43 http_response.status_code = 202 104 http_response.headers = { 165 http_response = create_http_response(http_response, universal_request, None) 166 http_response.status_code = 202 222 def test_http_logger_with_body(http_request, http_response): argument 242 http_response = create_http_response(http_response, universal_request, None) 243 http_response.status_code = 202 288 http_response = create_http_response(http_response, universal_request, None) [all …]
|
/dports/www/privoxy/privoxy-3.0.33-stable/ |
H A D | cgisimple.h | 47 struct http_response *rsp, 50 struct http_response *rsp, 53 struct http_response *rsp, 56 struct http_response *rsp, 59 struct http_response *rsp, 62 struct http_response *rsp, 65 struct http_response *rsp, 69 struct http_response *rsp, 85 struct http_response *rsp, 88 struct http_response *rsp, [all …]
|
H A D | cgiedit.h | 47 struct http_response *rsp, 50 struct http_response *rsp, 53 struct http_response *rsp, 56 struct http_response *rsp, 59 struct http_response *rsp, 62 struct http_response *rsp, 65 struct http_response *rsp, 68 struct http_response *rsp, 71 struct http_response *rsp, 74 struct http_response *rsp, [all …]
|
H A D | cgi.h | 46 extern struct http_response *dispatch_cgi(struct client_state *csp); 49 extern struct http_response *error_response(struct client_state *csp, 55 extern struct http_response * alloc_http_response(void); 56 extern void free_http_response(struct http_response *rsp); 58 extern struct http_response *finish_http_response(struct client_state *csp, 73 struct http_response *rsp); 76 extern struct http_response *cgi_error_memory(void); 80 struct http_response *rsp, 83 struct http_response *rsp); 85 struct http_response *rsp); [all …]
|
/dports/net/p5-Net-Riak/Net-Riak-0.1702/lib/Net/Riak/Role/REST/ |
H A D | Search.pm | 25 my $http_response = $self->send_request($request); 27 return if (!$http_response); 29 my $status = $http_response->code; 35 $http_response->content; 46 return if (!$http_response); 47 my $status = $http_response->code; 63 $http_response = $self->send_request($request); 65 return if (!$http_response); 66 $status = $http_response->code; 74 $http_response = $self->send_request($request); [all …]
|
H A D | Object.pm | 87 my ($self, $obj, $http_response, $expected) = @_; 92 return if (!$http_response); 95 my $status = $http_response->code; 97 $obj->data($http_response->content) 100 if ( $http_response->header('location') ) { 101 $obj->key( $http_response->header('location') ); 108 . ", received: ".$http_response->status_line 112 foreach ($http_response->header_field_names) { 130 if ($http_response->header('link')) { 149 $obj->content_type($http_response->content_type) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/android_webview/test/embedded_test_server/ |
H A D | aw_embedded_test_server.cc | 38 http_response->set_content_type("text/html"); in HandleClickRedirect() 56 http_response->set_content(base::StringPrintf( in HandleClickRedirect() 61 return std::move(http_response); in HandleClickRedirect() 98 http_response->set_content( in HandleEchoHeaderAndSetData() 105 return std::move(http_response); in HandleEchoHeaderAndSetData() 137 http_response->set_content_type("text/html"); in HandleServerRedirectEchoHeader() 140 return std::move(http_response); in HandleServerRedirectEchoHeader() 172 http_response->set_content_type("image/png"); in HandleSetImageResponse() 180 return std::move(http_response); in HandleSetImageResponse() 208 http_response->set_content_type("text/html"); in HandleImageOnloadHtml() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/glacier/ |
H A D | response.py | 32 def __init__(self, http_response, response_headers): argument 33 self.http_response = http_response 34 self.status = http_response.status 35 self[u'RequestId'] = http_response.getheader('x-amzn-requestid') 38 self[item_name] = http_response.getheader(header_name) 39 if http_response.status != 204: 40 if http_response.getheader('Content-Type') == 'application/json': 41 body = json.loads(http_response.read().decode('utf-8')) 43 size = http_response.getheader('Content-Length', None) 49 return self.http_response.read(amt)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/glacier/ |
H A D | response.py | 32 def __init__(self, http_response, response_headers): argument 33 self.http_response = http_response 34 self.status = http_response.status 35 self[u'RequestId'] = http_response.getheader('x-amzn-requestid') 38 self[item_name] = http_response.getheader(header_name) 39 if http_response.status != 204: 40 if http_response.getheader('Content-Type') == 'application/json': 41 body = json.loads(http_response.read().decode('utf-8')) 43 size = http_response.getheader('Content-Length', None) 49 return self.http_response.read(amt)
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/glacier/ |
H A D | response.py | 32 def __init__(self, http_response, response_headers): argument 33 self.http_response = http_response 34 self.status = http_response.status 35 self[u'RequestId'] = http_response.getheader('x-amzn-requestid') 38 self[item_name] = http_response.getheader(header_name) 39 if http_response.status != 204: 40 if http_response.getheader('Content-Type') == 'application/json': 41 body = json.loads(http_response.read().decode('utf-8')) 43 size = http_response.getheader('Content-Length', None) 49 return self.http_response.read(amt)
|
/dports/devel/py-boto/boto-2.49.0/boto/glacier/ |
H A D | response.py | 32 def __init__(self, http_response, response_headers): argument 33 self.http_response = http_response 34 self.status = http_response.status 35 self[u'RequestId'] = http_response.getheader('x-amzn-requestid') 38 self[item_name] = http_response.getheader(header_name) 39 if http_response.status != 204: 40 if http_response.getheader('Content-Type') == 'application/json': 41 body = json.loads(http_response.read().decode('utf-8')) 43 size = http_response.getheader('Content-Length', None) 49 return self.http_response.read(amt)
|
/dports/net/p5-S3/s3-example-libraries/perl/ |
H A D | s3-test.pl | 55 is($response->http_response->code, 200, 'create bucket'); 58 is($response->http_response->code, 200, 'list bucket '); 79 is($response->http_response->code, 200, 'get object'); 95 is($response->http_response->code, 200, 'get object'); 129 is($response->http_response->code, 200, "put weird key"); 132 is($response->http_response->code, 200, "get weird key"); 135 is($response->http_response->code, 200, "get acl"); 140 is($response->http_response->code, 200, "put acl"); 151 is($response->http_response->code, 200, "list bucket"); 169 is($response->http_response->code, 200, "get logging"); [all …]
|
/dports/mail/dovecot/dovecot-2.3.17/src/lib-http/ |
H A D | http-response.h | 16 struct http_response { struct 35 http_response_is_success(const struct http_response *resp) in http_response_is_success() argument 41 http_response_is_internal_error(const struct http_response *resp) in http_response_is_internal_error() 47 http_response_init(struct http_response *resp, 51 http_response_header_find(const struct http_response *resp, const char *name) in http_response_header_find() 59 http_response_header_get(const struct http_response *resp, const char *name) in http_response_header_get() 67 http_response_header_get_fields(const struct http_response *resp) in ARRAY_TYPE() 75 http_response_get_message(const struct http_response *resp) in http_response_get_message() 82 bool http_response_has_connection_option(const struct http_response *resp, 84 int http_response_get_payload_size(const struct http_response *resp,
|