Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 1,471 for requer (0.06 seconds)

  1. docs/ko/docs/advanced/custom-response.md

    예를 들어, [`orjson`](https://github.com/ijl/orjson)을 일부 설정과 함께 사용하고 싶다고 가정해봅시다.
    
    들여쓰기 및 포맷된 JSON을 반환하고 싶다면, orjson 옵션 `orjson.OPT_INDENT_2`를 사용할 수 있습니다.
    
    `CustomORJSONResponse`를 생성할 수 있습니다. 여기서 핵심은 `Response.render(content)` 메서드를 생성하여 내용을 `bytes`로 반환하는 것입니다:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    이제 다음 대신:
    
    ```json
    {"message": "Hello World"}
    ```
    
    ...이 응답은 이렇게 반환됩니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. fastapi/params.py

                **extra,
            )
    
    
    @dataclass(frozen=True)
    class Depends:
        dependency: Callable[..., Any] | None = None
        use_cache: bool = True
        scope: Literal["function", "request"] | None = None
    
    
    @dataclass(frozen=True)
    class Security(Depends):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            this.contextHandle = contextHandle != null ? contextHandle.clone() : new byte[20];
            this.notifications = new ArrayList<>();
        }
    
        /**
         * Sets the context handle for the async notify request.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Gets the client IP address from the request.
         * Checks X-Forwarded-For header before using remote address.
         *
         * @param request the HTTP servlet request
         * @return the client IP address
         */
        public String getClientIp(final HttpServletRequest request) {
            final String value = request.getHeader("x-forwarded-for");
            if (StringUtil.isNotBlank(value)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  5. cmd/peer-rest-server.go

    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  6. CONTRIBUTING.md

    
    4. Submit a pull request
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    if (pos >= 0) {
                        fileName = fileName.substring(pos + 1);
                    }
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsDesignFileNameIsInvalid("designFile"), this::asListHtml);
                }
            }
            if (StringUtil.isBlank(fileName)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/custom-response.md

    Vamos supor que você queira retornar um JSON indentado e formatado, então você quer utilizar a opção `orjson.OPT_INDENT_2` do orjson.
    
    Você poderia criar uma `CustomORJSONResponse`. A principal coisa que você tem que fazer é criar um método `Response.render(content)` que retorne o conteúdo como `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    ### Feature
    
    - #### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
      
      <!--
      This section can be blank if this pull request does not require a release note.
      
      When adding links which point to resources within git repositories, like
      KEPs or supporting documentation, please reference a specific commit and avoid
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jul 17 07:48:22 GMT 2024
    - 466.3K bytes
    - Click Count (2)
  10. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[22] *}
    
    and those default values won't be included in the response, only the values actually set.
    
    So, if you send a request to that *path operation* for the item with ID `foo`, the response (not including default values) will be:
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    /// info
    
    You can also use:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
Back to Top