Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,334 for bcode (0.2 sec)

  1. docs/en/docs/tutorial/response-status-code.md

    # Response Status Code { #response-status-code }
    
    The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001.py hl[6] *}
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/response-status-code.md

    ///
    
    Він буде:
    
    * Повертати вказаний код статусу у відповіді.
    * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсі користувача):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | Нотатка
    
    Деякі коди відповіді (див. наступний розділ) вказують, що відповідь не має тіла.
    
    FastAPI знає про це і створить OpenAPI документацію, яка вказує, що тіла відповіді немає.
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 17:04:17 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-change-status-code.md

    # Response - Change Status Code { #response-change-status-code }
    
    You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}.
    
    But in some cases you need to return a different status code than the default.
    
    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. docs/ru/docs/advanced/response-change-status-code.md

    # Response - Изменение cтатус кода
    
    Вы, вероятно, уже читали о том, что можно установить [Состояние ответа по умолчанию](../tutorial/response-status-code.md){.internal-link target=_blank}.
    
    Но в некоторых случаях вам нужно вернуть код состояния, отличный от установленного по умолчанию.
    
    ## Пример использования
    
    Например, представьте, что вы хотите возвращать HTTP код состояния "OK" `200` по умолчанию.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jun 16 11:11:10 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may
     * also be resolved to yield the name of the associated Windows account
     * such as {@code Administrators} or {@code MYDOM\alice}.
     * <p>
     * Consider the following output of {@code examples/SidLookup.java}:
     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

     * accounts. SIDs are commonly represented using a textual format such as
     * {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may
     * also be resolved to yield the name of the associated Windows account
     * such as {@code Administrators} or {@code MYDOM\alice}.
     * <p>
     * Consider the following output of {@code examples/SidLookup.java}:
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = 0x04; // flags: active
    
            // Second name entry (18 bytes)
            String name2 = "DOMAIN          ";
            System.arraycopy(name2.getBytes("US-ASCII"), 0, src, srcIndex + 19, 16);
            src[srcIndex + 34] = 0x00; // hex code
            src[srcIndex + 35] = (byte) 0x84; // flags: group, active
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/Maps.java

    public class Maps<K, V> {
    
        /** The target <code>Map</code> to be created. */
        protected Map<K, V> map;
    
        /**
         * Returns a {@literal Maps} for constructing a {@link Map} with the specified key and value.
         *
         * @param <KEY> the key type of the <code>Map</code>
         * @param <VALUE> the value type of the <code>Map</code>
         * @param key the key to be added to the <code>Map</code>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrInvalidStorageClass: {
    		Code:           "InvalidStorageClass",
    		Description:    "Invalid storage class.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidRequestBody: {
    		Code:           "InvalidArgument",
    		Description:    "Body shouldn't be set for this request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxUploads: {
    		Code:           "InvalidArgument",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        public void test_formatCode() {
            String code;
            String value;
    
            code = "";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\"></pre>", value);
    
            code = "aaa";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\">aaa</pre>", value);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top