Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 1,186 for urls (0.03 seconds)

  1. docs/zh/docs/advanced/templates.md

    ```
    
    例如。当 ID 为 `42` 时, 会渲染成:
    
    ```html
    Item ID: 42
    ```
    
    ### 模板 `url_for` 参数 { #template-url-for-arguments }
    
    你还可以在模板内使用 `url_for()`,其参数与*路径操作函数*的参数相同。
    
    所以,该部分:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...将生成一个与处理*路径操作函数* `read_item(id=id)`的 URL 相同的链接
    
    例如。当 ID 为 `42` 时, 会渲染成:
    
    ```html
    <a href="/items/42">
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

            .build()
      }
    
      fun run() {
        showUrl("https://squareup.com/robots.txt")
        showUrl("https://publicobject.com/helloworld.txt")
      }
    
      private fun showUrl(url: String) {
        val request = Builder().url(url).build()
        client
          .newCall(request)
          .execute()
          .use { response ->
            if (!response.isSuccessful) {
              val responseHeaders = response.headers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/openapi-webhooks.md

    這通常稱為 webhook。
    
    ## Webhook 步驟 { #webhooks-steps }
    
    流程通常是:你在程式碼中定義要發送的訊息,也就是請求的主體(request body)。
    
    你也會以某種方式定義應用在哪些時刻會發送那些請求或事件。
    
    而你的使用者則會以某種方式(例如在某個 Web 控制台)設定你的應用應該將這些請求送往的 URL。
    
    關於如何註冊 webhook 的 URL,以及實際發送那些請求的程式碼等所有邏輯,都由你決定。你可以在自己的程式碼中用你想要的方式撰寫。
    
    ## 使用 FastAPI 與 OpenAPI 記錄 webhook { #documenting-webhooks-with-fastapi-and-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/templates.md

    例如,若 ID 為 `42`,會渲染為:
    
    ```html
    Item ID: 42
    ```
    
    ### 模板 `url_for` 參數 { #template-url-for-arguments }
    
    你也可以在模板中使用 `url_for()`,它所接受的參數與你的「*路徑操作函式(path operation function)*」所使用的參數相同。
    
    因此,包含以下內容的區塊:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...會產生指向與「*路徑操作函式*」`read_item(id=id)` 相同 URL 的連結。
    
    例如,若 ID 為 `42`,會渲染為:
    
    ```html
    <a href="/items/42">
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  5. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      private OAuthSessionFactory sessionFactory;
    
      /** Guarded by this. */
      private OAuthSession session;
    
      public SlackClient(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    
      /** Shows a browser URL to authorize this app to act as this user. */
      public void requestOauthSession(String scopes, String team) throws Exception {
        if (sessionFactory == null) {
          sessionFactory = new OAuthSessionFactory(slackApi);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  6. .teamcity/pluginData/Check/plugin-settings.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <settings>
      <webhooks enabled="true">
        <webhook url="https://gradle-bot.grdev.net/teamcity_slacktemplate" enabled="true" template="slack.com">
          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="true" />
            <state type="buildStarted" enabled="true" />
            <state type="changesLoaded" enabled="true" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 18 02:15:16 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  7. CLAUDE.md

    mvn clean install -DskipTests               # Then revert packaging back to war
    
    # Integration tests (*Tests.java) - requires running Fess server
    mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    ```
    
    ### Running
    ```bash
    ./bin/fess              # From command line
    # Or run org.codelibs.fess.FessBoot from IDE
    # Access: http://localhost:8080/ (Admin: admin/admin)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        tokenSize != 0L -> readUtf8(tokenSize)
        else -> null
      }
    }
    
    fun CookieJar.receiveHeaders(
      url: HttpUrl,
      headers: Headers,
    ) {
      if (this === CookieJar.NO_COOKIES) return
    
      val cookies = Cookie.parseAll(url, headers)
      if (cookies.isEmpty()) return
    
      saveFromResponse(url, cookies)
    }
    
    /**
     * Returns true if the response headers and status indicate that this response has a (possibly
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. internal/logger/help.go

    // Help template for logger http and audit
    var (
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         Endpoint,
    			Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

        } ?: throw IllegalArgumentException("No such suite: $javaName")
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
            throw IOException("Failed ${it.code} ${it.message}")
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top