Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for encodedQuery (0.13 sec)

  1. cmd/signature-v2.go

    		return cred, ErrSignatureDoesNotMatch
    	}
    	return cred, ErrNone
    }
    
    // Escape encodedQuery string into unescaped list of query params, returns error
    // if any while unescaping the values.
    func unescapeQueries(encodedQuery string) (unescapedQueries []string, err error) {
    	for _, query := range strings.Split(encodedQuery, "&") {
    		var unescapedQuery string
    		unescapedQuery, err = url.QueryUnescape(query)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

     * **Headers**: size
     * **HeldCertificate**: certificate, keyPair
     * **HttpLoggingInterceptor**: level
     * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery,
       encodedUsername, fragment, host, password, pathSegments, pathSize, port, query,
       queryParameterNames, querySize, scheme, username
     * **MockResponse**: headers, http2ErrorCode, socketPolicy, status, trailers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          }
        },
    
        QUERY {
          override fun urlString(value: String): String = "http://example.com/?a${value}z"
    
          override fun encodedValue(url: HttpUrl): String {
            val query = url.encodedQuery
            return query!!.substring(1, query.length - 1)
          }
    
          override operator fun set(
            builder: HttpUrl.Builder,
            value: String,
          ) {
            builder.query("a${value}z")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    	)
    
    	// Add missing query parameters if any provided in the request URL
    	for k, v := range req.Form {
    		if !defaultSigParams.Contains(k) {
    			query[k] = v
    		}
    	}
    
    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val encodedPath: String = httpUrl.encodedPath()
        val encodedPathSegments: List<String> = httpUrl.encodedPathSegments()
        val pathSegments: List<String> = httpUrl.pathSegments()
        val encodedQuery: String? = httpUrl.encodedQuery()
        val query: String? = httpUrl.query()
        val querySize: Int = httpUrl.querySize()
        val queryParameter: String? = httpUrl.queryParameter("")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val encodedPath: String = httpUrl.encodedPath
        val encodedPathSegments: List<String> = httpUrl.encodedPathSegments
        val pathSegments: List<String> = httpUrl.pathSegments
        val encodedQuery: String? = httpUrl.encodedQuery
        val query: String? = httpUrl.query
        val querySize: Int = httpUrl.querySize
        val queryParameter: String? = httpUrl.queryParameter("")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
      }
    
      private fun buildRequest(
        hostname: String,
        type: Int,
      ): Request =
        Request.Builder().header("Accept", DNS_MESSAGE.toString()).apply {
          val query = DnsRecordCodec.encodeQuery(hostname, type)
    
          if (post) {
            url(url)
              .cacheUrlOverride(
                url.newBuilder()
                  .addQueryParameter("hostname", hostname).build(),
              )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top