- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,026 for urls (0.03 sec)
-
docs_src/behind_a_proxy/tutorial003.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", ) @app.get("/app") def read_main(request: Request):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 10 17:28:18 UTC 2020 - 405 bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0) -
android/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); URL url = Resources.getResource(tempFile.getName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE)) val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection assertThat(connection.getResponseCode()).isEqualTo(HttpURLConnection.HTTP_OK) val refusedConnection = url.openConnection() as HttpURLConnection assertFailsWith<ConnectException> { refusedConnection.getResponseCode()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* on an SMB server addressed by the URL parameter. See {@link * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of * the smb URL syntax. * * @param url An smb URL string representing the file to write to */ public SmbFileOutputStream( String url ) throws SmbException, MalformedURLException, UnknownHostException { this( url, false ); } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 9.2K bytes - Viewed (0) -
common/scripts/tracing.sh
if [[ -n "${PULL_NUMBER:=}" ]] then # Presubmit url="https://prow.istio.io/view/gs/istio-prow/pr-logs/pull/${REPO_OWNER}_${REPO_NAME}/${PULL_NUMBER}/${JOB_NAME}/${BUILD_ID}," else # Postsubmit or periodic url="https://prow.istio.io/view/gs/istio-prow/pr-logs/${JOB_NAME}/${BUILD_ID}," fi # Use printf instead of echo to avoid spaces between args
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 28 15:25:47 UTC 2023 - 4.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
} @Test fun interruptWritingRequestBody() { server.enqueue(MockResponse()) server.start() val call = client.newCall( Request.Builder() .url(server.url("/")) .post( object : RequestBody() { override fun contentType() = null override fun writeTo(sink: BufferedSink) { for (i in 0..9) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
public void test_match_default() { final RegexRule regexRule = new RegexRule(); regexRule.defaultRule = true; regexRule.allRequired = true; regexRule.addRule("url", Pattern.compile("http:.*")); regexRule.addRule("mimeType", Pattern.compile("text/html")); assertTrue(regexRule.match(getTestData1())); assertTrue(regexRule.match(getTestData2()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-expected.xml
<artifactId>child</artifactId> <version>12-SNAPSHOT</version> <!-- name is not inherited, but description is --> <description>Model inheritance description</description> <url>http://www.apache.org/child/</url><!-- child's artifactId appended to parent url --> <mailingLists> <mailingList> <name>parent</name> <subscribe>******@****.***</subscribe>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial004.py
"description": None, "price": 50.2, "tax": 10.5, "tags": [], }, ), ], ) def test_get(url, data): response = client.get(url) assert response.status_code == 200, response.text assert response.json() == data def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5K bytes - Viewed (0)