Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,268 for Loader (0.06 sec)

  1. tests/test_tutorial/test_header_params/test_tutorial002_an.py

        [
            ("/items", None, 200, {"strange_header": None}),
            ("/items", {"X-Header": "notvalid"}, 200, {"strange_header": None}),
            (
                "/items",
                {"strange_header": "FastAPI test"},
                200,
                {"strange_header": "FastAPI test"},
            ),
            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main.py

        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_bar_with_invalid_token(client: TestClient):
        response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_with_missing_x_token_header(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py

        [
            ("/items", None, 200, {"strange_header": None}),
            ("/items", {"X-Header": "notvalid"}, 200, {"strange_header": None}),
            (
                "/items",
                {"strange_header": "FastAPI test"},
                200,
                {"strange_header": "FastAPI test"},
            ),
            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/group/admin_group_details.jsp

                                    <%-- Card Header --%>
                                <div class="card-header">
                                    <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                                </div>
                                    <%-- Card Body --%>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  5. ci/README.md

    The CI folder contains the configuration files and scripts used to build, test,
    and deploy TensorFlow. This folder is typically used by continuous integration
    (CI) tools to build and test TensorFlow whenever there is a change to the
    code. This folder is broken into subfolders that represent the level of support
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jun 06 21:00:01 UTC 2023
    - 825 bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_details.jsp

                                    <%-- Card Header --%>
                                <div class="card-header">
                                    <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                                </div>
                                    <%-- Card Body --%>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_details.jsp

                                    <%-- Card Header --%>
                                <div class="card-header">
                                    <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include>
                                </div>
                                    <%-- Card Body --%>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  8. internal/config/lambda/target/webhook.go

    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    	return target.httpClient.Do(req)
    }
    
    // Close the target. Will cancel all active requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. cmd/handler-utils_test.go

    			},
    			shouldFail: false,
    		},
    		// Fail if header key is not in canonicalized form
    		{
    			header: http.Header{
    				"x-amz-meta-appid": []string{"amz-meta"},
    			},
    			metadata: map[string]string{
    				"x-amz-meta-appid": "amz-meta",
    			},
    			shouldFail: false,
    		},
    		// Support multiple values
    		{
    			header: http.Header{
    				"x-amz-meta-key": []string{"amz-meta1", "amz-meta2"},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
          val result = mutableListOf<Header>()
          for (inputHeader in headers) {
            val (key, value) = inputHeader.entries.iterator().next()
            result.add(Header(key, value))
          }
          return result
        }
    
      public override fun clone() = Case(seqno, this.wire, headers)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top