Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,224 for header1 (0.05 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs/ru/docs/deployment/docker.md

    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    # Если используете прокси-сервер, такой как Nginx или Traefik, добавьте --proxy-headers
    # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## Что такое "контейнер"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            val request = HttpRequest.newBuilder()
                .uri(URI(uri))
                .apply {
                    if (githubToken.isPresent) {
                        header("Authorization", "token ${githubToken.get()}")
                    }
                }
                .build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final SystemHelper helper1 = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return systemHelper.eolTime + 1000L;
                }
            };
            helper1.eolTime = systemHelper.eolTime;
            assertTrue(helper1.isEoled());
            final SystemHelper helper2 = new SystemHelper() {
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/Config.java

                    log.println( "SecurityException: jcifs.smb1 will ignore System properties" );
            }
        }
    
        public static void store( OutputStream out, String header ) throws IOException {
            prp.store( out, header );
        }
    
        /**
         * List the properties in the <code>Code</code>.
         */
    
        public static void list( PrintStream out ) throws IOException {
            prp.list( out );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

                            result.getSearchFieldLogList().add(new Pair<>(e.getKey(), e.getValue().toString()));
                        }
                    });
                }
                final Object headersObj = source.get("headers");
                if (headersObj instanceof Map) {
                    ((Map<String, ?>) headersObj).entrySet().stream().forEach(e -> {
                        if (e.getValue() instanceof String[]) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/custom-response.md

    ///
    
    ### `Response`
    
    其他全部的响应都继承自主类 `Response`。
    
    你可以直接返回它。
    
    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 media_type 的 Content-Type 头,并为文本类型附加一个字符集。
    
    
    ```Python hl_lines="1  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/Referral.java

            }
    
            return this.size;
        }
    
    
        private static String readString ( byte[] buffer, int bufferIndex, int len ) {
            // this is not absolutely correct, but we assume that the header is aligned
            if ( ( bufferIndex % 2 ) != 0 ) {
                bufferIndex++;
            }
            return Strings.fromUNIBytes(buffer, bufferIndex, Strings.findUNITermination(buffer, bufferIndex, len));
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
Back to top