Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 329 for StatusCode (0.14 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. src/net/http/responsewrite_test.go

    type respWriteTest struct {
    	Resp Response
    	Raw  string
    }
    
    func TestResponseWrite(t *testing.T) {
    	respWriteTests := []respWriteTest{
    		// HTTP/1.0, identity coding; no trailer
    		{
    			Response{
    				StatusCode:    503,
    				ProtoMajor:    1,
    				ProtoMinor:    0,
    				Request:       dummyReq("GET"),
    				Header:        Header{},
    				Body:          io.NopCloser(strings.NewReader("abcdef")),
    				ContentLength: 6,
    			},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker.go

    		case resp.StatusCode == http.StatusBadRequest:
    			return errors.NewBadRequest(bodyText)
    		case resp.StatusCode == http.StatusNotFound:
    			return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false)
    		}
    		return errors.NewGenericServerResponse(resp.StatusCode, "", checker.QualifiedResource, checker.Name, bodyText, 0, false)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 03 06:33:43 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  7. 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)
  8. pkg/istio-agent/health/health_probers_test.go

    	tests := []struct {
    		desc                string
    		statusCode          int
    		expectedProbeResult ProbeResult
    		expectedError       error
    	}{
    		{
    			desc:                "Healthy - 200 status code",
    			statusCode:          200,
    			expectedProbeResult: Healthy,
    			expectedError:       nil,
    		},
    		{
    			desc:                "Unhealthy - 500 status code",
    			statusCode:          500,
    			expectedProbeResult: Unhealthy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. internal/s3select/sql/errors.go

    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  10. internal/s3select/errors.go

    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top