Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 226 for ageInt (0.15 sec)

  1. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  2. docs_src/header_params/tutorial001_py310.py

    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: str | None = Header(default=None)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 182 bytes
    - Viewed (0)
  3. docs_src/header_params/tutorial001.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Union[str, None] = Header(default=None)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 214 bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Length: 0")
          .assertLogEqual("<-- END HTTP")
          .assertNoMoreLogs()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.h

        TF_CoordinationServiceAgent* agent);
    
    TF_CAPI_EXPORT extern void TF_CoordinationServiceInsertKeyValue(
        const char* key, int64_t key_size, const char* value, int64_t value_size,
        TF_CoordinationServiceAgent* agent, TF_Status* status);
    
    // Obtains key-value from coordination service agent. The returned `TF_Buffer`
    // is a newly allocated buffer to hold the string key-value, and caller is
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-cache",
            "cache-control",
            "no-store",
            "user-agent",
            "OkHttp",
          )
        val headerMap = headers.toMultimap()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

          tensorflow::unwrap(ctx)->GetDistributedManager();
      tsl::CoordinationServiceAgent* coord_agent =
          dist_mgr->GetCoordinationServiceAgent();
      if (coord_agent == nullptr) {
        status->status = tensorflow::errors::FailedPrecondition(
            "Coordination service agent is not enabled.");
        return;
      }
      status->status = coord_agent->InsertKeyValue(key, value);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  8. docs/changelogs/changelog_2x.md

     *  Fix: Include a backwards-compatible `OkHttp-Response-Source` header with
        `OkUrlFactory `responses.
     *  Fix: Don't include a default User-Agent header in requests made with the Call
        API. Requests made with OkUrlFactory will continue to have a default user
        agent.
     *  New: Guava-like API to create headers:
    
        ```java
        Headers headers = Headers.of(name1, value1, name2, value2, ...).
        ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  9. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

                // Add the agent JAR to the test runtime classpath so the InProcessGradleExecuter can find the module and spawn daemons.
                // This doesn't apply the agent to the test process.
                "${prefix}TestRuntimeOnly"(project(":instrumentation-agent"))
                "${prefix}TestAgentsClasspath"(project(":instrumentation-agent"))
            }
        }
    }
    
    
    internal
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/header-params.md

    Portanto, você pode usar `user_agent` como faria normalmente no código Python, em vez de precisar colocar as primeiras letras em maiúsculas como `User_Agent` ou algo semelhante.
    
    Se por algum motivo você precisar desabilitar a conversão automática de sublinhados para hífens, defina o parâmetro `convert_underscores` de `Header` para `False`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top