Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,237 for responder (0.04 sec)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert '"deepLinking": false,' in response.text, (
            "overridden configs should be preserved"
        )
        assert '"deepLinking": true' not in response.text, (
            "overridden configs should not include the old value"
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

    class JavaNetAuthenticator : Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
      ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. docs_src/app_testing/app_b_an_py310/test_main.py

        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. docs_src/app_testing/app_b_py39/test_main.py

        assert response.json() == {"detail": "Invalid X-Token header"}
    
    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.StreamResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    /**
     * Admin action for Design management.
     *
     */
    public class AdminDesignAction extends FessAdminAction {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. tests/test_request_params/test_cookie/test_required_str.py

            "/model-required-alias",
        ],
    )
    def test_required_alias_by_alias(path: str):
        client = TestClient(app)
        client.cookies.set("p_alias", "hello")
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"p": "hello"}
    
    
    # =====================================================================================
    # Validation alias
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. tests/test_request_params/test_file/test_required.py

            "/required-uploadfile-alias",
        ],
    )
    def test_required_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.post(path, files=[("p_alias", b"hello")])
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 5}
    
    
    # =====================================================================================
    # Validation alias
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. tests/test_request_params/test_query/test_optional_str.py

        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str(path: str):
        client = TestClient(app)
        response = client.get(f"{path}?p=hello")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

    import jcifs.internal.dfs.DfsReferralResponseBuffer;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    
    /**
     * Trans2 GetDfsReferral response message for DFS referral queries.
     * This class handles the response from a TRANS2_GET_DFS_REFERRAL request, which returns
     * DFS referral information for redirecting clients to distributed file system targets.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

    import jcifs.internal.smb1.trans.nt.FileNotifyInformationImpl;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Change Notify response message.
     *
     * This response contains information about file system changes
     * that occurred in the monitored directory.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top