Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,212 for texi (0.03 sec)

  1. cmd/object-lambda-handlers.go

    	"Network Authentication Required": http.StatusNetworkAuthenticationRequired,
    }
    
    // StatusCode returns a HTTP Status code for the HTTP text. It returns -1
    // if the text is unknown.
    func StatusCode(text string) int {
    	if code, ok := statusTextToCode[text]; ok {
    		return code
    	}
    	return -1
    }
    
    func fwdHeadersToS3(h http.Header, w http.ResponseWriter) {
    	const trim = "x-amz-fwd-header-"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tests/test_extra_routes.py

        assert response.headers["x-fastapi-item-id"] == "foo"
    
    
    def test_patch():
        response = client.patch("/items/foo", json={"name": "Foo"})
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": "foo", "item": {"name": "Foo", "price": None}}
    
    
    def test_trace():
        response = client.request("trace", "/items/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_dependencies/test_tutorial008d.py

        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    def test_internal_error(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial001_an.py

        response = client.get("/items")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token():
        response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_testing_dependencies/test_tutorial001.py

        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 09:08:19 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py

        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    def test_override_in_users_with_q():
        response = client.get("/users/?q=foo")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              return 0x800;
            } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) {
              // Mostly 3-byte UTF-8 sequences - "Asian" text
              return Character.MIN_SUPPLEMENTARY_CODE_POINT;
            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              return 0x800;
            } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) {
              // Mostly 3-byte UTF-8 sequences - "Asian" text
              return Character.MIN_SUPPLEMENTARY_CODE_POINT;
            } else if (userFriendly.matches("(?i)(?:Cuneiform|rare|exotic|supplementary.*)")) {
              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler.jsp

                                                    <th class="text-center" style="width: 10%"><la:message
                                                            key="labels.scheduledjob_status"/></th>
                                                    <th class="text-center" style="width: 10%"><la:message
                                                            key="labels.scheduledjob_target"/></th>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. src/archive/tar/example_test.go

    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    			Mode: 0600,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
Back to top