Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,364 for header3 (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

              "image",
              "logo-square.png",
              File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
            ).build()
    
        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/docker.md

    If you are running your container behind a TLS Termination Proxy (load balancer) like Nginx or Traefik, add the option `--proxy-headers`, this will tell Uvicorn (through the FastAPI CLI) to trust the headers sent by that proxy telling it that the application is running behind HTTPS, etc.
    
    ```Dockerfile
    CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80"]
    ```
    
    #### Docker Cache { #docker-cache }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 29.5K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should calculate padding")
            void testPad8() {
                testMessage.encode(new byte[1024], 0);
                // After header is written, padding depends on position
                int headerStart = testMessage.getHeaderStart();
                assertEquals(0, headerStart); // Should start at 0
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  4. docs/ru/docs/advanced/custom-response.md

    Его можно возвращать напрямую.
    
    Он принимает следующие параметры:
    
    - `content` — `str` или `bytes`.
    - `status_code` — целое число, HTTP статус-код.
    - `headers` — словарь строк.
    - `media_type` — строка, задающая тип содержимого. Например, `"text/html"`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            String params = "test";
            byte[] buffer = createBuffer(10, dataBytes, params);
    
            // Verify buffer structure
            assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
        }
    
        @Test
        public void testByteOperations() {
            // Test byte operations that were used in the original test
            byte b = (byte) 0xFF;
            int value = b & 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/archive/tar/stat_unix.go

    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

         */
        @Resource
        protected AccessTokenService accessTokenService;
    
        /**
         * HTTP servlet request object providing access to request parameters, headers,
         * and other request-specific information needed for API processing.
         */
        @Resource
        protected HttpServletRequest request;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

       *
       * Otherwise if the response has a `Content-Type` header that specifies a charset, that is used
       * to determine the charset of the response bytes.
       *
       * Otherwise the response bytes are decoded as UTF-8.
       */
      fun charStream(): Reader =
        reader ?: BomAwareReader(source(), charset()).also {
          reader = it
        }
    
      /**
       * Returns the response as a string.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

              + ")") : "(cache)";
          int responseCode = response.code();
    
          System.out.printf("%03d: %s %s%n", responseCode, url, responseSource);
    
          String contentType = response.header("Content-Type");
          if (responseCode != 200 || contentType == null) {
            return;
          }
    
          MediaType mediaType = MediaType.parse(contentType);
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/cookie-param-models.md

    如果您有一组相关的 **cookie**,您可以创建一个 **Pydantic 模型**来声明它们。🍪
    
    这将允许您在**多个地方**能够**重用模型**,并且可以一次性声明所有参数的验证方式和元数据。😎
    
    /// note
    
    自 FastAPI 版本 `0.115.0` 起支持此功能。🤓
    
    ///
    
    /// tip
    
    此技术同样适用于 `Query` 、 `Cookie` 和 `Header` 。😎
    
    ///
    
    ## 带有 Pydantic 模型的 Cookie
    
    在 **Pydantic** 模型中声明所需的 **cookie** 参数,然后将参数声明为 `Cookie` :
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 10 20:38:03 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top