Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 70 for StatusCode (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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/");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 23 06:18:48 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
            int statusCode = 200;
    
            response.setHttpStatusCode(statusCode);
    
            assertEquals(statusCode, response.getHttpStatusCode());
        }
    
        @Test
        public void testEncoding() {
            CurlResponse response = new CurlResponse();
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. internal/event/target/webhook.go

    	resp, err := target.httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", target.args.Endpoint, resp.Status)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/path-operation-configuration.md

    /// warning | Achtung
    
    Beachten Sie, dass diese Parameter direkt dem *Pfadoperation-Dekorator* übergeben werden, nicht der *Pfadoperation-Funktion*.
    
    ///
    
    ## Response-Statuscode { #response-status-code }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. cmd/api-response.go

    }
    
    func writeResponse(w http.ResponseWriter, statusCode int, response []byte, mType mimeType) {
    	// Don't write a response if one has already been written.
    	// Fixes https://github.com/minio/minio/issues/21633
    	if headersAlreadyWritten(w) {
    		return
    	}
    
    	if statusCode == 0 {
    		statusCode = 200
    	}
    	// Similar check to http.checkWriteHeaderCode
    	if statusCode < 100 || statusCode > 999 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_macros_internal.h

      do {                                                                    \
        if (STRUCT_OBJ.struct_size == 0) {                                    \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition,    \
                                    "Expected initialized `" #STRUCT_NAME     \
                                    "` structure with `struct_size` field "   \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/additional-responses.md

    Sie können beispielsweise eine Response mit dem Statuscode `404` deklarieren, die ein Pydantic-Modell verwendet und über eine benutzerdefinierte Beschreibung (`description`) verfügt.
    
    Und eine Response mit dem Statuscode `200`, die Ihr `response_model` verwendet, aber ein benutzerdefiniertes Beispiel (`example`) enthält:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/handling-errors.md

    In diesem Beispiel lösen wir eine Exception mit einem Statuscode von `404` aus, wenn der Client einen Artikel mit einer nicht existierenden ID anfordert:
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[11] *}
    
    ### Die resultierende Response { #the-resulting-response }
    
    Wenn der Client `http://example.com/items/foo` anfordert (ein `item_id` `"foo"`), erhält dieser Client einen HTTP-Statuscode 200 und diese JSON-Response:
    
    ```JSON
    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. cmd/api-response_test.go

    		t.Fatalf("Write unexpectedly failed: %v", err)
    	}
    
    	// Check that WriteHeader and Write were called on the underlying response writer
    	resp := rw.Result()
    	if resp.StatusCode != 123 {
    		t.Fatalf("unexpected status: %v", resp.StatusCode)
    	}
    	body, err := io.ReadAll(resp.Body)
    	if err != nil {
    		t.Fatalf("reading response body failed: %v", err)
    	}
    	if string(body) != "hello" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. cmd/admin-handler-utils.go

    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    type AdminError struct {
    	Code       string
    	Message    string
    	StatusCode int
    }
    
    func (ae AdminError) Error() string {
    	return ae.Message
    }
    
    func toAdminAPIErr(ctx context.Context, err error) APIError {
    	if err == nil {
    		return noError
    	}
    
    	var apiErr APIError
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 03 07:17:20 GMT 2024
    - 8.4K bytes
    - Click Count (0)
Back to Top