Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 574 for Reaber (0.24 sec)

  1. internal/grid/connection.go

    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    		c.header.Set("Authorization", "Bearer "+c.auth(""))
    		c.header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    		if len(c.header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(c.header)
    		}
    		dialer.TLSConfig = c.tlsConfig
    		dialStarted := time.Now()
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. tests/test_security_oauth2.py

    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "Bearer footokenbar"}
    
    
    def test_security_oauth2_password_other_header():
        response = client.get("/users/me", headers={"Authorization": "Other footokenbar"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    		},
    		// Test case - 2
    		// Check for JWT header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization": []string{"Bearer 12313123"},
    				},
    			},
    			authT: authTypeJWT,
    		},
    		// Test case - 3
    		// Empty authorization header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    type Writer struct {
    	cw          *countWriter
    	dir         []*header
    	last        *fileWriter
    	closed      bool
    	compressors map[uint16]Compressor
    	comment     string
    
    	// testHookCloseSizeOffset if non-nil is called with the size
    	// of offset of the central directory at Close.
    	testHookCloseSizeOffset func(size, offset uint64)
    }
    
    type header struct {
    	*FileHeader
    	offset uint64
    	raw    bool
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    			}
    		}
    	} else if _, ok := r.Header[xhttp.AmzContentSha256]; !skipSHA256 && ok {
    		contentSHA256, err = hex.DecodeString(r.Header.Get(xhttp.AmzContentSha256))
    		if err != nil || len(contentSHA256) == 0 {
    			return ErrContentSHA256Mismatch
    		}
    	}
    
    	// Verify 'Content-Md5' and/or 'X-Amz-Content-Sha256' if present.
    	// The verification happens implicit during reading.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

            class Config:
                extra = "allow"
    
    
    class ParameterInType(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Encoding(BaseModelWithConfig):
        contentType: Optional[str] = None
        headers: Optional[Dict[str, Union["Header", Reference]]] = None
        style: Optional[str] = None
        explode: Optional[bool] = None
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. cmd/xl-storage-format-v1_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BitrotAlgorithm) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint
    		zb0001, err = dc.ReadUint()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = BitrotAlgorithm(zb0001)
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation.
    
        Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben.
    
        Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:44 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		return
    	}
    
    	const mapEntryOverhead = 200
    
    	var (
    		reader        io.Reader
    		fileSize      int64 = -1
    		fileName      string
    		fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100)
    	)
    
    	maxParts := 1000
    	// Canonicalize the form values into http.Header.
    	formValues := make(http.Header)
    	for {
    		part, err := mp.NextRawPart()
    		if errors.Is(err, io.EOF) {
    			break
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. cmd/handler-utils.go

    		return map[string]string{}
    	}
    	return map[string]string{
    		"requestId":      w.Header().Get(xhttp.AmzRequestID),
    		"nodeId":         w.Header().Get(xhttp.AmzRequestHostID),
    		"content-length": w.Header().Get(xhttp.ContentLength),
    		// Add more fields here.
    	}
    }
    
    // Trims away `aws-chunked` from the content-encoding header if present.
    // Streaming signature clients can have custom content-encoding such as
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
Back to top