Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,428 for Curl (0.08 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Nov 14 17:38:22 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/path-params.md

    # Parâmetros da rota da URL
    
    Você pode declarar os "parâmetros" ou "variáveis" com a mesma sintaxe utilizada pelo formato de strings do Python:
    
    ```Python hl_lines="6-7"
    {!../../docs_src/path_params/tutorial001.py!}
    ```
    
    O valor do parâmetro que foi passado à `item_id` será passado para a sua função como o argumento `item_id`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/main/webapp/js/advance.js

        setTimeout(function() {
          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      if (typeof $.fn.suggestor === "function") {
        $("#as_q").suggestor({
          ajaxinfo: {
            url: contextPath + "/api/v1/suggest-words",
            fn: ["_default", "content", "title"],
            num: 10,
            lang: $("#langSearchOption").val()
          },
          boxCssInfo: {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. internal/event/target/mqtt.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"time"
    
    	mqtt "github.com/eclipse/paho.mqtt.golang"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-nested-models.md

        "tax": 3.2,
        "tags": [
            "rock",
            "metal",
            "bar"
        ],
        "images": [
            {
                "url": "http://example.com/baz.jpg",
                "name": "The Foo live"
            },
            {
                "url": "http://example.com/dave.jpg",
                "name": "The Baz"
            }
        ]
    }
    ```
    
    /// info | "Информация"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-nested-models.md

        "tax": 3.2,
        "tags": [
            "rock",
            "metal",
            "bar"
        ],
        "images": [
            {
                "url": "http://example.com/baz.jpg",
                "name": "The Foo live"
            },
            {
                "url": "http://example.com/dave.jpg",
                "name": "The Baz"
            }
        ]
    }
    ```
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/net.go

    		return "", "", errors.New("unable to process empty address")
    	}
    
    	// Simplify the work of url.Parse() and always send a url with
    	if !strings.HasPrefix(hostAddr, "http://") && !strings.HasPrefix(hostAddr, "https://") {
    		hostAddr = "//" + hostAddr
    	}
    
    	// Parse address to extract host and scheme field
    	u, err := url.Parse(hostAddr)
    	if err != nil {
    		return "", "", err
    	}
    
    	addr = u.Host
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/open-search/osdd.xml

      <Description>Full Text Search for Your Documents.</Description>
      <Tags>Full Text Search</Tags>
      <Contact>******@****.***</Contact>
      <SearchForm>http://localhost:8080/fess/</SearchForm>
      <Url type="text/html" template="http://localhost:8080/fess/search?q={searchTerms}"/>
      <InputEncoding>UTF-8</InputEncoding>
      <OutputEncoding>UTF-8</OutputEncoding>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 02:26:02 UTC 2015
    - 535 bytes
    - Viewed (0)
  10. cmd/event-notification.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/url"
    	"runtime"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/event"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/pubsub"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top