Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,327 for if (0.17 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/ru/docs/fastapi-people.md

    {% if sponsors %}
    
    {% if sponsors.gold %}
    
    ### Золотые спонсоры
    
    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    {% if sponsors.silver %}
    
    ### Серебрянные спонсоры
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean {
      return when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
        // If there was an interruption or timeout (SocketTimeoutException), don't recover.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. .cm/platform_labels.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        assertEquals(2, sessionIds.size)
        val directSessionIds =
          sslContext.clientSessionContext.ids.toList().map { it.toByteString().hex() }
    
        if (platform.isConscrypt()) {
          if (tlsVersion == TlsVersion.TLS_1_3) {
            assertThat(sessionIds[0]).isEmpty()
            assertThat(sessionIds[1]).isEmpty()
    
            // https://github.com/google/conscrypt/issues/985
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.MediaType
    
    internal fun MediaType.commonParameter(name: String): String? {
      for (i in parameterNamesAndValues.indices step 2) {
        if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
          return parameterNamesAndValues[i + 1]
        }
      }
      return null
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Address.kt

      /** Returns the SSL socket factory, or null if this is not an HTTPS address. */
      @get:JvmName("sslSocketFactory") val sslSocketFactory: SSLSocketFactory?,
      /** Returns the hostname verifier, or null if this is not an HTTPS address. */
      @get:JvmName("hostnameVerifier") val hostnameVerifier: HostnameVerifier?,
      /** Returns this address's certificate pinner, or null if this is not an HTTPS address. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. CODE_OF_CONDUCT.md

    If the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below.
    
    However, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute. 
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  9. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                        }
                    }
                }
    
                override fun afterSuite(suite: TestDescriptor, result: TestResult) {
                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            if (daemonPids.add(pid)) {
                                suspiciousDaemons.getOrPut(suite.toString(), { ConcurrentHashMap.newKeySet() }) += pid
                            }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

        val proxyAuthorization = response.code == 407
        val proxy = route?.proxy ?: Proxy.NO_PROXY
    
        for (challenge in challenges) {
          if (!"Basic".equals(challenge.scheme, ignoreCase = true)) {
            continue
          }
    
          val dns = route?.address?.dns ?: defaultDns
          val auth =
            if (proxyAuthorization) {
              val proxyAddress = proxy.address() as InetSocketAddress
              Authenticator.requestPasswordAuthentication(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top