Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,639 for Curl (0.81 sec)

  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`)之后,这些值就会转换为声明的类型,并进行类型校验。
    
    所有应用于路径参数的流程也适用于查询参数:
    
    * (显而易见的)编辑器支持
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization": []string{"Bearer 12313123"},
    				},
    			},
    			authT: authTypeJWT,
    		},
    		// Test case - 3
    		// Empty authorization header.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
            URL smbUrl = new URL("smb://server/share/dir/");
            lenient().when(locator.getURL()).thenReturn(smbUrl);
        }
    
        // Helper: reflectively set private/protected field on an object
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/resources/inheritance-repo/t11/p0/p1/pom.xml

      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven</groupId>
      <artifactId>p1</artifactId>
      <packaging>jar</packaging>
      <name>p1</name>
      <version>1.0</version>
      <scm>
        <url>scm-url</url>
      </scm>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 338 bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="5-7"
    {
        "openapi": "3.0.2",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // Mais coisas aqui
        "servers": [
            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. 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) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 21 12:33:41 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
        InputStream in = url.openStream();
        try {
          OutputStream out = new FileOutputStream(file);
          try {
            byte[] buf = new byte[4096];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. .ci/jobs.t/defaults.yml

              mask-password-params: true
        properties:
          - github:
              url: https://github.com/elastic/elasticsearch/
          - inject:
              properties-content: |
                JOB_BRANCH=%BRANCH%
                HOME=$JENKINS_HOME
                GRADLEW=./gradlew --parallel --scan --build-cache -Dorg.elasticsearch.build.cache.url=https://gradle-enterprise.elastic.co/cache/
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Sep 29 15:38:05 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      static URL[] parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top