Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 108 for notFound (0.48 sec)

  1. src/cmd/go/internal/vcweb/svn.go

    		if req.FormValue("vcwebsvn") != "" {
    			w.Header().Add("Content-Type", "text/plain; charset=UTF-8")
    			io.WriteString(w, "svn://"+addr+"\n")
    			return
    		}
    		http.NotFound(w, req)
    	})
    
    	return handler, nil
    }
    
    // serve serves a single 'svn://' connection on c.
    func (h *svnHandler) serve(c net.Conn) {
    	defer func() {
    		c.Close()
    
    		s := <-h.s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:44:48 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. cmd/warm-backend-gcs.go

    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    			Bucket: bucket,
    		}
    	case "notFound":
    		if object != "" {
    			err = ObjectNotFound{
    				Bucket: bucket,
    				Object: object,
    			}
    			break
    		}
    		err = BucketNotFound{Bucket: bucket}
    	case "conflict":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/server.go

    var modVerRE = lazyregexp.New(`^[^@]+@v[0-9]+\.[0-9]+\.[0-9]+(-[^@]*)?(\+incompatible)?$`)
    
    func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	switch {
    	default:
    		http.NotFound(w, r)
    
    	case strings.HasPrefix(r.URL.Path, "/lookup/"):
    		mod := strings.TrimPrefix(r.URL.Path, "/lookup/")
    		if !modVerRE.MatchString(mod) {
    			http.Error(w, "invalid module@version syntax", http.StatusBadRequest)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. cmd/metacache_test.go

    		lastHandout:  metaCacheTestsetTimestamp,
    		dataVersion:  metacacheStreamVersion,
    	},
    	5: {
    		id:           "case-6-404notfound",
    		bucket:       "bucket",
    		root:         "folder/notfound",
    		recursive:    true,
    		status:       scanStateSuccess,
    		fileNotFound: true,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    		ended:        metaCacheTestsetTimestamp.Add(time.Minute),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/webhook_server.go

    		w.Header().Set("Content-Type", "application/json")
    		json.NewEncoder(w).Encode(&v1beta1.AdmissionReview{
    			Response: &v1beta1.AdmissionResponse{
    				Allowed: true,
    			},
    		})
    	default:
    		http.NotFound(w, r)
    	}
    }
    
    // ClockSteppingWebhookHandler given a fakeClock returns a request handler
    // that moves time in given clock by an amount specified in the webhook request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 15 11:11:25 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/legacytokentracking/controller_test.go

    			},
    		},
    		{
    			name: "update configmap should ignore NotFound error [cache with unexpected date format, no live object]",
    			existingConfigMap: &corev1.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: ConfigMapName},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 19 17:33:34 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. pkg/controller/bootstrap/tokencleaner.go

    		if len(secret.UID) > 0 {
    			options.Preconditions = &metav1.Preconditions{UID: &secret.UID}
    		}
    		err := tc.client.CoreV1().Secrets(secret.Namespace).Delete(ctx, secret.Name, options)
    		// NotFound isn't a real error (it's already been deleted)
    		// Conflict isn't a real error (the UID precondition failed)
    		if err != nil && !apierrors.IsConflict(err) && !apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/net/http/server_test.go

    	mux.HandleFunc("/admin/products/", fn)
    	mux.HandleFunc("/admin/products/create", fn)
    	mux.HandleFunc("/admin/products/update", fn)
    	mux.HandleFunc("/admin/products/delete", fn)
    
    	paths := []string{"/", "/notfound", "/admin/", "/admin/foo", "/contact", "/products",
    		"/products/", "/products/3/image.jpg"}
    	b.StartTimer()
    	for i := 0; i < b.N; i++ {
    		r, err := NewRequest("GET", "http://example.com/"+paths[i%len(paths)], nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. docs/sts/web-identity.go

    		Scopes:      scopes,
    	}
    
    	state := randomState()
    
    	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    		log.Printf("%s %s", r.Method, r.RequestURI)
    		if r.RequestURI != "/" {
    			http.NotFound(w, r)
    			return
    		}
    		if clientSec != "" {
    			http.Redirect(w, r, config.AuthCodeURL(state), http.StatusFound)
    		} else {
    			http.Redirect(w, r, implicitFlowURL(config, state), http.StatusFound)
    		}
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. pkg/controller/storageversionmigrator/storageversionmigrator.go

    			Patch(ctx,
    				name,
    				types.ApplyPatchType,
    				data,
    				metav1.PatchOptions{
    					FieldManager: svmc.controllerName,
    				},
    			)
    		if err != nil {
    			// in case of NotFound or Conflict, we can stop processing migration for that resource
    			if apierrors.IsNotFound(err) || apierrors.IsConflict(err) {
    				continue
    			}
    
    			_, err = svmc.kubeClient.StoragemigrationV1alpha1().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top