Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 873 for haddrs (0.04 sec)

  1. 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()
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. tests/test_dependency_contextmanager.py

            )
    
        tasks.add_task(bg, state)
        return state
    
    
    @app.middleware("http")
    async def middleware(request, call_next):
        response: StreamingResponse = await call_next(request)
        response.headers["x-state"] = json.dumps(state.copy())
        return response
    
    
    client = TestClient(app)
    
    
    def test_async_state():
        assert state["/async"] == "asyncgen not started"
        response = client.get("/async")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.RequestBody.Companion.toRequestBody
    import okio.Buffer
    import okio.BufferedSink
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. fastapi/security/api_key.py

            For this, this method sends a custom challenge `APIKey`.
            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "APIKey"},
            )
    
        def check_api_key(self, api_key: Optional[str]) -> Optional[str]:
            if not api_key:
                if self.auto_error:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  5. tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py

        app,
        base_url="https://example.com",
        follow_redirects=False,
    )
    
    
    def test_redirect() -> None:
        response = client.get("/items")
        assert response.status_code == 307
        assert response.headers["location"] == "https://example.com/items/"
    
    
    def test_no_redirect() -> None:
        response = client.get("/items/")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 544 bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        }
    
        /** Returns all of the cookies from a set of HTTP response headers. */
        @JvmStatic
        fun parseAll(
          url: HttpUrl,
          headers: Headers,
        ): List<Cookie> {
          val cookieStrings = headers.values("Set-Cookie")
          var cookies: MutableList<Cookie>? = null
    
          for (i in 0 until cookieStrings.size) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/using-request-directly.md

    # Usar el Request Directamente { #using-the-request-directly }
    
    Hasta ahora, has estado declarando las partes del request que necesitas con sus tipos.
    
    Tomando datos de:
    
    * El path como parámetros.
    * Headers.
    * Cookies.
    * etc.
    
    Y al hacerlo, **FastAPI** está validando esos datos, convirtiéndolos y generando documentación para tu API automáticamente.
    
    Pero hay situaciones donde podrías necesitar acceder al objeto `Request` directamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                logger.warn("Could not parse a value of {}", META_NAME_ROBOTS_CONTENT, e);
            }
    
        }
    
        /**
         * Processes X-Robots-Tag HTTP headers.
         * Handles noindex, nofollow, and none directives from HTTP headers.
         *
         * @param responseData the response data from crawling
         * @param resultData the result data to store processed information
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Creates a client filtered with additional headers.
         *
         * @param headers the headers to add to requests
         * @return the filtered client
         */
        @Override
        public Client filterWithHeader(final Map<String, String> headers) {
            return client.filterWithHeader(headers);
        }
    
        /**
         * Executes an action asynchronously.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java

     */
    public interface UrlFilterService {
    
        /**
         * Adds a URL to the include filter list for the specified session.
         *
         * @param sessionId the ID of the session for which the URL filter is being added
         * @param url the URL to be included in the filter list
         */
        void addIncludeUrlFilter(String sessionId, String url);
    
        /**
         * Adds a list of URLs to the include filter for a given session.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top