Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for Magenta (0.17 sec)

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

          throw RuntimeException(failure)
        }
    
        return countRef.get()
      }
    
      private fun updateReports() {
        val latch = CountDownLatch(1)
        newWebSocket(
          "/updateReports?agent=$USER_AGENT",
          object : WebSocketListener() {
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K 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 21 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/header-params.md

    Таким образом вы можете использовать `user_agent`, как обычно, в коде Python, вместо того, чтобы вводить заглавные буквы как `User_Agent` или что-то подобное.
    
    Если по какой-либо причине вам необходимо отключить автоматическое преобразование подчеркиваний в дефисы, установите для параметра `convert_underscores` в `Header` значение `False`:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

        name = "GitHub Merge Queue Check Pass"
        type = Type.COMPOSITE
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
        }
    
        features {
            enablePullRequestFeature()
            publishBuildStatusToGithub(model)
        }
    
        triggers.vcs {
            quietPeriodMode = VcsTrigger.QuietPeriodMode.DO_NOT_USE
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 23 05:43:32 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/header-params.md

    ## 自动转换
    
    `Header` 比 `Path`、`Query` 和 `Cookie` 提供了更多功能。
    
    大部分标准请求头用**连字符**分隔,即**减号**(`-`)。
    
    但是 `user-agent` 这样的变量在 Python 中是无效的。
    
    因此,默认情况下,`Header` 把参数名中的字符由下划线(`_`)改为连字符(`-`)来提取并存档请求头 。
    
    同时,HTTP 的请求头不区分大小写,可以使用 Python 标准样式(即 **snake_case**)进行声明。
    
    因此,可以像在 Python 代码中一样使用 `user_agent` ,无需把首字母大写为 `User_Agent` 等形式。
    
    如需禁用下划线自动转换为连字符,可以把 `Header` 的 `convert_underscores` 参数设置为 `False`:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:42:51 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. PATENTS

    implementation of Go.  This grant does not include claims that would be
    infringed only as a consequence of further modification of this
    implementation.  If you or your agent or exclusive licensee institute or
    order or agree to the institution of patent litigation against any
    entity (including a cross-claim or counterclaim in a lawsuit) alleging
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
        assertThat(recorded.headers["Connection"]).isEqualTo("Keep-Alive")
        assertThat(recorded.headers["User-Agent"]!!).matches(Regex("okhttp/.*"))
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

    abstract class BasePromotionBuildType(vcsRootId: String, cleanCheckout: Boolean = true) : BuildType() {
        init {
            vcs {
                root(AbsoluteId(vcsRootId))
    
                checkoutMode = CheckoutMode.ON_AGENT
                this.cleanCheckout = cleanCheckout
                showDependenciesChanges = true
            }
    
            requirements {
                requiresOs(Os.LINUX)
                requiresNotEc2Agent()
            }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. CODEOWNERS

    /pkg/dns/                                                        @istio/wg-networking-maintainers
    /pkg/envoy/                                                      @istio/wg-networking-maintainers
    /pkg/istio-agent/                                                @istio/wg-networking-maintainers @istio/wg-security-maintainers
    /pkg/keepalive/                                                  @istio/wg-networking-maintainers
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:33 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. README.md

        - [security](security/). This directory contains [security](https://istio.io/latest/docs/concepts/security/) related code,
    including Citadel (acting as Certificate Authority), citadel agent, etc.
    
    - [istio/proxy](https://github.com/istio/proxy). The Istio proxy contains
    extensions to the [Envoy proxy](https://github.com/envoyproxy/envoy) (in the form of
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 15:28:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top