- Sort Score
- Result 10 results
- Languages All
Results 1641 - 1650 of 3,181 for get2 (0.04 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
) : ExchangeCodec { private var state = STATE_IDLE private val headersReader = HeadersReader(source) private val Response.isChunked: Boolean get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true) private val Request.isChunked: Boolean get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true) /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
### Try Out the Client Code Now you can import and use the client code, it could look like this, notice that you get autocompletion for the methods: <img src="/img/tutorial/generate-clients/image02.png"> You will also get autocompletion for the payload to send: <img src="/img/tutorial/generate-clients/image03.png"> /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
func (rs *resetState) run(_ io.Writer) error { const ( defaultOutputLevel = "info" defaultStackTraceLevel = "none" ) allScopes, err := rs.client.GetScopes() if err != nil { return fmt.Errorf("could not get all scopes: %v", err) } var defaultScopes []*ScopeInfo for _, scope := range allScopes { defaultScopes = append(defaultScopes, &ScopeInfo{ Name: scope.Name, OutputLevel: defaultOutputLevel,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
for (int idx = 0; idx < synonyms.size(); idx++) { final MyToken synonym = synonyms.get(idx); tokenizePartialBlock(nextStart, synonym.startOffset, afterSynonymProduced); // enqueue prev-synonym processPrevSynonym(synonym.startOffset, idx > 0 ? synonyms.get(idx - 1).endOffset : 0); if (expand) { queue.add(synonym); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 17K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
@Override public int compare ( Address o1, Address o2 ) { Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress()); Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress()); if ( fail1 == null ) { fail1 = 0; } if ( fail2 == null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if err != nil { return err } pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err } ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), podNs, metav1.GetOptions{}) if err != nil { return err } podLabels = pod.GetLabels()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010.py
from typing import Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Union[str, None] = Query( default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 574 bytes - Viewed (0) -
docs_src/dependencies/tutorial006.py
async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 583 bytes - Viewed (0) -
docs_src/handling_errors/tutorial003.py
return JSONResponse( status_code=418, content={"message": f"Oops! {exc.name} did something. There goes a rainbow..."}, ) @app.get("/unicorns/{name}") async def read_unicorn(name: str): if name == "yolo": raise UnicornException(name=name)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 626 bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
@After fun tearDown() { engine.shutdown() cacheDir.deleteRecursively() } @Test fun get() { val executor = Executors.newCachedThreadPool() val completableFuture = execute(engine, executor, "https://google.com/robots.txt") try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code) assertEquals("h3", response.negotiatedProtocol)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0)