- Sort Score
- Num 10 results
- Language All
Results 1351 - 1360 of 1,838 for RESPONSE (0.05 seconds)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
return result.build() } private fun PushPromise.wrap(): mockwebserver3.PushPromise = mockwebserver3.PushPromise( method = method, path = path, headers = headers, response = response.wrap(), ) internal fun mockwebserver3.RecordedRequest.unwrap(): RecordedRequest = RecordedRequest( requestLine = requestLine, headers = headers, chunkSizes = chunkSizes ?: listOf(),
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 4.1K bytes - Click Count (1) -
docs/ko/docs/advanced/additional-status-codes.md
기본적으로 **FastAPI**는 응답을 `JSONResponse`를 사용하여 반환하며, *경로 작업(path operation)*에서 반환한 내용을 해당 `JSONResponse` 안에 넣어 반환합니다. 기본 상태 코드 또는 *경로 작업*에서 설정한 상태 코드를 사용합니다. ## 추가 상태 코드 기본 상태 코드와 별도로 추가 상태 코드를 반환하려면 `JSONResponse`와 같이 `Response`를 직접 반환하고 추가 상태 코드를 직접 설정할 수 있습니다. 예를 들어 항목을 업데이트할 수 있는 *경로 작업*이 있고 성공 시 200 “OK”의 HTTP 상태 코드를 반환한다고 가정해 보겠습니다. 하지만 새로운 항목을 허용하기를 원할 것입니다. 항목이 이전에 존재하지 않았다면 이를 생성하고 HTTP 상태 코드 201 "Created"를 반환합니다.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 09 12:22:47 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
// Packet Types (ptype) /** * Request packet type */ int RPC_PT_REQUEST = 0x00; /** * Ping packet type */ int RPC_PT_PING = 0x01; /** * Response packet type */ int RPC_PT_RESPONSE = 0x02; /** * Fault packet type - indicates an error */ int RPC_PT_FAULT = 0x03; /** * Bind packet type - establishes context */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* The body of a [MockResponse]. * * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not * called by readers. */ public interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ public val contentLength: Long @Throws(IOException::class) public fun writeTo(sink: BufferedSink)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
final CommonServerMessageBlock response) { if (log.isTraceEnabled()) { log.trace("Signing with seq " + this.signSequence); } ((ServerMessageBlock) request).setSignSeq(this.signSequence); if (response != null) { ((ServerMessageBlock) response).setSignSeq(this.signSequence + 1); } try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
private static final int SMB2_HEADER_LENGTH = 64; /** * Build a minimal SMB2 header for a response. */ private static byte[] buildSmb2Header() { byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length); // Mark as server->client response for realism SMBUtil.writeInt4(0x00000001, header, 16); // Flags // Command SMB2_CREATE (0x0005)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} /** * Helper method to mock the response of an HttpURLConnection. */ private void mockResponse(int code, String message, Map<String, List<String>> headers, InputStream errorStream) throws IOException { mockResponse(this.mockConnection, code, message, headers, errorStream); } /** * Helper method to mock the response of a specific HttpURLConnection instance. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/en/docs/advanced/openapi-callbacks.md
In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc. ## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/SsoResponseType.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.sso; /** * Represents the type of SSO (Single Sign-On) response being requested. * This enum is used to differentiate between various SSO operations, * such as metadata requests and logout actions. */ public enum SsoResponseType { /**
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial008e_py39.py
from fastapi import Depends, FastAPI app = FastAPI() def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: str = Depends(get_username, scope="function")):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 289 bytes - Click Count (0)