Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,498 for header3 (0.14 seconds)

  1. scripts/tests/test_translation_fixer/test_code_includes/data/translated_doc_number_lt.md

    # Header
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *}
    
    Some text
    
    {* ../../docs_src/bigger_applications/app_an_py310/internal/admin.py hl[3] title["app/internal/admin.py"] *}
    
    Some more text
    
    ...
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 240 bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            // always inject compat headers
            headers.put("Content-Type", "application/vnd.elasticsearch+json;compatible-with=" + compatibleVersion);
            headers.put("Accept", "application/vnd.elasticsearch+json;compatible-with=" + compatibleVersion);
            transformations.add(new InjectHeaders(headers, Set.of(RestCompatTestTransformTask::doesNotHaveCatOperation)));
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  3. docs_src/custom_request_and_route/tutorial001_an_py310.py

    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    
    
    class GzipRoute(APIRoute):
        def get_route_handler(self) -> Callable:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1015 bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

        @Test
        public void testDecodePartialData() {
            // Create a buffer with only standard lease data (no directory-specific data)
            byte[] buffer = new byte[56]; // Header + name + padding + standard lease data only
    
            // Write minimal header
            SMBUtil.writeInt4(0, buffer, 0); // Next
            SMBUtil.writeInt2(16, buffer, 4); // NameOffset
            SMBUtil.writeInt2(4, buffer, 6); // NameLength
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. docs_src/security/tutorial007_py310.py

        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: str = Depends(get_current_username)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  6. internal/logger/target/http/http.go

    	}
    	if payloadType != "" {
    		req.Header.Set(xhttp.ContentType, payloadType)
    	}
    	req.Header.Set(xhttp.WebhookEventPayloadCount, strconv.Itoa(payloadCount))
    	req.Header.Set(xhttp.MinIOVersion, xhttp.GlobalMinIOVersion)
    	req.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	// Set user-agent to indicate MinIO release
    	// version to the configured log endpoint
    	req.Header.Set("User-Agent", h.config.UserAgent)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. docs_src/security/tutorial007_an_py310.py

        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_code_includes/data/translated_doc_number_gt.md

    # Header
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[19:21] *}
    
    Some text
    
    {* ../../docs_src/bigger_applications/app_an_py310/internal/admin.py hl[3] title["app/internal/admin.py"] *}
    
    Some more text
    
    {* ../../docs_src/dependencies/tutorial013_an_py310.py ln[30:38] hl[31:33] *}
    
    And even more text
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 370 bytes
    - Click Count (0)
  9. tests/test_security_oauth2_optional.py

    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"})
        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
    - 9.8K bytes
    - Click Count (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            final Client mockNewClient = mock(Client.class);
            final Map<String, String> headers = new HashMap<>();
            headers.put("Authorization", "Bearer token");
    
            when(mockClient.filterWithHeader(headers)).thenReturn(mockNewClient);
    
            final Client result = fesenClient.filterWithHeader(headers);
    
            assertTrue(fesenClient == result); // Should return this
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
Back to Top