- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 181 for payload (0.09 seconds)
-
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
.github/workflows/create_issue.js
context has the commit message details in the payload @return {string} Returns the issue number and title */ module.exports = async ({github, context}) => { const rollback_commit = context.payload.head_commit.id; const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || []; if (pr_match_groups.length != 2) { console.log(`PR Number not found in ${context.payload.head_commit.message}`);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Oct 18 23:04:59 GMT 2021 - 2.8K bytes - Click Count (0) -
tests/test_security_http_basic_realm_description.py
assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0) -
.github/workflows/notify-on-rc-for-manual-test.yml
id: slack uses: slackapi/slack-github-action@v3.0.1 with: webhook: ${{ secrets.IDE_EXPERIENCE_TEAM_SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook payload: | text: "<https://github.com/gradle/gradle/${{ github.event.ref }}|[gradle/gradle#${{ github.event.ref }}]> has been pushed" blocks: - type: "section" text:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 22:04:33 GMT 2026 - 912 bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
// Implementation for raw payload } @Override public byte[] getRawPayload() { // Implementation for getting raw payload return null; } @Override public boolean isRetainPayload() { // Implementation for retain payload flag return false; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
fastapi/sse.py
For example, `data="hello"` produces `data: "hello"` on the wire (with quotes). """ data: Annotated[ Any, Doc( """ The event payload. Can be any JSON-serializable value: a Pydantic model, dict, list, string, number, etc. It is **always** serialized to JSON: strings are quoted (`"hello"` becomes `data: "hello"` on the wire).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
cmd/signature-v4-utils_test.go
// Test case with "X-Amz-Content-Sha256" not set so we can skip. {"", "", "", "", true}, // Test case - 3. // Test case with "X-Amz-Content-Sha256" header set to "UNSIGNED-PAYLOAD" // When "X-Amz-Content-Sha256" header is set to "UNSIGNED-PAYLOAD", validation of content sha256 has to be skipped. {"X-Amz-Content-Sha256", unsignedPayload, "X-Amz-Credential", "", true}, // Test case - 4.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 14.3K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
Let's start with a simple FastAPI application: {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *} Notice that the *path operations* define the models they use for request payload and response payload, using the models `Item` and `ResponseMessage`. ### API Docs { #api-docs } If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testVerifyFailedState() { assertFalse(testBlock.isVerifyFailed()); } @Test @DisplayName("Test raw payload handling") void testRawPayloadHandling() { byte[] payload = new byte[] { 1, 2, 3, 4, 5 }; assertNull(testBlock.getRawPayload()); assertFalse(testBlock.isRetainPayload());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0)