Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,560 for respond (0.1 sec)

  1. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Model for Output Response Data
    
    If you interact with the docs and check the response, even though the code didn't add anything in one of the `description` fields, the JSON response contains the default value (`null`):
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image02.png">
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.app.web.base.FessSearchAction;
    import org.codelibs.fess.util.DocumentUtil;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.ActionResponse;
    
    import jakarta.annotation.Resource;
    import jakarta.servlet.http.HttpServletResponse;
    
    public class ThumbnailAction extends FessSearchAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. docs/extensions/s3zip/examples/boto3/main.py

        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.login.LoginManager;
    import org.lastaflute.web.response.ActionResponse;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.next.HtmlNext;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    import jakarta.servlet.http.HttpServletRequest;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                final AnalyzeAction.Response readingResponse = client.admin().indices()
                        .prepareAnalyze(analyzerSettings.getAnalyzerSettingsIndexName(), text)
                        .setAnalyzer(analyzerSettings.getReadingAnalyzerName(field, lang)).execute().actionGet(settings.getIndicesTimeout());
    
                final AnalyzeAction.Response termResponse =
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    ```Python hl_lines="9  15-16  19-20  23-24"
    {!> ../../docs_src/extra_models/tutorial002.py!}
    ```
    
    ////
    
    ## `Union` or `anyOf`
    
    You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them.
    
    It will be defined in OpenAPI with `anyOf`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs_src/custom_request_and_route/tutorial001.py

    import gzip
    from typing import Callable, List
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 973 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

    import org.codelibs.fess.dict.protwords.ProtwordsFile;
    import org.codelibs.fess.dict.protwords.ProtwordsItem;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    import org.lastaflute.web.response.StreamResponse;
    
    import jakarta.annotation.Resource;
    
    public class ApiAdminDictProtwordsAction extends FessApiAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        val method: String = pushPromise.method
        val path: String = pushPromise.path
        val headers: Headers = pushPromise.headers
        val response: MockResponse = pushPromise.response
      }
    
      @Test @Ignore
      fun queueDispatcher() {
        val queueDispatcher: QueueDispatcher = QueueDispatcher()
        var mockResponse: MockResponse =
          queueDispatcher.dispatch(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top