Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,565 for responseCh (0.06 seconds)

  1. tests/test_repeated_cookie_headers.py

    from fastapi import Depends, FastAPI, Response
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    def set_cookie(*, response: Response):
        response.set_cookie("cookie-name", "cookie-value")
        return {}
    
    
    def set_indirect_cookie(*, dep: str = Depends(set_cookie)):
        return dep
    
    
    @app.get("/directCookie")
    def get_direct_cookie(dep: str = Depends(set_cookie)):
        return {"dep": dep}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jun 13 12:44:51 GMT 2020
    - 792 bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial002_an_py310.py

    
    @app.get("/items/")
    async def read_items(commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 664 bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        throws java.io.IOException, ServletException {
    
                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
                        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                        response.getWriter().println(HttpServletResponse.SC_BAD_REQUEST);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/main/resources/fess_config.properties

    response.max.title.length=50
    # Maximum length of site path in the response.
    response.max.site.path.length=100
    # Whether to enable content title highlighting in the response.
    response.highlight.content_title.enabled=true
    # Inline MIME types for the response.
    response.inline.mimetypes=application/pdf,text/plain
    # HTTP headers for the response.
    response.headers=\
    text/html=X-XSS-Protection: 1; mode=block\n\
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 54.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            list.setTook(response.getTook().getMillis());
            list.setTotalShards(response.getTotalShards());
            list.setSuccessfulShards(response.getSuccessfulShards());
            list.setFailedShards(response.getFailedShards());
            list.setTotalHits(searchHits.getTotalHits());
    
            list.setAggregation(response.getAggregations());
    
            // #pending others
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  6. docs/fr/llm-prompt.md

    * «autocomplete»: «autocomplétion»
    * «autocompletion»: «autocomplétion»
    
    * «the request» (what the client sends to the server): «la requête»
    * «the response» (what the server sends back to the client): «la réponse»
    
    * «the request body»: «le corps de la requête»
    * «the response body»: «le corps de la réponse»
    
    * «path operation»: «opération de chemin»
    * «path operations» (plural): «opérations de chemin»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        )
        serverIpv6.enqueue(
          MockResponse(body = "hello from IPv6"),
        )
    
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("hello from IPv6")
    
        // In the process we made one successful connection attempt.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
      }
    
      /**
       * Receives a response from this thread.
       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                engineObj.activeShards = response.getActiveShards();
                engineObj.activeShardsPercent = response.getActiveShardsPercent();
                engineObj.relocatingShards = response.getRelocatingShards();
                engineObj.initializingShards = response.getInitializingShards();
                engineObj.unassignedShards = response.getUnassignedShards();
                engineObj.delayedUnassignedShards = response.getDelayedUnassignedShards();
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Should not throw any exception
            int bytesRead = response.readBytesWireFormat(validBuffer, 0);
    
            assertTrue(bytesRead > 0);
            assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2
            assertTrue(response.getMaxTransactSize() > 0);
            assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top