- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 1,608 for leader (0.05 seconds)
-
tests/test_security_http_bearer_optional.py
client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Bearer", "credentials": "foobar"} def test_security_http_bearer_no_credentials(): response = client.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
def test_incorrect_token(): response = client.get("/items", headers={"Authorization": "Non-existent testtoken"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_token(): response = client.get("/items", headers={"Authorization": "Bearer testtoken"}) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.5K bytes - Click Count (0) -
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) -
docs/extensions/fan-out/README.md
``` PutObjectFanOut(ctx context.Context, bucket string, fanOutContent io.Reader, fanOutReq minio.PutObjectFanOutRequest) ([]minio.PutObjectFanOutResponse, error)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu May 25 05:51:07 GMT 2023 - 1.4K bytes - Click Count (0) -
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) -
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 initialCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
internal/config/policy/plugin/help.go
Type: "url", Sensitive: true, }, config.HelpKV{ Key: AuthToken, Description: "authorization header for plugin hook endpoint" + defaultHelpPostfix(AuthToken), Optional: true, Type: "string", Sensitive: true, Secret: true, }, config.HelpKV{ Key: EnableHTTP2,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 1.8K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/advance.jsp
</ul> </div> </div> </nav> </header> <main id="content" class="container"> <h2> <la:message key="labels.advance_search_title" /> </h2> <div class="notification">${notification}</div> <div> <la:info id="msg" message="true"> <div class="alert alert-info">${msg}</div> </la:info>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
private void resetMocks() { mockRequest = new TestHttpServletRequest(); mockResponse = new TestHttpServletResponse(); mockFilterChain = new TestFilterChain(); } // Test with no Origin header @Test public void test_doFilter_noOriginHeader() throws IOException, ServletException { mockRequest.setHeader("Origin", null); corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
src/main/resources/fess.xml
<postConstruct name="addDesignJspFileName"> <arg>"index"</arg> <arg>"index.jsp"</arg> </postConstruct> <postConstruct name="addDesignJspFileName"> <arg>"header"</arg> <arg>"header.jsp"</arg> </postConstruct> <postConstruct name="addDesignJspFileName"> <arg>"footer"</arg> <arg>"footer.jsp"</arg> </postConstruct> <postConstruct name="addDesignJspFileName">
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)