Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for cors (0.2 sec)

  1. internal/config/api/api.go

    	if corsList == "" {
    		corsAllowOrigin = []string{"*"} // defaults to '*'
    	} else {
    		corsAllowOrigin = strings.Split(corsList, ",")
    		for _, cors := range corsAllowOrigin {
    			if cors == "" {
    				return cfg, errors.New("invalid cors value")
    			}
    		}
    	}
    	cfg.CorsAllowOrigin = corsAllowOrigin
    
    	if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  2. cmd/api-router.go

    	{
    		api:     "inventory",
    		methods: []string{http.MethodGet, http.MethodPut, http.MethodDelete},
    		queries: []string{"inventory", ""},
    	},
    	{
    		api:     "cors",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"cors", ""},
    	},
    	{
    		api:     "metrics",
    		methods: []string{http.MethodGet, http.MethodPut, http.MethodDelete},
    		queries: []string{"metrics", ""},
    	},
    	{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. cmd/dummy-handlers.go

    func (api objectAPIHandlers) DeleteBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketCorsHandler - GET bucket cors, a dummy api
    func (api objectAPIHandlers) GetBucketCorsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketCors")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiCorsAllowOrigin,
    			Description: `set comma separated list of origins allowed for CORS requests` + defaultHelpPostfix(apiCorsAllowOrigin),
    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         apiRemoteTransportDeadline,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/signature-v2.go

    )
    
    // Whitelist resource list that will be used in query string for signature-V2 calculation.
    //
    // This list should be kept alphabetically sorted, do not hastily edit.
    var resourceList = []string{
    	"acl",
    	"cors",
    	"delete",
    	"encryption",
    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    	"response-cache-control",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/globals.go

    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    	// healthCheck readiness deadlines and cors settings.
    	globalAPIConfig = apiConfig{listQuorum: "strict", rootAccess: true}
    
    	globalStorageClass storageclass.Config
    
    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/status_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package pilot
    
    import (
    	"bytes"
    	"encoding/json"
    	"os"
    	"testing"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	status "github.com/envoyproxy/go-control-plane/envoy/service/status/v3"
    	"google.golang.org/protobuf/types/known/anypb"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    }
    
    // ReplicateFromSource - this is not implemented yet where source is 'remote' and target is local.
    func (r *BatchJobReplicateV1) ReplicateFromSource(ctx context.Context, api ObjectLayer, core *miniogo.Core, srcObjInfo ObjectInfo, retry bool) error {
    	srcBucket := r.Source.Bucket
    	tgtBucket := r.Target.Bucket
    	srcObject := srcObjInfo.Name
    	tgtObject := srcObjInfo.Name
    	if r.Target.Prefix != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/mips.go

    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // MIPS (MIPS64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/mips"
    )
    
    func jumpMIPS(word string) bool {
    	switch word {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  10. cni/pkg/repair/repair_test_helpers.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package repair
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    type makePodArgs struct {
    	PodName             string
    	Labels              map[string]string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top