Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 263 for GET (0.18 sec)

  1. api/go1.6.txt

    pkg net/http, var ErrSkipAltProtocol error
    pkg net/http/httptest, method (*ResponseRecorder) WriteString(string) (int, error)
    pkg net/http/httputil, type BufferPool interface { Get, Put }
    pkg net/http/httputil, type BufferPool interface, Get() []uint8
    pkg net/http/httputil, type BufferPool interface, Put([]uint8)
    pkg net/http/httputil, type ReverseProxy struct, BufferPool BufferPool
    pkg net/url, method (*Error) Temporary() bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private var receivedPongCount = 0
    
      /** True if we have sent a ping that is still awaiting a reply. */
      private var awaitingPong = false
    
      init {
        require("GET" == originalRequest.method) {
          "Request must be GET: ${originalRequest.method}"
        }
    
        this.key = ByteArray(16).apply { random.nextBytes(this) }.toByteString().base64()
      }
    
      override fun request(): Request = originalRequest
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        response.body.close()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Length: 0")
          .assertLogEqual("<-- END HTTP")
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
    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)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        var handshake: Handshake =
          (localhost().sslSocketFactory().createSocket() as SSLSocket).session.handshake()
        val listOfCertificates: List<Certificate> = listOf()
        handshake =
          Handshake.get(
            TlsVersion.TLS_1_3,
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
            listOfCertificates,
            listOfCertificates,
          )
        val tlsVersion: TlsVersion = handshake.tlsVersion
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  5. docs/logging/README.md

    Assuming `mc` is already [configured](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart)
    
    ```
    mc admin config get myminio/ logger_webhook
    logger_webhook:name1 auth_token="" endpoint=""
    ```
    
    ```
    mc admin config set myminio logger_webhook:name1 auth_token="" endpoint="http://endpoint:port/path"
    mc admin service restart myminio
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 9.9K bytes
    - Viewed (2)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
      // 5. unsuccessful response
      @Test
      fun usesCache() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Response.kt

      @get:JvmName("message") val message: String,
      /** Returns the HTTP status code. */
      @get:JvmName("code") val code: Int,
      /**
       * Returns the TLS handshake of the connection that carried this response, or null if the
       * response was received without TLS.
       */
      @get:JvmName("handshake") val handshake: Handshake?,
      /** Returns the HTTP headers. */
      @get:JvmName("headers") val headers: Headers,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CookiesTest.kt

        client =
          client.newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        get(urlWithIpAddress(server, "/"))
        val request1 = server.takeRequest()
        assertThat(request1.headers["Cookie"]).isNull()
        get(urlWithIpAddress(server, "/"))
        val request2 = server.takeRequest()
        assertThat(request2.headers["Cookie"]).isEqualTo("a=android; b=banana")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/first-steps.md

    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Декоратор `@app.get("/")` указывает **FastAPI**, что функция, прямо под ним, отвечает за обработку запросов, поступающих по адресу:
    
    * путь `/`
    * использующих <abbr title="HTTP GET метод"><code>get</code> операцию</abbr>
    
    !!! info "`@decorator` Дополнительная информация"
        Синтаксис `@something` в Python называется "декоратор".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/de/docs/alternatives.md

    Die Art und Weise, wie Sie es verwenden, ist sehr einfach. Um beispielsweise einen `GET`-Request zu machen, würden Sie schreiben:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Die entsprechende *Pfadoperation* der FastAPI-API könnte wie folgt aussehen:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
Back to top