Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for StatusCode (0.24 sec)

  1. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errColumnTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errOverMaxColumn(err error) *s3Error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/WebApiException.java

        private final int statusCode;
    
        public int getStatusCode() {
            return statusCode;
        }
    
        public WebApiException(final int statusCode, final String message, final Throwable cause) {
            super(message, cause);
            this.statusCode = statusCode;
        }
    
        public WebApiException(final int statusCode, final String message) {
            super(message);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/net/http/filetransport_test.go

    	fooURLs := []string{"file:///foo.txt", "file://../foo.txt"}
    	for _, urlstr := range fooURLs {
    		res, err := c.Get(urlstr)
    		check("Get "+urlstr, err)
    		if res.StatusCode != 200 {
    			t.Errorf("for %s, StatusCode = %d, want 200", urlstr, res.StatusCode)
    		}
    		if res.ContentLength != -1 {
    			t.Errorf("for %s, ContentLength = %d, want -1", urlstr, res.ContentLength)
    		}
    		if res.Body == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 17:07:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpErrorStatusCodeException.java

        private final int statusCode;
    
        public HttpErrorStatusCodeException(String method, String source, int statusCode, String reason) {
            super(String.format("Could not %s '%s'. Received status code %s from server: %s",
                method, source, statusCode, reason));
            this.statusCode = statusCode;
        }
    
        public boolean isServerError() {
            return statusCode >= 500 && statusCode < 600;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/transport/NetworkingIssueVerifier.java

                return isLikelyTransientNetworkingIssue(cause);
            }
            return false;
        }
    
        private static boolean isTransientClientError(int statusCode) {
            return statusCode == HttpStatus.SC_REQUEST_TIMEOUT || statusCode == SC_TOO_MANY_REQUESTS;
        }
    
        public static <E extends Throwable> boolean isLikelyPermanentNetworkIssue(E failure) {
            if (failure instanceof HttpErrorStatusCodeException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

            throw new BuildCacheException(e.getMessage(), e);
        }
    
        private boolean isHttpSuccess(int statusCode) {
            return statusCode >= 200 && statusCode < 300;
        }
    
        private boolean throwHttpStatusCodeException(int statusCode, String message) {
            if (FATAL_HTTP_ERROR_CODES.contains(statusCode)) {
                throw new UncheckedIOException(message);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientResponse.java

        URI getEffectiveUri() {
            return effectiveUri;
        }
    
        boolean wasSuccessful() {
            int statusCode = getStatusLine().getStatusCode();
            return statusCode >= 200 && statusCode < 400;
        }
    
        boolean wasMissing() {
            int statusCode = getStatusLine().getStatusCode();
            return statusCode == 404;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/response-change-status-code.md

    # Response – Statuscode ändern
    
    Sie haben wahrscheinlich schon vorher gelesen, dass Sie einen Standard-[Response-Statuscode](../tutorial/response-status-code.md){.internal-link target=_blank} festlegen können.
    
    In manchen Fällen müssen Sie jedoch einen anderen als den Standard-Statuscode zurückgeben.
    
    ## Anwendungsfall
    
    Stellen Sie sich zum Beispiel vor, Sie möchten standardmäßig den HTTP-Statuscode „OK“ `200` zurückgeben.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    				buf:  tt.out,
    				errs: tt.outErrs,
    			}
    			if tt.statusCode == 0 {
    				tt.statusCode = http.StatusOK
    			}
    			recorder := httptest.NewRecorder()
    			SerializeObject(tt.mediaType, encoder, recorder, tt.req, tt.statusCode, tt.object)
    			result := recorder.Result()
    			if result.StatusCode != tt.wantCode {
    				t.Fatalf("unexpected code: %v", result.StatusCode)
    			}
    			if !reflect.DeepEqual(result.Header, tt.wantHeaders) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    		// regular errors return errors but do not retry
    		{name: "404 doesnt retry", attr: aliceAttr, allow: false, statusCode: 404, expectedErr: true, expectedAuthorized: false, expectedCalls: 1},
    		{name: "403 doesnt retry", attr: aliceAttr, allow: false, statusCode: 403, expectedErr: true, expectedAuthorized: false, expectedCalls: 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top