Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,024 for soient (0.2 sec)

  1. tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py

            data = gzip.compress(data)
            headers["Content-Encoding"] = "gzip"
        headers["Content-Type"] = "application/json"
        response = client.post("/sum", content=data, headers=headers)
        assert response.json() == {"sum": n}
    
    
    def test_request_class():
        response = client.get("/check-class")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 14:26:09 UTC 2022
    - 886 bytes
    - Viewed (0)
  2. tests/test_security_api_key_header.py

        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs/sts/wso2.md

    | aud        | _string array_ | The token audience list. The client identifier of the OAuth clients that the JWT is intended for, is sent herewith.                                                                     |
    | azp        | _string_       | The authorized party for which the token is issued to. The client identifier of the OAuth client that the token is issued for, is sent herewith.                                        |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. Dockerfile.release.fips

        chmod +x /go/bin/minio
    
    # Download mc binary and signature files
    RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.fips -o /go/bin/mc && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.fips.minisig -o /go/bin/mc.minisig && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.fips.sha256sum -o /go/bin/mc.sha256sum && \
        chmod +x /go/bin/mc
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dataclasses/test_tutorial001.py

    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from docs_src.dataclasses.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_post_item():
        response = client.post("/items/", json={"name": "Foo", "price": 3})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 3,
            "description": None,
            "tax": None,
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tests/test_union_inherited_body.py

        return {"item": item}
    
    
    client = TestClient(app)
    
    
    def test_post_extended_item():
        response = client.post("/items/", json={"name": "Foo", "age": 5})
        assert response.status_code == 200, response.text
        assert response.json() == {"item": {"name": "Foo", "age": 5}}
    
    
    def test_post_item():
        response = client.post("/items/", json={"name": "Foo"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig_test.go

    				client: ctrzClient,
    			}},
    		},
    		{
    			name: "given --level flag return outputLogLevel command",
    			args: args{
    				ctrzClient:      ctrzClient,
    				reset:           false,
    				outputLogLevel:  "resource:info",
    				stackTraceLevel: "",
    				outputFormat:    "",
    			},
    			want: &istiodConfigLog{state: &logLevelState{
    				client:         ctrzClient,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

    import org.codelibs.fess.app.service.RequestHeaderService;
    import org.codelibs.fess.app.service.WebAuthenticationService;
    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.http.Authentication;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

            body = "ABC.2",
          ),
        )
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
            .hostnameVerifier(nullHostnameVerifier)
            .build()
        val request = Request(server.url("/"))
        val response1: Response = client.newCall(request).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. README.md

    cUrl-like Java Client
    [![Java CI with Maven](https://github.com/codelibs/curl4j/actions/workflows/maven.yml/badge.svg)](https://github.com/codelibs/curl4j/actions/workflows/maven.yml)
    =====================
    
    curl4j is a simple cUrl-like Java client.
    
    ## Version
    
    [Versions in Maven Repository](https://repo1.maven.org/maven2/org/codelibs/curl4j/)
    
    ## Using Maven
    
    Put the following block into pom.xml if using Maven:
    
        <dependency>
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sat Feb 19 00:59:27 UTC 2022
    - 566 bytes
    - Viewed (0)
Back to top