Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,769 for Curl (0.07 seconds)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

      @AfterEach fun tearDown() {
        client.stop()
      }
    
      @Test fun get() {
        server.enqueue(MockResponse(body = "hello, Jetty HTTP Client"))
    
        val request =
          client
            .newRequest(server.url("/").toUri())
            .header("Accept", "text/plain")
        val response = request.send()
        assertThat(response.status).isEqualTo(200)
        assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
          }
        };
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          field = protocolList
        }
    
      public val started: Boolean
        get() = socketAddress_ != null
    
      /**
       * Returns a URL for connecting to this server.
       *
       * @param path the request path, such as "/".
       */
      public fun url(path: String): HttpUrl =
        HttpUrl
          .Builder()
          .scheme(if (sslSocketFactory != null) "https" else "http")
          .host(hostName)
          .port(port)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        final PipeBody pipeBody = new PipeBody();
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(pipeBody)
            .build();
    
        streamPrimesToSinkAsynchronously(pipeBody.sink());
    
        try (Response response = client.newCall(request).execute()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  5. helm/minio/templates/servicemonitor.yaml

      tlsConfig:
        ca:
          secret:
            name: {{ .Values.tls.certSecret }}
            key: {{ .Values.tls.publicCrt }}
        serverName: {{ template "minio.fullname" . }}
      {{- end }}
      prober:
        url: {{ template "minio.fullname" . }}.{{ .Release.Namespace }}:{{ .Values.service.port }}
        path: /minio/v2/metrics/cluster
        {{- if .Values.tls.enabled }}
        scheme: https
        {{- else }}
        scheme: http
        {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 3.8K bytes
    - Click Count (0)
  6. src/main/resources/fess_config.properties

    index.field.click_count=click_count
    # Field name for config ID in the index.
    index.field.config_id=config_id
    # Field name for expiration date in the index.
    index.field.expires=expires
    # Field name for URL in the index.
    index.field.url=url
    # Field name for document ID in the index.
    index.field.doc_id=doc_id
    # Field name for internal ID in the index.
    index.field.id=_id
    # Field name for version in the index.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return headers.containsKey(name);
            }
    
            @Override
            public String encodeURL(String url) {
                return url;
            }
    
            @Override
            public String encodeRedirectURL(String url) {
                return url;
            }
    
            @Override
            public void sendError(int sc, String msg) {
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/openapi-callbacks.md

    まず、コールバックを追加する前の通常の API アプリがどうなるか見てみましょう。
    
    `Invoice` ボディを受け取り、クエリパラメータ `callback_url` にコールバック用の URL を含める *path operation* を持ちます。
    
    この部分はとても普通で、ほとんどのコードはすでに見覚えがあるはずです:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[7:11,34:51] *}
    
    /// tip | 豆知識
    
    `callback_url` クエリパラメータは、Pydantic の [Url](https://docs.pydantic.dev/latest/api/networks/) 型を使用します。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/query-params-str-validations.md

    Например, чтобы объявить query-параметр `q`, который может встречаться в URL несколько раз, можно написать:
    
    {* ../../docs_src/query_params_str_validations/tutorial011_an_py310.py hl[9] *}
    
    Тогда при таком URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader.jsp

                                        </div>
    
                                        <c:set var="pager" value="${reqHeaderPager}"
                                               scope="request"/>
                                        <c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp"/>
                                        <c:if test="${pager.currentPageNumber > pager.allPageCount}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top