Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,881 for RESPONSE (0.04 seconds)

  1. docs/ja/docs/advanced/additional-status-codes.md

    デフォルトのステータスコード、または *path operation* で設定したステータスコードが使用されます。
    
    ## 追加のステータスコード { #additional-status-codes_1 }
    
    メインのステータスコードとは別に追加のステータスコードを返したい場合は、`JSONResponse` のような `Response` を直接返し、追加のステータスコードを直接設定できます。
    
    たとえば、item を更新でき、成功時に HTTP ステータスコード 200 "OK" を返す *path operation* を作りたいとします。
    
    しかし、新しい item も受け付けたいとします。そして、item が以前存在しなかった場合には作成し、HTTP ステータスコード 201「Created」を返します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

    import org.lastaflute.core.message.MessageManager;
    import org.lastaflute.core.time.TimeManager;
    import org.lastaflute.db.dbflute.accesscontext.AccessContextArranger;
    import org.lastaflute.web.TypicalAction;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.servlet.request.ResponseManager;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. scripts/playwright/sql_databases/image02.py

        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/sql_databases/tutorial002.py"],
    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial008e_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
  5. docs/en/docs/advanced/generate-clients.md

    Let's start with a simple FastAPI application:
    
    {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *}
    
    Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`.
    
    ### API Docs { #api-docs }
    
    If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

            try {
                // get a content
                final ClassicHttpResponse response = executeHttpClient(httpGet);
                httpEntity = response.getEntity();
    
                final int httpStatusCode = response.getCode();
                if (httpStatusCode == 200) {
    
                    // check file size
                    final Header contentLengthHeader = response.getFirstHeader("Content-Length");
                    if (contentLengthHeader != null) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // TODO: Integration point - send request through session.send()
            // Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request);
            // if (response.isSuccess()) {
            //     parseNetworkInterfaces(response.getOutputData());
            // }
    
            log.debug("FSCTL_QUERY_NETWORK_INTERFACE_INFO prepared but needs session integration");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/sso/SsoResponseType.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.sso;
    
    /**
     * Represents the type of SSO (Single Sign-On) response being requested.
     * This enum is used to differentiate between various SSO operations,
     * such as metadata requests and logout actions.
     */
    public enum SsoResponseType {
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true);
        }
    
        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. scripts/playwright/cookie_param_models/image01.py

        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"]
    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top