- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 848 for responder (0.05 seconds)
-
fastapi/.agents/skills/fastapi/references/dependencies.md
``` Use the scope `"function"` when they should run the exit code after the response data is generated but before the response is sent back to the client. ```python from typing import Annotated from fastapi import Depends, FastAPI app = FastAPI() def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
import org.codelibs.fess.helper.SearchHelper; import org.codelibs.fess.opensearch.client.SearchEngineClient; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import jakarta.annotation.Resource; /** * API action for admin search list management. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/bigger-applications.md
### Adicione algumas `tags`, `responses` e `dependencies` personalizadas { #add-some-custom-tags-responses-and-dependencies } Não estamos adicionando o prefixo `/items` nem `tags=["items"]` a cada *operação de rota* porque os adicionamos ao `APIRouter`. Mas ainda podemos adicionar _mais_ `tags` que serão aplicadas a uma *operação de rota* específica, e também algumas `responses` extras específicas para essa *operação de rota*:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 20.3K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
val request = Request .Builder() .url(server.url("/")) .header("Accept", "text/plain") .build() val response = client.newCall(request).execute() assertThat(response.code).isEqualTo(200) assertThat(response.body.string()).isEqualTo("hello, OkHttp") val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Request.java
/** * Gets the next request in the chain. * * @return chained request */ Request getNext(); /** * Gets the response for this request. * * @return the response for this request */ Response getResponse();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.USER_AGENT import okhttp3.internal.toHostHeader import okio.GzipSource import okio.buffer /** * Bridges from application code to network code. First it builds a network request from a user * request. Then it proceeds to call the network. Finally it builds a user response from the network * response. */ class BridgeInterceptor : Interceptor {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
import jcifs.internal.SmbBasicFileInfo; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX Response message. * * This response contains information about the created or opened file, * including file handle, attributes, and creation disposition. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
// Decode will throw exception as ptype 0 is not a valid response type assertThrows(NdrException.class, () -> m.decode(buf)); } @Test void testRoundTripEncodeDecodeForResponseType() throws Exception { // Create a properly formatted response message NdrBuffer buf = new NdrBuffer(new byte[1024], 0); // Manually encode a response header buf.enc_ndr_small(5); // RPC versionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
/** * Creates a Type-2 message in response to the given Type-1 message * using default values from the current environment. * * @param type1 The Type-1 message which this represents a response to. */ public Type2Message(final Type1Message type1) { this(type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Assert assertEquals(24, resp.length, "LMv2 response length must be 24"); assertArrayEquals(clientChallenge, Arrays.copyOfRange(resp, 16, 24), "Client challenge must be copied to last 8 bytes"); assertFalse(Arrays.equals(new byte[24], resp), "Response must not be all zeros"); } @Test @DisplayName("getLMv2Response(byte[]): empty client data allowed")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1)