Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for directCookie (0.84 sec)

  1. tests/test_repeated_cookie_headers.py

        return dep
    
    
    @app.get("/directCookie")
    def get_direct_cookie(dep: str = Depends(set_cookie)):
        return {"dep": dep}
    
    
    @app.get("/indirectCookie")
    def get_indirect_cookie(dep: str = Depends(set_indirect_cookie)):
        return {"dep": dep}
    
    
    client = TestClient(app)
    
    
    def test_cookie_is_set_once():
        direct_response = client.get("/directCookie")
        indirect_response = client.get("/indirectCookie")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 12:44:51 UTC 2020
    - 792 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

        @Override
        protected void prepareWebDirection(final FwWebDirection direction) {
            direction.directRequest(createUserLocaleProcessProvider(), createUserTimeZoneProcessProvider());
            direction.directCookie(createCookieResourceProvider());
            direction.directAdjustment(createActionAdjustmentProvider());
            direction.directMessage(createMessageNameList(), "fess_label");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top