Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for opensesame (0.15 sec)

  1. src/cmd/go/testdata/vcstest/auth/oronelongline.txt

    handle auth
    
    -- .access --
    {
    	"Username": "aladdin",
    	"Password": "opensesame",
    	"StatusCode": 404,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 917 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_auth.txt

    package useprivate
    
    import (
    	_ "vcs-test.golang.org/auth/or401"
    	_ "vcs-test.golang.org/auth/or404"
    )
    -- $WORK/empty --
    -- $WORK/netrc --
    machine vcs-test.golang.org
    	login aladdin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 763 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/vcstest/auth/or404.txt

    handle auth
    
    modzip vcs-test.golang.org/auth/or404/@v/v0.0.0-20190405155004-2234c475880e.zip vcs-test.golang.org/auth/or404@v0.0.0-20190405155004-2234c475880e .moddir
    
    -- .access --
    {
    	"Username": "aladdin",
    	"Password": "opensesame",
    	"StatusCode": 404,
    	"Message": "File? What file?"
    }
    -- index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/auth/or404 mod https://vcs-test.golang.org/auth/or404">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 954 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/vcstest/auth/ormanylines.txt

    handle auth
    
    -- .access --
    {
    	"Username": "aladdin",
    	"Password": "opensesame",
    	"StatusCode": 404,
    	"Message": "line 1\nline 2\nline 3\nline 4\nline 5\nline 6\nline 7\nline 8\nline 9\nline 10\nline 11\nline 12\nline 13\nline 14\nline 15\nline 16"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 250 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/vcstest/auth/or401.txt

    handle auth
    
    modzip vcs-test.golang.org/auth/or401/@v/v0.0.0-20190405155051-52df474c8a8b.zip vcs-test.golang.org/auth/or401@v0.0.0-20190405155051-52df474c8a8b .moddir
    
    -- .access --
    {
    	"Username": "aladdin",
    	"Password": "opensesame",
    	"StatusCode": 401,
    	"Message": "ACCESS DENIED, buddy"
    }
    -- index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/auth/or401 mod https://vcs-test.golang.org/auth/or401">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 910 bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    	defer proxy.Close()
    	c := proxy.Client()
    
    	tr := c.Transport.(*Transport)
    	tr.Proxy = func(*Request) (*url.URL, error) {
    		u, _ := url.Parse(proxy.URL)
    		u.User = url.UserPassword("aladdin", "opensesame")
    		return u, nil
    	}
    	h := tr.ProxyConnectHeader
    	if h == nil {
    		h = make(Header)
    	}
    	tr.ProxyConnectHeader = h.Clone()
    
    	req, err := NewRequest("GET", "https://golang.fake.tld/", nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/net/http/request_test.go

    	username, password string
    }
    
    var getBasicAuthTests = []struct {
    	username, password string
    	ok                 bool
    }{
    	{"Aladdin", "open sesame", true},
    	{"Aladdin", "open:sesame", true},
    	{"", "", true},
    }
    
    func TestGetBasicAuth(t *testing.T) {
    	for _, tt := range getBasicAuthTests {
    		r, _ := NewRequest("GET", "http://example.com/", nil)
    		r.SetBasicAuth(tt.username, tt.password)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top