Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 191 for Wagenet (0.22 sec)

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

        assertThat(response.request.header("User-Agent")).isNotNull()
        assertThat(response.request.header("User-Agent")).isEqualTo("user request")
        assertThat(response.networkResponse!!.request.header("User-Agent")).isEqualTo(
          "intercepted request",
        )
      }
    
      @Test
      fun applicationInterceptorThrowsRuntimeExceptionAsynchronous() {
        interceptorThrowsRuntimeExceptionAsynchronous(false)
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  3. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                if (userAgent == null) {
                    Properties headers = new Properties();
    
                    headers.put(
                            "User-Agent",
                            ConfigUtils.getString(
                                    legacySupport.getRepositorySession(), "Maven", ConfigurationProperties.USER_AGENT));
                    try {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. manifests/charts/istio-operator/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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 08:50:01 GMT 2024
    - 451 bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/testdata/routes/empty-gateway/configdump.json

            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
         "last_updated": "2023-11-29T09:58:27.299Z"
        },
        {
         "route_config": {
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
            .header("Proxy-Connection", "Keep-Alive") // For HTTP/1.0 proxies like Squid.
            .header("User-Agent", USER_AGENT)
            .build()
    
        val fakeAuthChallengeResponse =
          Response.Builder()
            .request(proxyConnectRequest)
            .protocol(Protocol.HTTP_1_1)
            .code(HttpURLConnection.HTTP_PROXY_AUTH)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttp.kt

    object OkHttp {
      /**
       * This is a string like "4.5.0-RC1", "4.5.0", or "4.6.0-SNAPSHOT" indicating the version of
       * OkHttp in the current runtime. Use this to include the OkHttp version in custom `User-Agent`
       * headers.
       *
       * Official OkHttp releases follow [semantic versioning][semver]. Versions with the `-SNAPSHOT`
       * qualifier are not unique and should only be used in development environments. If you create
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  10. .github/workflows/multipart/nginx-site1.conf

        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top