Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,838 for RESPONSE (0.1 seconds)

  1. docs_src/response_cookies/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.post("/cookie-and-object/")
    def create_cookie(response: Response):
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 272 bytes
    - Click Count (0)
  2. 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
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

            .url(server.url("/"))
            .header("Connection", "upgrade")
            .build()
        client.newCall(requestWithUpgrade).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.socket).isNull()
          assertThat(response.body.string()).isEqualTo("normal request")
        }
        // Confirm there's no RequestBodyStart/RequestBodyEnd on failed upgrades.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.validation.VaErrorHook;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Echo response message.
     *
     * This response confirms that the server is still active
     * and the connection is working properly.
     *
     * @author mbechler
     */
    public class Smb2EchoResponse extends ServerMessageBlock2Response {
    
        /**
         * Constructs an SMB2 echo response
         * @param config the client configuration
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body_updates/test_tutorial001.py

        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

              e: IOException,
            ) {
              continuation.resumeWithException(e)
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              continuation.resume(response) { _, value, _ ->
                value.closeQuietly()
              }
            }
          },
        )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 04:20:30 GMT 2025
    - 1.4K bytes
    - Click Count (1)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for ((name, value) in response.headers) {
            println("$name: $value")
          }
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      SynchronousGet().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

        }
    
        /**
         * Returns HTML response for the edit page.
         *
         * @return HTML response for the edit page
         */
        private HtmlResponse asEditHtml() {
            return asHtml(path_AdminFileconfig_AdminFileconfigEditJsp).renderWith(data -> {
                registerRolesAndLabels(data);
            });
        }
    
        /**
         * Returns HTML response for the details page.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial006b.py

    client = TestClient(app)
    
    
    def test_redirect_response_class():
        response = client.get("/fastapi", follow_redirects=False)
        assert response.status_code == 307
        assert response.headers["location"] == "https://fastapi.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 904 bytes
    - Click Count (0)
Back to Top