- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 87 for 201 (0.02 sec)
-
docs/ja/docs/advanced/additional-status-codes.md
## 追加のステータスコード メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。 例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。 しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。 これを達成するには、 `JSONResponse` をインポートし、 `status_code` を設定して直接内容を返します。 ```Python hl_lines="4 25" {!../../docs_src/additional_status_codes/tutorial001.py!} ``` /// warning | "注意"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
derWriter.write("test", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 30L) { derWriter.writeUtf8("a".repeat(201)) } assertThat(buffer.readByteString(3)).isEqualTo("1e81c9".decodeHex()) assertThat(buffer.readUtf8()).isEqualTo("a".repeat(201)) } @Test fun `decode primitive bit string`() { val buffer = Buffer() .write("0307040A3B5F291CD0".decodeHex())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
* **`200`** and above are for "Successful" responses. These are the ones you would use the most. * `200` is the default status code, which means everything was "OK". * Another example would be `201`, "Created". It is commonly used after creating a new record in the database. * A special case is `204`, "No Content". This response is used when there is no content to return to the client, and so the response must not have a body.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
tests/test_application.py
assert "redoc@next" in response.text def test_enum_status_code_response(): response = client.get("/enum-status-code") assert response.status_code == 201, response.text assert response.json() == "foo bar" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 52.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
count++; } assertTrue(String.valueOf(count), count < 200); } @Test public void test_ReadMultiThread() throws Exception { int threadNum = new Random().nextInt(20) + 1; System.out.println("Thread num:" + threadNum); String indexName = "test-index"; Client client = runner.client(); SuggestSettings settings = suggester.settings();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
cmd/apierrorcode_string.go
_ = x[ErrAdminConfigDuplicateKeys-197] _ = x[ErrAdminConfigInvalidIDPType-198] _ = x[ErrAdminConfigLDAPNonDefaultConfigName-199] _ = x[ErrAdminConfigLDAPValidation-200] _ = x[ErrAdminConfigIDPCfgNameAlreadyExists-201] _ = x[ErrAdminConfigIDPCfgNameDoesNotExist-202] _ = x[ErrInsecureClientRequest-203] _ = x[ErrObjectTampered-204] _ = x[ErrAdminLDAPNotEnabled-205] _ = x[ErrSiteReplicationInvalidRequest-206]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
UnsignedInts.sort(input, from, to); assertThat(input).isEqualTo(expected); } public void testSortIndexed() { testSort(new int[] {}, 0, 0, new int[] {}); testSort(new int[] {2}, 0, 1, new int[] {2}); testSort(new int[] {2, 1, 0}, 0, 2, new int[] {1, 2, 0}); testSort(new int[] {2, GREATEST, 1, LEAST}, 1, 4, new int[] {2, LEAST, 1, GREATEST}); } public void testSortDescending() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
UnsignedBytes.sort(input, from, to); assertThat(input).isEqualTo(expected); } public void testSortIndexed() { testSort(new byte[] {}, 0, 0, new byte[] {}); testSort(new byte[] {2}, 0, 1, new byte[] {2}); testSort(new byte[] {2, 1, 0}, 0, 2, new byte[] {1, 2, 0}); testSort(new byte[] {2, GREATEST, 1, LEAST}, 1, 4, new byte[] {2, LEAST, 1, GREATEST}); } public void testSortDescending() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0)