Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 1,330 for reaper (0.13 seconds)

  1. docs_src/handling_errors/tutorial002_py310.py

    from fastapi import FastAPI, HTTPException
    
    app = FastAPI()
    
    items = {"foo": "The Foo Wrestlers"}
    
    
    @app.get("/items-header/{item_id}")
    async def read_item_header(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "There goes my error"},
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 404 bytes
    - Click Count (0)
  2. docs/de/docs/how-to/authentication-error-status-code.md

    Ab FastAPI-Version `0.122.0` verwenden sie den passenderen HTTP-Statuscode `401 Unauthorized` und geben in der Response einen sinnvollen `WWW-Authenticate`-Header zurück, gemäß den HTTP-Spezifikationen, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  4. src/main/resources/fess.xml

    	</component>
    	<component name="indexingHelper" class="org.codelibs.fess.helper.IndexingHelper">
    	</component>
    	<component name="notificationHelper" class="org.codelibs.fess.helper.NotificationHelper">
    	</component>
    	<component name="logNotificationHelper" class="org.codelibs.fess.helper.LogNotificationHelper">
    	</component>
    	<component name="pathMappingHelper" class="org.codelibs.fess.helper.PathMappingHelper">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_optional_description.py

        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_oauth2():
        response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "Bearer footokenbar"}
    
    
    def test_security_oauth2_password_other_header():
        response = client.get("/users/me", headers={"Authorization": "Other footokenbar"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  6. internal/s3select/select_benchmark_test.go

    			newRandString(10),
    			newRandString(5),
    			newRandString(10),
    		})
    	}
    
    	csvWriter.Flush()
    	return buf.Bytes()
    }
    
    type nullResponseWriter struct{}
    
    func (w *nullResponseWriter) Header() http.Header {
    	return nil
    }
    
    func (w *nullResponseWriter) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    func (w *nullResponseWriter) WriteHeader(statusCode int) {
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/authentication-error-status-code.md

    Starting with FastAPI version `0.122.0`, they use the more appropriate HTTP status code `401 Unauthorized`, and return a sensible `WWW-Authenticate` header in the response, following the HTTP specifications, [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_password_bearer_optional.py

        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. cmd/erasure_test.go

    	{dataBlocks: 8, parityBlocks: 4, missingData: 2, missingParity: 2, reconstructParity: false, shouldFail: false},
    }
    
    func TestErasureEncodeDecode(t *testing.T) {
    	data := make([]byte, 256)
    	if _, err := io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Failed to read random data: %v", err)
    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    		copy(buffer, data)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/help.jsp

    	type="text/css" />
    <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" />
    <link href="${fe:url('/css/font-awesome.min.css')}"
    	rel="stylesheet" type="text/css" />
    </head>
    <body>
    	<jsp:include page="header.jsp" />
    	<main class="container">
    		<div class="row">
    			<div class="col">
    
    				<jsp:include page="${helpPage}" />
    
    			</div>
    		</div>
    		<div class="text-end">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top