Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getScheme (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Protocol.kt

    import okio.IOException
    
    /**
     * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection.
     *
     * ## Protocol vs Scheme
     *
     * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http,
     * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word
     * *protocol* to identify how HTTP messages are framed.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. test-site/app/models/ContentsCreator.java

                }
            }
        }
    
        protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) {
            String schema = request.getURI().getScheme();
            String host = request.getURI().getHost();
            String originUri = request.getURI().toString();
    
            String h = html;
            final String tag = "<a href=\"";
            int linkPos;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  3. manifests/charts/base/files/crd-all.gen.yaml

                    - message: url must have schema one of [http, https, file, oci]
                      rule: 'isURL(self) ? (url(self).getScheme() in ['''', ''http'',
                        ''https'', ''oci'', ''file'']) : (isURL(''http://'' + self) &&
                        url(''http://'' +self).getScheme() in ['''', ''http'', ''https'',
                        ''oci'', ''file''])'
                  verificationKey:
                    type: string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  4. cmd/api-response_test.go

    // Tests getURLScheme function behavior.
    func TestGetURLScheme(t *testing.T) {
    	tls := false
    	gotScheme := getURLScheme(tls)
    	if gotScheme != httpScheme {
    		t.Errorf("Expected %s, got %s", httpScheme, gotScheme)
    	}
    	tls = true
    	gotScheme = getURLScheme(tls)
    	if gotScheme != httpsScheme {
    		t.Errorf("Expected %s, got %s", httpsScheme, gotScheme)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.5K bytes
    - Viewed (0)
Back to top