- Sort Score
- Result 10 results
- Languages All
Results 1431 - 1440 of 2,090 for largest (0.09 sec)
-
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
.github/workflows/scorecards-analysis.yml
# Declare default permissions as read only. permissions: read-all jobs: analysis: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks name: Scorecards analysis runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. security-events: write # Needed to publish results and get a badge (see publish_results below). id-token: write
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 2.6K bytes - Viewed (0) -
lib/time/update.bash
# This script rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. # # To prepare an update for a new Go release, # consult https://www.iana.org/time-zones for the latest versions, # update CODE and DATA below, and then run # # ./update.bash -commit # # That will prepare the files and create the commit. # # To review such a commit (as the reviewer), use: #
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:25:08 UTC 2024 - 1.8K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
mostRecentSnapshot = releasedVersions.latestReleaseSnapshot.gradleVersion() val testedVersions = previousVersions.filter { it.gradleVersion() >= lowestTestedVersion } // Only use latest patch release of each Gradle version allTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) } .groupBy { "${it.major}.${it.minor}" }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/signature-v4.go
return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1 } // doesPolicySignatureMatch - Verify query headers with post policy // - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html // // returns ErrNone if the signature matches. func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) { // Server region.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.11.md
kubeadm has been updated to drop an unnecessary redirection from ci/latest.txt to ci-cross/latest.txt. Users should know exactly where the builds are stored on Google Cloud storage buckets from now on. For example for 1.9 and 1.10, users can specify ci/latest-1.9 and ci/latest-1.10 as the CI build jobs what build images correctly updates those. The CI jobs for master update the ci-cross/latest location, so if you are looking for latest master builds, then the correct parameter to use would be ci-cross/latest....
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 328.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
/** * Version of {@link IteratorTester} that compares an iterator over a given collection of elements * (used as the reference iterator) against a {@code PeekingIterator} that *wraps* such an * iterator (used as the target iterator). * * <p>This IteratorTester makes copies of the master so that it can later verify that {@link * PeekingIterator#remove()} removes the same elements as the reference's iterator {@code * #remove()}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.1.0.xml
<!-- Fixed date for reproducible build --> <project.build.outputTimestamp>1980-02-01T00:00:00Z</project.build.outputTimestamp> </properties> <build> <directory>${project.basedir}/target</directory> <outputDirectory>${project.build.directory}/classes</outputDirectory> <finalName>${project.artifactId}-${project.version}</finalName>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java
"We expected the release transformation and got " + tms.get(0)); assertTrue( tms.get(1) instanceof LatestArtifactTransformation, "We expected the latest transformation and got " + tms.get(1)); assertTrue( tms.get(2) instanceof SnapshotTransformation, "We expected the snapshot transformation and got " + tms.get(2)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "encoding/json" "fmt" "strings" ) // TargetID - holds identification and name strings of notification target. type TargetID struct { ID string Name string } // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.8K bytes - Viewed (0)