- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 1,832 for context_ (0.06 seconds)
-
docs/ru/docs/advanced/custom-response.md
Его можно возвращать напрямую. Он принимает следующие параметры: - `content` — `str` или `bytes`. - `status_code` — целое число, HTTP статус-код. - `headers` — словарь строк. - `media_type` — строка, задающая тип содержимого. Например, `"text/html"`. FastAPI (фактически Starlette) автоматически добавит заголовок Content-Length. Также будет добавлен заголовок Content-Type, основанный на `media_type` и с добавлением charset для текстовых типов.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.6K bytes - Click Count (0) -
docs/uk/docs/advanced/custom-response.md
Ви можете повертати його безпосередньо. Він приймає такі параметри: - `content` - `str` або `bytes`. - `status_code` - `int` - код статусу HTTP. - `headers` - `dict` строк. - `media_type` - `str`, що задає медіа-тип, напр. `"text/html"`. FastAPI (насправді Starlette) автоматично додасть заголовок Content-Length. Також буде додано заголовок Content-Type на основі `media_type` з додаванням набору символів для текстових типів.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.h
#include <memory> #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/tf_status.h" void RegisterLoggingDevice(TFE_Context* context, const char* name, bool strict_scope_placement, bool* arrived_flag, bool* executed_flag, TF_Status* status); void AllocateLoggingDevice(const char* name, bool* arrived_flag,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 1.6K bytes - Click Count (0) -
docs/features/interceptors.md
INFO: Sending request http://www.publicobject.com/helloworld.txt on null User-Agent: OkHttp Example INFO: Received response for https://publicobject.com/helloworld.txt in 1179.7ms Server: nginx/1.4.6 (Ubuntu) Content-Type: text/plain Content-Length: 1759 Connection: keep-alive ``` We can see that we were redirected because `response.request().url()` is different from `request.url()`. The two log statements log two different URLs.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix-sample.yml
org-list: - elastic allow-whitelist-orgs-as-admins: true trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-unix-sample.*' github-hooks: true status-context: elasticsearch-ci/packaging-tests-unix-sample cancel-builds-on-update: true black-list-target-branches: - 6.8 excluded-regions: - ^docs/.* black-list-labels:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 20:27:05 GMT 2021 - 1.8K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+part-1-windows.yml
org-list: - elastic allow-whitelist-orgs-as-admins: true trigger-phrase: '.*run\W+elasticsearch-ci/part-1-windows.*' github-hooks: true status-context: elasticsearch-ci/part-1-windows cancel-builds-on-update: true black-list-target-branches: - 6.8 excluded-regions: - ^docs/.* white-list-labels:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 22:34:45 GMT 2021 - 1.7K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy
where: archiveType << ["zip", 'tar'] } def "fails on unexpected license content"() { given: elasticLicense() file("LICENSE.txt") << """elastic license coorp stuff line 1 unknown license content line 2 """ buildFile << """ tasks.withType(AbstractArchiveTask).configureEach {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 5.9K bytes - Click Count (0) -
tests/test_forms_single_param.py
"description": "Successful Response", "content": {"application/json": {"schema": {}}}, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.1K bytes - Click Count (0) -
tests/test_reponse_set_reponse_code_empty.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.6K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-upgrade-tests.yml
org-list: - elastic allow-whitelist-orgs-as-admins: true trigger-phrase: '.*run\W+elasticsearch-ci/packaging-upgrade-tests.*' github-hooks: true status-context: elasticsearch-ci/packaging-upgrade-tests cancel-builds-on-update: true black-list-target-branches: - 6.8 excluded-regions: - ^docs/.* white-list-labels:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 10 19:43:38 GMT 2021 - 1.9K bytes - Click Count (0)