Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,682 for Responses (0.04 sec)

  1. docs_src/response_change_status_code/tutorial001_py39.py

    from fastapi import FastAPI, Response, status
    
    app = FastAPI()
    
    tasks = {"foo": "Listen to the Bar Fighters"}
    
    
    @app.put("/get-or-create-task/{task_id}", status_code=200)
    def get_or_create_task(task_id: str, response: Response):
        if task_id not in tasks:
            tasks[task_id] = "This didn't exist before"
            response.status_code = status.HTTP_201_CREATED
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 391 bytes
    - Viewed (0)
  2. 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\
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

                ingestFactory = ComponentUtil.getIngestFactory();
            }
        }
    
        /**
         * Creates an access result after processing the response data through ingesters.
         *
         * @param responseData the response data from the crawled resource
         * @param resultData the result data to be processed
         * @return the access result containing the processed data
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt

              .build(),
          )
        val response = call.execute()
        try {
          println(response.code)
          println("PROTOCOL ${response.protocol}")
          var line: String?
          while (response.body
              .source()
              .readUtf8Line()
              .also { line = it } != null
          ) {
            println(line)
          }
        } finally {
          response.body.close()
        }
        client.connectionPool.evictAll()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial008e.py

        client = TestClient(mod.app)
        return client
    
    
    def test_get_users_me(client: TestClient):
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 574 bytes
    - Viewed (0)
  6. 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);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. tests/test_dependency_paramless.py

        assert response.status_code == 200, response.text
        assert response.json() == {"status": "ok"}
    
    
    def test_parameterless_without_scopes():
        response = client.get(
            "/parameterless-without-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "a or b not in scopes"}
    
    
    def test_call_get_parameterless_without_scopes_for_coverage():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

            
            RdmaNegotiateResponse response = rdmaConnection.negotiate(request);
            
            if (!response.isSuccess()) {
                throw new IOException("RDMA negotiation failed: " + response.getStatus());
            }
            
            // Update connection parameters based on negotiation
            credits.setCreditsGranted(response.getCreditsGranted());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

      )
      fun headers(): Headers = headers
    
      @JvmName("-deprecated_response")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "response"),
        level = DeprecationLevel.ERROR,
      )
      fun response(): MockResponse = response
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java

        Request request = new Request.Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println("Response completed: " + response);
        }
      }
    
      public static void main(String... args) throws Exception {
        new ConfigureTimeouts().run();
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Sep 28 18:00:26 UTC 2019
    - 1.5K bytes
    - Viewed (0)
Back to top