Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 157 for StatusCode (0.26 sec)

  1. 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.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Abhängigkeiten mit `yield`, `HTTPException` und Hintergrundtasks
    
    !!! warning "Achtung"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:29 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. src/net/http/httputil/reverseproxy.go

    	roundTripDone = true
    	roundTripMutex.Unlock()
    	if err != nil {
    		p.getErrorHandler()(rw, outreq, err)
    		return
    	}
    
    	// Deal with 101 Switching Protocols responses: (WebSocket, h2c, etc)
    	if res.StatusCode == http.StatusSwitchingProtocols {
    		if !p.modifyResponse(rw, res, outreq) {
    			return
    		}
    		p.handleUpgradeResponse(rw, outreq, res)
    		return
    	}
    
    	removeHopByHopHeaders(res.Header)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
      Status SetAttrType(const char* const attr_name, DataType value) override {
        if (!op_) {
          return Status(
              absl::StatusCode::kFailedPrecondition,
              "op_type and op_name must be specified before specifying attrs.");
        }
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		if nerr.Err != nil {
    			err := AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    nerr.Err.Error(),
    				StatusCode: http.StatusInternalServerError,
    			}
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			adminLogIf(ctx, fmt.Errorf("server update failed with %w", err))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. internal/logger/target/http/http.go

    	if err != nil {
    		return fmt.Errorf("%s returned '%w', please check your endpoint configuration", h.Endpoint(), err)
    	}
    
    	// Drain any response.
    	xhttp.DrainBody(resp.Body)
    
    	switch resp.StatusCode {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    		// accepted HTTP status codes.
    		return nil
    	case http.StatusForbidden:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

            return %0 : tensor<2x2x2xf32>
        }
      }
    )mlir";
    
    TEST_F(AttrsAndConstraintsTest, IsDotGeneralFullyConnectedReturnsError) {
      DotGeneralOp dot_general_op = nullptr;
      StatusIs(absl::StatusCode::kInvalidArgument,
               "Given dot_general op cannot be null when checking "
               "`IsDotGeneralBatchMatmul`");
    }
    
    TEST_F(AttrsAndConstraintsTest, IsDotGeneralFullyConnectedReturnsTrue) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    // redirects; it will thrown an error instead.
    func TestStreamTranslator_BlockRedirects(t *testing.T) {
    	metrics.Register()
    	metrics.ResetForTest()
    	t.Cleanup(metrics.ResetForTest)
    	for _, statusCode := range []int{
    		http.StatusMovedPermanently,  // 301
    		http.StatusFound,             // 302
    		http.StatusSeeOther,          // 303
    		http.StatusTemporaryRedirect, // 307
    		http.StatusPermanentRedirect, // 308
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/testing/testserver.go

    				storageVersionCheck := fmt.Sprintf("poststarthook/%s", apiserver.StorageVersionPostStartHookName)
    				req.Param("exclude", storageVersionCheck)
    			}
    			result := req.Do(context.TODO())
    			status := 0
    			result.StatusCode(&status)
    			if status == 200 {
    				return true, nil
    			}
    			return false, nil
    		})
    		if err != nil {
    			return result, fmt.Errorf("failed to wait for /healthz to return ok: %v", err)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
    
      return quantization_method;
    }
    
    Method GetQuantizationMethodOrDefault(absl::Nonnull<Operation*> op) {
      absl::StatusOr<Method> method = GetQuantizationMethod(op);
      if (method.status().code() == absl::StatusCode::kInternal) {
        // This indicates that the `Method` protobuf string is corrupt, but this
        // function ignores it and returns the default instance.
        op->emitError(absl::StrCat("Failed to get quantization method: ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top