Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for as_url (0.18 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      @Test
      fun commonThenAlternative() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        assert200Http2Response(execute(url), server.hostName)
        val sanUrl = url.newBuilder().host("san.com").build()
        assert200Http2Response(execute(sanUrl), "san.com")
        assertThat(client.connectionPool.connectionCount()).isEqualTo(1)
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. internal/config/subnet/config.go

    	}
    	os.Setenv("CONSOLE_SUBNET_URL", c.BaseURL)
    }
    
    // Update - in-place update with new license and registration information.
    func (c *Config) Update(ncfg Config, isDevEnv bool) {
    	configLock.Lock()
    	defer configLock.Unlock()
    
    	c.License = ncfg.License
    	c.APIKey = ncfg.APIKey
    	c.Proxy = ncfg.Proxy
    	c.transport = ncfg.transport
    	c.BaseURL = baseURL
    
    	if isDevEnv {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

                extra = "allow"
    
    
    class Contact(BaseModelWithConfig):
        name: Optional[str] = None
        url: Optional[AnyUrl] = None
        email: Optional[EmailStr] = None
    
    
    class License(BaseModelWithConfig):
        name: str
        identifier: Optional[str] = None
        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
        summary: Optional[str] = None
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  5. maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/settings-template.xml

              <url>@baseurl@/repo</url>
              <releases>
                <checksumPolicy>ignore</checksumPolicy>
              </releases>
              <snapshots>
                <enabled>false</enabled>
              </snapshots>
            </repository>
          </repositories>
          <pluginRepositories>
            <pluginRepository>
              <id>maven-core-it</id>
              <url>@baseurl@/repo</url>
              <releases>
    XML
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri May 29 20:00:15 GMT 2009
    - 1.7K bytes
    - Viewed (0)
  6. maven-core/src/test/resources-settings/repositories/settings.xml

    under the License.
    -->
    
    <settings>
      <profiles>
        <profile>
          <id>maven-core-it-repo</id>
          <repositories>
            <repository>
              <id>maven-core-it-0</id>
              <url>@baseurl@/repo-0</url>
              <releases>
                <checksumPolicy>ignore</checksumPolicy>
              </releases>
              <snapshots>
                <enabled>false</enabled>
              </snapshots>
            </repository>
    XML
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Apr 21 23:11:40 GMT 2009
    - 1.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataFile(target.toFile());
            try {
                transporter.get(getTask);
                return true;
            } catch (Exception e) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Apr 01 15:17:46 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    		}
    		scopeInfos = append(scopeInfos, si)
    	}
    	return scopeInfos, nil
    }
    
    type ControlzClient struct {
    	baseURL    *url.URL
    	httpClient *http.Client
    }
    
    func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error) {
    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig_test.go

    			}
    		})
    	}
    }
    
    func Test_chooseClientFlag(t *testing.T) {
    	url, _ := url.Parse("http://localhost/scopej/resource")
    
    	ctrzClient := &ControlzClient{
    		baseURL:    url,
    		httpClient: &http.Client{},
    	}
    
    	type args struct {
    		ctrzClient      *ControlzClient
    		reset           bool
    		outputLogLevel  string
    		stackTraceLevel string
    		outputFormat    string
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top