Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 846 for CREATED (0.03 sec)

  1. docs/es/docs/advanced/additional-status-codes.md

    Pero también quieres que acepte nuevos elementos. Y cuando los elementos no existían antes, los crea y devuelve un código de estado HTTP de 201 "Created".
    
    Para lograr eso, importa `JSONResponse`, y devuelve tu contenido allí directamente, configurando el `status_code` que deseas:
    
    {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. scripts/topic_repos.py

        subprocess.run(["git", "push", "origin", branch_name], check=True)
        logging.info("Creating PR")
        pr = r.create_pull(title=message, body=message, base="master", head=branch_name)
        logging.info(f"Created PR: {pr.number}")
        logging.info("Finished")
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

     * the License.
     */
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
          JdkBackedImmutableMultiset.create(ImmutableList.of());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/response-status-code.md

    * **`200 - 299`** stehen für „Successful“-Responses („Erfolgreich“). Diese werden Sie am häufigsten verwenden.
        * `200` ist der Default-Statuscode, was bedeutet, alles ist „OK“.
        * Ein weiteres Beispiel wäre `201`, „Created“ („Erzeugt“). Dieser wird üblicherweise verwendet, nachdem ein neuer Datensatz in der Datenbank erstellt wurde.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <K> the key type of {@link ConcurrentHashMap}
         * @param <V> the value type of {@link ConcurrentHashMap}
         * @param m the map to be placed in the created map
         * @return a new instance of {@link ConcurrentHashMap}
         * @see ConcurrentHashMap#ConcurrentHashMap(Map)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            // createIndexIfNothing internally calls getDefaultMappings and getDefaultIndexSettings
            boolean created = suggester.createIndexIfNothing();
    
            assertTrue("Index should be created successfully", created);
    
            // Verify index exists
            final GetAliasesResponse aliasResponse = client.admin().indices().prepareGetAliases(suggester.getIndex()).execute().actionGet();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    //     newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    //     olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    //     metadata:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
            // Assert object_attributes fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes);
            assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
            assertEquals(0, policy.getPtype(), "ptype should be 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/response-change-status-code.md

    # 响应 - 更改状态码
    
    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md){.internal-link target=_blank}。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top