- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 1,881 for RESPONSE (0.09 seconds)
-
internal/http/close.go
package http import ( "io" xioutil "github.com/minio/minio/internal/ioutil" ) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 1.7K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
private TransCallNamedPipeResponse response; private byte[] outputBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properlyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
private static final Logger log = LoggerFactory.getLogger(SmbComNtTransactionResponse.class); /** * Constructs an NT transaction response. * @param config the configuration context for this response */ protected SmbComNtTransactionResponse(final Configuration config) { super(config); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
docs_src/custom_response/tutorial009c_py310.py
from typing import Any import orjson from fastapi import FastAPI, Response app = FastAPI() class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option=orjson.OPT_INDENT_2) @app.get("/", response_class=CustomORJSONResponse) async def main():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 451 bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
fun testOkHttpDirect() { testRequest { val client = OkHttpClient() val response = client .newCall( Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()), ).execute() assertThat(response.body.string()).contains("Peter the person") assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testOkHttpProxied() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.2K bytes - Click Count (1) -
docs/ja/docs/tutorial/middleware.md
ミドルウェア関数は以下を受け取ります: * `request`。 * パラメータとして `request` を受け取る関数 `call_next`。 * この関数は、対応する*path operation*に `request` を渡します。 * 次に、対応する*path operation*によって生成された `response` を返します。 * その後、`response` を返す前にさらに `response` を変更することもできます。 {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip | 豆知識Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
*/ void sign(final byte[] data, final int offset, final int length, final ServerMessageBlock request, final ServerMessageBlock response) { request.signSeq = signSequence; if (response != null) { response.signSeq = signSequence + 1; response.verifyFailed = false; } try { update(macSigningKey, 0, macSigningKey.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import jakarta.annotation.Resource; /** * Admin action for Path Map management. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 15.4K bytes - Click Count (0) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
local data="$2" local response=$(curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -H "Content-Type: application/json" \ "https://api.github.com/repos/gradle/gradle$endpoint" \ -d "$data" \ -w "\n%{http_code}" \ 2>/dev/null) local http_code=$(echo "$response" | tail -n1)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jul 29 03:20:20 GMT 2025 - 2.9K bytes - Click Count (0)