- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 2,271 for consent (0.05 seconds)
-
tests/test_strict_content_type_router_level.py
def test_lax_router_on_strict_app_accepts_no_content_type(): response = client.post("/lax/items/", content='{"key": "value"}') assert response.status_code == 200 assert response.json() == {"key": "value"} def test_strict_router_on_strict_app_rejects_no_content_type(): response = client.post("/strict/items/", content='{"key": "value"}') assert response.status_code == 422
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/SAXParserUtil.java
*/ protected SAXParserUtil() { } /** * Parses the content of the specified {@link InputSource} as XML using the specified {@link DefaultHandler}. * * @param parser * The {@link SAXParser} to use. Must not be {@literal null}. * @param inputSource * The {@link InputSource} containing the content to be parsed. Must not be {@literal null}. * @param handlerCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt
* Returns a new response body that refuses to be read once it has been closed. This is true of * most [BufferedSource] instances, but not of [Buffer]. */ private fun responseBody(content: String): ResponseBody { val data = Buffer().writeUtf8(content) val source: Source = object : Source { var closed = false override fun close() { closed = true } override fun read(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertNotNull(result, String.format("Should create information for type %d, class %d", infoType, infoClass)); } @Test @DisplayName("Test readBytesWireFormat preserves buffer content") void testReadBytesWireFormatPreservesBuffer() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
"Failed to process a thumbnail content: " + url + " (Response URL is empty)"); } return consumer.test(responseData); } catch (final CrawlingAccessException e) { if (logger.isDebugEnabled()) { throw new ThumbnailGenerationException("Failed to process a thumbnail content: " + url, e); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
"""<html lang="en"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Incubating APIs for $title</title> <link xmlns:xslthl="http://xslthl.sf.net" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,400i,700"> <meta xmlns:xslthl="http://xslthl.sf.net" content="width=device-width, initial-scale=1" name="viewport">
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
return OptionalEntity.of(Map.of("_id", "001", "title", "test1", "content", "test2")); } }; ComponentUtil.register(client, "searchEngineClient"); final Map<String, Object> document = indexingHelper.getDocument(client, "001", new String[] { "title", "content" }); assertEquals("fess.update", resultMap.get("index")); assertEquals(
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100 * Cache-Control: max-age=600 * ``` * * A typical HTTPS file looks like this: * * ``` * https://google.com/foo * GET * 2 * Accept-Language: fr-CA * Accept-Charset: UTF-8 * HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
internal/bucket/object/lock/lock_test.go
}{ { metadata: map[string]string{ "Authorization": "AWS4-HMAC-SHA256 <cred_string>", "X-Amz-Content-Sha256": "", "Content-Encoding": "", }, expected: map[string]string{ "Authorization": "AWS4-HMAC-SHA256 <cred_string>", "X-Amz-Content-Sha256": "", "Content-Encoding": "", }, }, { metadata: map[string]string{ "x-amz-object-lock-mode": "governance",Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
docs/uk/docs/advanced/stream-data.md
У наведених вище прикладах байти даних передавалися потоком, але у відповіді не було заголовка `Content-Type`, тому клієнт не знав, який тип даних він отримує. Можна створити власний підклас `StreamingResponse`, який встановлює заголовок `Content-Type` відповідно до типу даних, що ви стрімите. Наприклад, можна створити `PNGStreamingResponse`, який встановлює заголовок `Content-Type` у `image/png` за допомогою атрибута `media_type`:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 8.5K bytes - Click Count (0)