Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 659 for Statuscode (0.06 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

        static int getStatusByCode ( int errcode ) {
            int statusCode;
            if ( ( errcode & 0xC0000000 ) != 0 ) {
                statusCode = errcode;
            } else if (dosErrorCodeStatuses.containsKey(errcode)) {
                statusCode = dosErrorCodeStatuses.get(errcode);
            } else {
                statusCode = NT_STATUS_UNSUCCESSFUL;
            }
            return statusCode;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  3. cmd/tier-handlers.go

    		Code:       "XMinioAdminTierAlreadyExists",
    		Message:    "Specified remote tier already exists",
    		StatusCode: http.StatusConflict,
    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    		Message:    "Specified remote tier was not found",
    		StatusCode: http.StatusNotFound,
    	}
    	// error returned when remote tier name is not in uppercase
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/object-lambda-handlers.go

    	"Not Extended":                    http.StatusNotExtended,
    	"Network Authentication Required": http.StatusNetworkAuthenticationRequired,
    }
    
    // StatusCode returns a HTTP Status code for the HTTP text. It returns -1
    // if the text is unknown.
    func StatusCode(text string) int {
    	if code, ok := statusTextToCode[text]; ok {
    		return code
    	}
    	return -1
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/additional-status-codes.md

    # Zusätzliche Statuscodes
    
    Standardmäßig liefert **FastAPI** die Rückgabewerte (Responses) als `JSONResponse` zurück und fügt den Inhalt der jeweiligen *Pfadoperation* in das `JSONResponse` Objekt ein.
    
    Es wird der Default-Statuscode oder derjenige verwendet, den Sie in Ihrer *Pfadoperation* festgelegt haben.
    
    ## Zusätzliche Statuscodes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    		redirectPage.append("/error/systemerror/");
    		response.sendRedirect(redirectPage.toString());
    	} else {
    		response.sendError(statusCode);
    	}
    } else if("logOut".equals(type)) {
    	redirectPage.append("/login/?type=logout&code=" + statusCode);
    	response.sendRedirect(redirectPage.toString());
    } else if("badRequest".equals(type)) {
    	redirectPage.append("/error/badrequest/");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. cni/pkg/plugin/cnieventclient.go

    	}
    	defer response.Body.Close()
    
    	if response.StatusCode != http.StatusOK {
    		body, err := io.ReadAll(io.LimitReader(response.Body, 1024*1024))
    		if err != nil {
    			return fmt.Errorf("unable to push CNI event and failed to read body (status code %d): %v", response.StatusCode, err)
    		}
    		return fmt.Errorf("unable to push CNI event (status code %d): %v", response.StatusCode, string(body))
    	}
    
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/server_test.go

    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    	err = xml.Unmarshal(data, &errorResponse)
    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    func runAllTests(suite *TestSuiteCommon, c *check) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top