- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,103 for url (0.01 seconds)
-
docs/ja/docs/tutorial/query-params.md
パスパラメータではない関数パラメータを宣言すると、それらは自動的に "クエリ" パラメータとして解釈されます。 {* ../../docs_src/query_params/tutorial001.py hl[9] *} クエリはURL内で `?` の後に続くキーとバリューの組で、 `&` で区切られています。 例えば、以下の様なURL内で: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ...クエリパラメータは: * `skip`: 値は `0` * `limit`: 値は `10` これらはURLの一部なので、「自然に」文字列になります。 しかしPythonの型を宣言すると (上記の例では `int` として)、その型に変換されバリデーションが行われます。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.4K bytes - Click Count (0) -
cmd/signature-v2_test.go
}, } for i, testCase := range testCases { t.Run(fmt.Sprintf("Case %d AuthStr \"%s\".", i+1, testCase.authString), func(t *testing.T) { req := &http.Request{ Header: make(http.Header), URL: &url.URL{}, } req.Header.Set("Authorization", testCase.authString) _, actualErrCode := validateV2AuthHeader(req) if testCase.expectedError != actualErrCode {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8K bytes - Click Count (0) -
docs/features/interceptors.md
long t1 = System.nanoTime(); logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime(); logger.info(String.format("Received response for %s in %.1fms%n%s", response.request().url(), (t2 - t1) / 1e6d, response.headers())); return response; } } ```
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
val client = OkHttpClient() // Ensure we are compiling against the right variant println(AndroidPlatform.isSupported) val url = "https://github.com/square/okhttp".toHttpUrl() println(url.topPrivateDomain()) client.newCall(Request(url)).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Aug 19 08:10:39 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
return client def test_multi_query_values(client: TestClient): url = "/items/?q=foo&q=bar" response = client.get(url) assert response.status_code == 200, response.text assert response.json() == {"q": ["foo", "bar"]} def test_query_no_values(client: TestClient): url = "/items/" response = client.get(url) assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/sts/casdoor.md
### Configure Casdoor - Go to Applications - Create or use an existing Casdoor application - Edit the application - Copy `Client ID` and `Client secret` - Add your redirect url (callback url) to `Redirect URLs` - Save - Go to Users - Edit the user - Add your MinIO policy (ex: `readwrite`) in `Tag` - SaveCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t11/p0/p1/pom.xml
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 338 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
server.enqueue(MockResponse(body = "b")) val request = Request(server.url("/")) assertConnectionReused(request, request) } @Test fun connectionsAreReusedForPosts() { server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b")) val request = Request( url = server.url("/"), body = "request body".toRequestBody("text/plain".toMediaType()), )
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 12.2K bytes - Click Count (1) -
docs/zh/docs/tutorial/query-params.md
# 查询参数 声明的参数不是路径参数时,路径操作函数会把该参数自动解释为**查询**参数。 {* ../../docs_src/query_params/tutorial001.py hl[9] *} 查询字符串是键值对的集合,这些键值对位于 URL 的 `?` 之后,以 `&` 分隔。 例如,以下 URL 中: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ……查询参数为: * `skip`:值为 `0` * `limit`:值为 `10` 这些值都是 URL 的组成部分,因此,它们的类型**本应**是字符串。 但声明 Python 类型(上例中为 `int`)之后,这些值就会转换为声明的类型,并进行类型校验。 所有应用于路径参数的流程也适用于查询参数: * (显而易见的)编辑器支持Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.3K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/SingleAndroidTest.kt
@Test fun testHttpsRequest() { server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue(MockResponse()) server.start() val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) } while (client.connectionPool.connectionCount() > 0) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 21 12:33:41 GMT 2025 - 2.1K bytes - Click Count (0)