Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 222 for ageInt (0.26 sec)

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

    import org.junit.jupiter.api.Test
    
    class RequestTest {
      @Test
      fun constructor() {
        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
    - 16.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build();
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-egress/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  7. manifests/charts/ztunnel/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/header-params.md

    대부분의 표준 헤더는 "마이너스 기호" (`-`)라고도 하는 "하이픈" 문자로 구분됩니다.
    
    그러나 파이썬에서 `user-agent`와 같은 형태의 변수는 유효하지 않습니다.
    
    따라서 `Header`는 기본적으로 매개변수 이름을 언더스코어(`_`)에서 하이픈(`-`)으로 변환하여 헤더를 추출하고 기록합니다.
    
    또한 HTTP 헤더는 대소문자를 구분하지 않으므로 "snake_case"로 알려진 표준 파이썬 스타일로 선언할 수 있습니다.
    
    따라서, `User_Agent` 등과 같이 첫 문자를 대문자화할 필요없이 파이썬 코드에서처럼 `user_agent`로 사용합니다.
    
    만약 언더스코어를 하이픈으로 자동 변환을 비활성화해야 할 어떤 이유가 있다면, `Header`의 `convert_underscores` 매개변수를 `False`로 설정하십시오:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

            .url(server.url("/"))
            .head()
            .header("User-Agent", "SyncApiTest")
            .build()
        executeSynchronously(request)
          .assertCode(200)
          .assertHeader("Content-Type", "text/plain")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("HEAD")
        assertThat(recordedRequest.headers["User-Agent"]).isEqualTo("SyncApiTest")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. manifests/charts/base/files/profile-preview.yaml

    # This is intended to explore new features coming to Istio.
    # Stability, security, and performance are not guaranteed - use at your own risk.
    meshConfig:
      defaultConfig:
        proxyMetadata:
          # Enable Istio agent to handle DNS requests for known hosts
          # Unknown hosts will automatically be resolved using upstream dns servers in resolv.conf
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 670 bytes
    - Viewed (0)
Back to top