Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestObjectLocation (0.09 sec)

  1. cmd/api-response_test.go

    package cmd
    
    import (
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/klauspost/compress/gzhttp"
    )
    
    // Tests object location.
    func TestObjectLocation(t *testing.T) {
    	testCases := []struct {
    		request          *http.Request
    		bucket, object   string
    		domains          []string
    		expectedLocation string
    	}{
    		// Server binding to localhost IP with https.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top