Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for forbidden (0.12 sec)

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

        }
      }
    
      /**
       * Returns this URL as a [java.net.URI][URI]. Because `URI` is more strict than this class, the
       * returned URI may be semantically different from this URL:
       *
       *  * Characters forbidden by URI like `[` and `|` will be escaped.
       *
       *  * Invalid percent-encoded sequences like `%xx` will be encoded like `%25xx`.
       *
       *  * Whitespace and control characters in the fragment will be stripped.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    	redirect := false
    	name := "file.txt"
    	fs := issue12991FS{}
    	ExportServeFile(rec, r, fs, name, redirect)
    	if body := rec.Body.String(); !strings.Contains(body, "403") || !strings.Contains(body, "Forbidden") {
    		t.Errorf("wanted 403 forbidden message; got: %s", body)
    	}
    }
    
    type issue12991FS struct{}
    
    func (issue12991FS) Open(string) (File, error) { return issue12991File{}, nil }
    
    type issue12991File struct{ File }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    	// of the future array of every memRecord struct
    	profMemFutureLock [len(memRecord{}.future)]mutex
    )
    
    // All memory allocations are local and do not escape outside of the profiler.
    // The profiler is forbidden from referring to garbage-collected memory.
    
    const (
    	// profile types
    	memProfile bucketType = 1 + iota
    	blockProfile
    	mutexProfile
    
    	// size of bucket hash table
    	buckHashSize = 179999
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils_test.go

    	testCases := []struct {
    		maxUnavailable         *intstr.IntOrString
    		replicaCount           int
    		expectedMaxUnavailable int
    	}{
    		// it wouldn't hurt to also test 0 and 0%, even if they should have been forbidden by API validation.
    		{maxUnavailable: nil, replicaCount: 10, expectedMaxUnavailable: 1},
    		{maxUnavailable: ptr.To(intstr.FromInt32(3)), replicaCount: 10, expectedMaxUnavailable: 3},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  5. tests/integration/security/authz_test.go

    	// Fill in the defaults; we need this to get the dest protocol
    	b.opts.FillDefaultsOrFail(t)
    	if b.allow {
    		b.opts.Check = check.And(check.OK(), check.ReachedTargetClusters(t))
    	} else {
    		b.opts.Check = check.Forbidden(b.opts.Port.Protocol)
    	}
    	return b
    }
    
    func (b *authzTest) BuildForPorts(t framework.TestContext, ports ...echo.Port) authzTests {
    	out := make(authzTests, 0, len(ports))
    	for _, p := range ports {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher_test.go

    			shouldFail: true, // All other API errors should be propagated to caller
    			reactor: func(action core.Action) (handled bool, ret runtime.Object, err error) {
    				// return Forbidden to all DELETE requests
    				if action.Matches("delete", "volumeattachments") {
    					return true, nil, apierrors.NewForbidden(action.GetResource().GroupResource(), action.GetNamespace(), fmt.Errorf("mock error"))
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

            "filteringCharset"   | "filteringCharset = 'iso8859-1'"                  | "filteringCharset = 'utf-8'"
        }
    
        def "null action is forbidden for #method"() {
            given:
            buildScript """
                task copy(type: Copy) {
                    into "out"
                    from 'src'
                    ${method} 'dest', null
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    // return responses such as 404 Not Found and 403 Forbidden.
    func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadBucket")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

              "type": "boolean"
            },
            "x-kubernetes-validations": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            } else {
                notifyChildren(type);
            }
        }
    
        /**
         * Emit a warning (and eventually throw an exception) if a mutation of type {@code type} occurs
         * during a forbidden state.
         *
         * @return true if a deprecation was emitted
         */
        private boolean maybePreventMutation(MutationType type, String typeDescription) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
Back to top