Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 3,917 for code3 (0.02 seconds)

  1. docs/ja/docs/advanced/response-change-status-code.md

    # レスポンス - ステータスコードの変更 { #response-change-status-code }
    
    すでに、デフォルトの[レスポンスのステータスコード](../tutorial/response-status-code.md)を設定できることをご存知かもしれません。
    
    しかし場合によっては、デフォルトとは異なるステータスコードを返す必要があります。
    
    ## ユースケース { #use-case }
    
    たとえば、デフォルトでは HTTP ステータスコード "OK" `200` を返したいとします。
    
    しかし、データが存在しなければそれを作成し、HTTP ステータスコード "CREATED" `201` を返したい。
    
    それでも、返すデータは `response_model` でフィルタ・変換できるようにしておきたい。
    
    そのような場合は `Response` パラメータを使えます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. docs/ru/docs/how-to/authentication-error-status-code.md

    # Использование старых статус-кодов ошибок аутентификации 403 { #use-old-403-authentication-error-status-codes }
    
    До версии FastAPI `0.122.0`, когда встроенные утилиты безопасности возвращали ошибку клиенту после неудачной аутентификации, они использовали HTTP статус-код `403 Forbidden`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. docs/zh/docs/how-to/authentication-error-status-code.md

    # 使用旧的 403 认证错误状态码 { #use-old-403-authentication-error-status-codes }
    
    在 FastAPI `0.122.0` 版本之前,当内置的安全工具在认证失败后向客户端返回错误时,会使用 HTTP 状态码 `403 Forbidden`。
    
    从 FastAPI `0.122.0` 版本开始,它们改用更合适的 HTTP 状态码 `401 Unauthorized`,并在响应中返回合理的 `WWW-Authenticate` 头,遵循 HTTP 规范,[RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1)、[RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  4. docs/ko/docs/how-to/authentication-error-status-code.md

    # 이전 403 인증 오류 상태 코드 사용하기 { #use-old-403-authentication-error-status-codes }
    
    FastAPI 버전 `0.122.0` 이전에는, 통합 보안 유틸리티가 인증 실패 후 클라이언트에 오류를 반환할 때 HTTP 상태 코드 `403 Forbidden`을 사용했습니다.
    
    FastAPI 버전 `0.122.0`부터는 더 적절한 HTTP 상태 코드 `401 Unauthorized`를 사용하며, HTTP 명세인 [RFC 7235](https://datatracker.ietf.org/doc/html/rfc7235#section-3.1), [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized)를 따라 응답에 합리적인 `WWW-Authenticate` 헤더를 반환합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/WinErrorTest.java

    @ExtendWith(MockitoExtension.class)
    class WinErrorTest {
    
        // Helper to lookup a message by code using the production arrays
        private static Optional<String> lookupMessage(int code) {
            int[] codes = WinError.WINERR_CODES;
            String[] msgs = WinError.WINERR_MESSAGES;
            for (int i = 0; i < codes.length; i++) {
                if (codes[i] == code) {
                    return Optional.of(msgs[i]);
                }
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/DcerpcError.java

     */
    
    package jcifs.dcerpc;
    
    /**
     * DCE/RPC error codes and fault constants
     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
        int DCERPC_FAULT_ACCESS_DENIED = 0x00000005;
        /**
         * Cannot perform operation fault code
         */
        int DCERPC_FAULT_CANT_PERFORM = 0x000006D8;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbException.java

    /**
     * There are hundreds of error codes that may be returned by a CIFS
     * server. Rather than represent each with it's own <code>Exception</code>
     * class, this class represents all of them. For many of the popular
     * error codes, constants and text messages like "The device is not ready"
     * are provided.
     * <p>
     * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/NameServiceClient.java

         */
        Address[] getAllByName(String hostname, boolean possibleNTDomainOrWorkgroup) throws UnknownHostException;
    
        /**
         * Lookup <code>hostname</code> and return it's <code>UniAddress</code>. If the
         * <code>possibleNTDomainOrWorkgroup</code> parameter is <code>true</code> an
         * additional name query will be performed to locate a master browser.
         *
         * @param hostname the hostname to resolve
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcError.java

    package jcifs.smb1.dcerpc;
    
    /**
     * DCE/RPC error codes and fault constants for SMB1 compatibility
     */
    public interface DcerpcError {
    
        /**
         * Generic fault code for other errors
         */
        int DCERPC_FAULT_OTHER = 0x00000001;
        /**
         * Access denied fault code
         */
        int DCERPC_FAULT_ACCESS_DENIED = 0x00000005;
        /**
         * Cannot perform operation fault code
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top