Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 1,520 for Requests (0.06 sec)

  1. docs/en/docs/tutorial/header-param-models.md

    ///
    
    ```Python hl_lines="7-12  16"
    {!> ../../docs_src/header_param_models/tutorial001_py310.py!}
    ```
    
    ////
    
    **FastAPI** will **extract** the data for **each field** from the **headers** in the request and give you the Pydantic model you defined.
    
    ## Check the Docs
    
    You can see the required headers in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

            });
            try (InputStream inputStream = form.protwordsFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
            }
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/cors.md

    `CORSMiddleware` отвечает на два типа HTTP-запросов...
    
    ### CORS-запросы с предварительной проверкой
    
    Это любые `OPTIONS` запросы с заголовками `Origin` и `Access-Control-Request-Method`.
    
    В этом случае middleware перехватит входящий запрос и отправит соответствующие CORS-заголовки в ответе, а также ответ `200` или `400` в информационных целях.
    
    ### Простые запросы
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/header-params.md

    # Header-Parameter
    
    So wie `Query`-, `Path`-, und `Cookie`-Parameter können Sie auch <abbr title='Header – Kopfzeilen, Header, Header-Felder: Schlüssel-Wert-Metadaten, die vom Client beim Request, und vom Server bei der Response gesendet werden'>Header</abbr>-Parameter definieren.
    
    ## `Header` importieren
    
    Importieren Sie zuerst `Header`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/header_params/tutorial001_an_py310.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

            this.managedVersionMap = managedVersionMap;
    
            return this;
        }
    
        public String toString() {
            StringBuilder sb = new StringBuilder()
                    .append("REQUEST: ")
                    .append("\n")
                    .append("artifact: ")
                    .append(mad)
                    .append("\n")
                    .append(artifactDependencies)
                    .append("\n")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            if (cause instanceof LoginUnauthorizedException) {
                return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED);
            }
            return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))).httpStatus(HTTP_BAD_REQUEST);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            final StringBuilder buf = new StringBuilder();
            clientFactory.addClient("test:.*", new CrawlerClient() {
                @Override
                public ResponseData execute(final RequestData request) {
                    return null;
                }
    
                @Override
                public void setInitParameterMap(final Map<String, Object> params) {
                    buf.append("value=").append(params.get("hoge"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        /** Sets the socket policy and returns this. */
        fun socketPolicy(socketPolicy: SocketPolicy) =
          apply {
            this.socketPolicy = socketPolicy
          }
    
        /**
         * Throttles the request reader and response writer to sleep for the given period after each
         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        fun throttleBody(
          bytesPerPeriod: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

        private ManagementModelMerger merger = new ManagementModelMerger();
    
        @Override
        public void injectManagement(
                org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            model.update(merger.mergeManagedBuildPlugins(model.getDelegate()));
        }
    
        /**
         * ManagementModelMerger
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top