- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,428 for Curl (0.03 sec)
-
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py
client = TestClient(app) def test_multi_query_values(): url = "/items/?q=foo&q=bar" response = client.get(url) assert response.status_code == 200, response.text assert response.json() == {"q": ["foo", "bar"]} def test_query_no_values(): url = "/items/" response = client.get(url) assert response.status_code == 200, response.text assert response.json() == {"q": None}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.9K bytes - Viewed (0) -
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>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Sep 21 05:37:26 UTC 2024 - 1000 bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java
NullPointerException e = assertThrows( NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url"); assertEquals("url cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { URL txtFile = new File("target/test-classes/source.txt").toURI().toURL(); UrlSource source = new UrlSource(txtFile);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/multixds/google.go
// limitations under the License. package multixds import ( "fmt" "net/url" "strings" ) func isMCPAddr(u *url.URL) bool { return strings.HasSuffix(u.Host, ".googleapis.com") || strings.HasSuffix(u.Host, ".googleapis.com:443") } func parseMCPAddr(u *url.URL) (*xdsAddr, error) { ret := &xdsAddr{host: u.Host} if !strings.HasSuffix(ret.host, ":443") { ret.host += ":443" }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
*/ public abstract class NtlmAuthenticator { private static NtlmAuthenticator auth; private String url; private SmbAuthException sae; private void reset() { url = null; sae = null; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
} protected String getRepositoryContent(String url) { if (url.endsWith("/")) { url = url + "index.html"; } if (url.contains("plugin/repo1")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 12:38:38 UTC 2024 - 5.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py
@needs_py39 def test_default_query_values(client: TestClient): url = "/items/" response = client.get(url) assert response.status_code == 200, response.text assert response.json() == {"q": ["foo", "bar"]} @needs_py39 def test_multi_query_values(client: TestClient): url = "/items/?q=baz&q=foobar" response = client.get(url) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
.connectTimeout(60, TimeUnit.SECONDS) // Deliberately exacerbate slow fallbacks. .dns { dnsResults } .fastFallback(true) .build() url = serverIpv4.url("/") .newBuilder() .host("localhost") .build() } @AfterEach internal fun tearDown() { serverIpv4.shutdown() serverIpv6.shutdown() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} private String canonicalFileUrl(String url) throws IOException { if (!url.startsWith("file:")) { url = "file://" + url; } else if (url.startsWith("file:") && !url.startsWith("file://")) { url = "file://" + url.substring("file:".length()); } // So now we have an url of the form file://<path>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Address.kt
*/ @get:JvmName("proxySelector") val proxySelector: ProxySelector, ) { /** * Returns a URL with the hostname and port of the origin server. The path, query, and fragment of * this URL are always empty, since they are not significant for planning a route. */ @get:JvmName("url") val url: HttpUrl = HttpUrl.Builder() .scheme(if (sslSocketFactory != null) "https" else "http") .host(uriHost)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0)