Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,274 for header (0.03 sec)

  1. docs/en/docs/release-notes.md

        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
        return headers
    ```
    
    Read the new docs: [Header Parameter Models](https://fastapi.tiangolo.com/tutorial/header-param-models/).
    
    #### `Cookie` Parameter Models
    
    Use Pydantic models for `Cookie` parameters:
    
    ```python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertTrue(bytesRead <= buffer.length);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer
         */
        private byte[] createValidSecurityDescriptorBuffer() {
            return createValidSecurityDescriptorBuffer(100);
        }
    
        /**
         * Helper method to create a valid security descriptor buffer with specified size
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. .github/workflows/update-rbe.yml

              # The "digest" that allows us to pull an image is not the digest as
              # returned by the API, but a sha256sum of the entire chunk of image
              # metadata. gcr.io helpfully includes it in the header of the response
              # as docker-content-digest: sha256:[digest]. Note we use egrep to
              # match exactly sha256:<hash> because curl may include a ^M symbol at
              # the end of the line.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 7.2K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112
            assertEquals(112, size);
        }
    
        @Test
        @DisplayName("Should calculate size correctly with contexts")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/archive/zip/zip_test.go

    	}
    }
    
    func testValidHeader(h *FileHeader, t *testing.T) {
    	var buf bytes.Buffer
    	z := NewWriter(&buf)
    
    	f, err := z.CreateHeader(h)
    	if err != nil {
    		t.Fatalf("error creating header: %v", err)
    	}
    	if _, err := f.Write([]byte("hi")); err != nil {
    		t.Fatalf("error writing content: %v", err)
    	}
    	if err := z.Close(); err != nil {
    		t.Fatalf("error closing zip writer: %v", err)
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

        }
    
        public void test_commonPaths() throws Exception {
            // Test common paths
            assertEquals("/index.jsp", FessHtmlPath.path_IndexJsp.getRoutingPath());
            assertEquals("/header.jsp", FessHtmlPath.path_HeaderJsp.getRoutingPath());
            assertEquals("/footer.jsp", FessHtmlPath.path_FooterJsp.getRoutingPath());
            assertEquals("/help.jsp", FessHtmlPath.path_HelpJsp.getRoutingPath());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertTrue(length >= 0);
        }
    
        @Test
        @DisplayName("Test decode operation")
        void testDecode() {
            byte[] buffer = new byte[1024];
            // Fill with basic SMB header structure
            System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
            buffer[4] = 1; // wordCount
            buffer[7] = 0; // byteCount low
            buffer[8] = 0; // byteCount high
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
        static final int QUESTION_OFFSET = 4;
        static final int ANSWER_OFFSET = 6;
        static final int AUTHORITY_OFFSET = 8;
        static final int ADDITIONAL_OFFSET = 10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/cors.md

    이 경우, 프론트엔드가 제대로 동작하기 위해 `http://localhost:8080`을 목록에 포함해야 합니다.
    
    ## 와일드카드
    
    모든 출처를 허용하기 위해 목록을 `"*"` ("와일드카드")로 선언하는 것도 가능합니다.
    
    하지만 이것은 특정한 유형의 통신만을 허용하며, 쿠키 및 액세스 토큰과 사용되는 인증 헤더(Authoriztion header) 등이 포함된 경우와 같이 자격 증명(credentials)이 포함된 통신은 허용되지 않습니다.
    
    따라서 모든 작업을 의도한대로 실행하기 위해, 허용되는 출처를 명시적으로 지정하는 것이 좋습니다.
    
    ## `CORSMiddleware` 사용
    
    `CORSMiddleware` 을 사용하여 **FastAPI** 응용 프로그램의 교차 출처 리소스 공유 환경을 설정할 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServicePacket.java

        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
        static final int QUESTION_OFFSET = 4;
        static final int ANSWER_OFFSET = 6;
        static final int AUTHORITY_OFFSET = 8;
        static final int ADDITIONAL_OFFSET = 10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top