Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 317 for url (0.15 sec)

  1. cmd/admin-handlers.go

    		return
    	}
    
    	content, err := downloadReleaseURL(u, updateTimeout, mode)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	sha256Sum, lrTime, releaseInfo, err := parseReleaseData(content)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. dbflute.xml

    	</target>
    
    	<target name="download.dbflute" depends="mydbflute.check" unless="mydbflute.exists">
    		<mkdir dir="${mydbflute.dir}" />
    		<get dest="${target.dir}/mydbflute.zip">
    			<url url="${mydbflute.url}" />
    		</get>
    		<unzip dest="${mydbflute.dir}" src="${target.dir}/mydbflute.zip">
    			<patternset>
    				<include name="lastaflute-example-waterfront-${branch.name}/mydbflute/dbflute-1.x/**" />
    			</patternset>
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Apr 04 02:03:51 GMT 2024
    - 1000 bytes
    - Viewed (0)
  3. internal/rest/client.go

    }
    
    // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance.
    func (c *Client) newRequest(ctx context.Context, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    	if !ok && body != nil {
    		rc = io.NopCloser(body)
    	}
    	req := &http.Request{
    		Method:     http.MethodPost,
    		URL:        &u,
    		Proto:      "HTTP/1.1",
    		ProtoMajor: 1,
    		ProtoMinor: 1,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

          assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1)
        }
      }
    
      @Test
      fun testUrlConnectionDirect() {
        testRequest {
          val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
    
          val connection = url.openConnection() as HttpURLConnection
    
          assertThat(connection.inputStream.source().buffer().readUtf8()).contains("Peter the person")
        }
      }
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. cmd/s3-zip-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, zipPath)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    	return err
    }
    
    // VerifyBinary - sends verify binary message to remote peers.
    func (client *peerRESTClient) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, reader io.Reader) error {
    	values := make(url.Values)
    	values.Set(peerRESTURL, u.String())
    	values.Set(peerRESTSha256Sum, hex.EncodeToString(sha256Sum))
    	values.Set(peerRESTReleaseInfo, releaseInfo)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cache.kt

        ): Boolean {
          return url == request.url &&
            requestMethod == request.method &&
            varyMatches(response, varyHeaders, request)
        }
    
        fun response(snapshot: DiskLruCache.Snapshot): Response {
          val contentType = responseHeaders["Content-Type"]
          val contentLength = responseHeaders["Content-Length"]
          val cacheRequest = Request(url, varyHeaders, requestMethod)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

            if (model == null) {
                return null;
            }
    
            Model.Builder builder = Model.newBuilder(model);
            builder.url(normalize(model.getUrl()));
    
            Scm scm = model.getScm();
            if (scm != null) {
                builder.scm(Scm.newBuilder(scm)
                        .url(normalize(scm.getUrl()))
                        .connection(normalize(scm.getConnection()))
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params.md

    声明的参数不是路径参数时,路径操作函数会把该参数自动解释为**查询**参数。
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    查询字符串是键值对的集合,这些键值对位于 URL 的 `?` 之后,以 `&` 分隔。
    
    例如,以下 URL 中:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ……查询参数为:
    
    * `skip`:值为 `0`
    * `limit`:值为 `10`
    
    这些值都是 URL 的组成部分,因此,它们的类型**本应**是字符串。
    
    但声明 Python 类型(上例中为 `int`)之后,这些值就会转换为声明的类型,并进行类型校验。
    
    所有应用于路径参数的流程也适用于查询参数:
    
    * (显而易见的)编辑器支持
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top