Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,334 for headerKV (0.05 seconds)

  1. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py

    async def read_admin():
        return {"message": "Admin Access"}
    
    
    client = TestClient(app)
    
    
    def test_read_admin():
        response = client.get("/admin", headers={"Authorization": "Bearer faketoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin Access"}
    
    
    def test_openapi_schema():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Set security buffer offset close to Integer.MAX_VALUE to test overflow protection
            SMBUtil.writeInt2(32767, buffer, 56); // Large offset (will be added to header start)
            SMBUtil.writeInt2(1000, buffer, 58); // Some length
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        @Test
        void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception {
            // Initialize filter first
            initializeFilter();
    
            // Test request without Authorization header should challenge client
            when(request.getHeader("Authorization")).thenReturn(null);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/schema-extra-example.md

    ## `examples` у Схемі JSON - OpenAPI { #examples-in-json-schema-openapi }
    
    При використанні будь-кого з наступного:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    ви також можете задати набір `examples` з додатковою інформацією, яка буде додана до їхніх **Схем JSON** у **OpenAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields
            return 32;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("DLse")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Standard lease data: 32 bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt

        assertThat(cacheControl.onlyIfCached).isTrue()
        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.immutable).isTrue()
    
        // These members are accessible to response headers only.
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
        assertThat(cacheControl.isPublic).isFalse()
        assertThat(cacheControl.mustRevalidate).isFalse()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

      }
    
      @Test
      fun worksIfTrailersSet() {
        val response =
          newResponse("".toResponseBody()) {
            trailers(
              object : TrailersSource {
                override fun get() = Headers.headersOf("a", "b")
              },
            )
          }
    
        assertThat(response.trailers()["a"]).isEqualTo("b")
      }
    
      @Test fun peekAfterReadingResponse() {
        val response = newResponse(responseBody("abc"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/filter/CorsFilter.java

    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * Filter for handling Cross-Origin Resource Sharing (CORS) requests.
     * Processes CORS headers and handles preflight OPTIONS requests.
     */
    public class CorsFilter implements Filter {
    
        /**
         * Creates a new instance of CorsFilter.
         */
        public CorsFilter() {
            // Default constructor
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. CLAUDE.md

    mvn test                       # Run tests
    mvn formatter:format           # Format code
    mvn license:format             # Update license headers
    ```
    
    ### Code Style
    
    - 4 spaces (no tabs), opening brace on same line, max line length 120
    - JavaDoc required for public APIs
    - License headers required (Apache 2.0)
    
    ### Testing
    
    - **Structure**: `src/test/java/org/codelibs/fess/crawler/`
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/additional-responses.md

    - [Об'єкт відповіді OpenAPI](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#response-object), ви можете включити будь-що з цього безпосередньо в кожну відповідь у параметрі `responses`. Зокрема `description`, `headers`, `content` (усередині нього ви оголошуєте різні типи медіа та Схеми JSON) і `links`....
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top