- Sort Score
- Result 10 results
- Languages All
Results 1321 - 1330 of 1,570 for requests (0.09 sec)
-
guava-tests/test/com/google/common/io/RandomAmountInputStream.java
import static com.google.common.base.Preconditions.checkNotNull; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Random; /** Returns a random portion of the requested bytes on each call. */ class RandomAmountInputStream extends FilterInputStream { private final Random random; public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
/// ```Python hl_lines="7-12 16" {!> ../../docs_src/header_param_models/tutorial001_py310.py!} ``` //// **FastAPI** will **extract** the data for **each field** from the **headers** in the request and give you the Pydantic model you defined. ## Check the Docs You can see the required headers in the docs UI at `/docs`: <div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png">
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
}); try (InputStream inputStream = form.protwordsFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); } return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/cors.md
`CORSMiddleware` отвечает на два типа HTTP-запросов... ### CORS-запросы с предварительной проверкой Это любые `OPTIONS` запросы с заголовками `Origin` и `Access-Control-Request-Method`. В этом случае middleware перехватит входящий запрос и отправит соответствующие CORS-заголовки в ответе, а также ответ `200` или `400` в информационных целях. ### Простые запросы
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/de/docs/tutorial/header-params.md
# Header-Parameter So wie `Query`-, `Path`-, und `Cookie`-Parameter können Sie auch <abbr title='Header – Kopfzeilen, Header, Header-Felder: Schlüssel-Wert-Metadaten, die vom Client beim Request, und vom Server bei der Response gesendet werden'>Header</abbr>-Parameter definieren. ## `Header` importieren Importieren Sie zuerst `Header`: //// tab | Python 3.10+ ```Python hl_lines="3" {!> ../../docs_src/header_params/tutorial001_an_py310.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
@Throws(IOException::class) override fun writeTo(sink: BufferedSink) { writeOrCountBytes(sink, false) } /** * Either writes this request to [sink] or measures its content length. We have one method * do double-duty to make sure the counting and content are consistent, particularly when it comes
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
if (cause instanceof LoginUnauthorizedException) { return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED); } return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))).httpStatus(HTTP_BAD_REQUEST); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
final StringBuilder buf = new StringBuilder(); clientFactory.addClient("test:.*", new CrawlerClient() { @Override public ResponseData execute(final RequestData request) { return null; } @Override public void setInitParameterMap(final Map<String, Object> params) { buf.append("value=").append(params.get("hoge"));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
/** Sets the socket policy and returns this. */ fun socketPolicy(socketPolicy: SocketPolicy) = apply { this.socketPolicy = socketPolicy } /** * Throttles the request reader and response writer to sleep for the given period after each * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior. */ fun throttleBody( bytesPerPeriod: Long,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0)