http-range-desk / native /example-utf8.json
WideChaos's picture
Publish HTTP Range Desk 0.1.0
78e7c43 verified
Raw History Blame Contribute Delete
5.18 kB
{
"schema": "http-range-desk-report-v1",
"version": "0.1.0",
"author": "Renchao Wu",
"work_identity": "work:http-range-desk:v1",
"provenance": {
"contract_sha256": "0f5ea519f90c54011ab2def053f0c3bc722a55c1fe505b246a8c437801bb2b8b",
"request_snapshot_sha256": "9f703858a074640a532667046b617ae073a85c8b32eb78a3411e7ba69890afda",
"snapshot_digest_not_raw_JSON_bytes": true
},
"request": {
"method": "GET",
"base_status": 200,
"resource": {
"length": "13",
"etag": "\"resource-v1\"",
"last_modified": "Sun, 06 Nov 1994 08:49:37 GMT",
"date_is_strong": true
},
"range": "bytes=1-2,5-7,-2",
"if_range": null
},
"scope": {
"declared_bounded_profile_not_universal_server": true,
"resource_metadata_is_caller_asserted": true,
"other_preconditions_are_caller_supplied": true,
"date_strength_is_caller_asserted": true,
"representation_is_encoded_octets_not_characters": true,
"no_network_request_made": true,
"no_training": true,
"payload_observed": true,
"multipart_wire_body_not_constructed": true
},
"decision_trace": [
"Range analysis: valid.",
"If-Range: allow."
],
"range_analysis": {
"status": "valid",
"unit": "bytes",
"complete": true,
"raw_token_count": 3,
"empty_member_count": 0,
"nonempty_member_count": 3,
"semantic_satisfiable_members": 3,
"members": [
{
"ordinal": 0,
"raw": "1-2",
"trimmed": "1-2",
"kind": "closed",
"status": "valid",
"first": "1",
"last": "2",
"suffix": null,
"satisfiable": true,
"interval": {
"first": "1",
"last": "2",
"exclusive_end": "3",
"length": "2"
}
},
{
"ordinal": 1,
"raw": "5-7",
"trimmed": "5-7",
"kind": "closed",
"status": "valid",
"first": "5",
"last": "7",
"suffix": null,
"satisfiable": true,
"interval": {
"first": "5",
"last": "7",
"exclusive_end": "8",
"length": "3"
}
},
{
"ordinal": 2,
"raw": "-2",
"trimmed": "-2",
"kind": "suffix",
"status": "valid",
"first": null,
"last": null,
"suffix": "2",
"satisfiable": true,
"interval": {
"first": "11",
"last": "12",
"exclusive_end": "13",
"length": "2"
}
}
]
},
"if_range": {
"kind": "not-present",
"status": "allow",
"matches": true,
"provided": null,
"comparison": null,
"date_strength_is_caller_asserted": true
},
"plan": {
"status": 206,
"reason": "partial-ranges",
"range_response_policy": "optional-range-support-ignore-malformed-and-empty-keep-all-satisfiable-parts",
"kind": "multipart-plan",
"content_range": null,
"planned_content_length": null,
"wire_body_length_unknown": true,
"selected_payload_bytes": "7",
"unique_payload_bytes": "7",
"overlap_payload_bytes": "0",
"selected_intervals": [
{
"part_ordinal": 0,
"member_ordinal": 0,
"first": "1",
"last": "2",
"exclusive_end": "3",
"length": "2",
"content_range": "bytes 1-2/13"
},
{
"part_ordinal": 1,
"member_ordinal": 1,
"first": "5",
"last": "7",
"exclusive_end": "8",
"length": "3",
"content_range": "bytes 5-7/13"
},
{
"part_ordinal": 2,
"member_ordinal": 2,
"first": "11",
"last": "12",
"exclusive_end": "13",
"length": "2",
"content_range": "bytes 11-12/13"
}
],
"diagnostic_union_intervals": [
{
"first": "1",
"last": "2",
"exclusive_end": "3",
"length": "2"
},
{
"first": "5",
"last": "7",
"exclusive_end": "8",
"length": "3"
},
{
"first": "11",
"last": "12",
"exclusive_end": "13",
"length": "2"
}
],
"request_order_and_duplicate_parts_preserved": true
},
"actual_payload": {
"whole_observed_byte_length": "13",
"whole_sha256": "daec746102de508d3a1dc1cc019e8326d07cff91bb406a904893f032beeb0925",
"slices": [
{
"part_ordinal": 0,
"observed_byte_length": "2",
"sha256": "3c1c36c746e9b9106e77cfc2ede3374d38a883e23fbcd3b20023e326008c5434",
"preview_first32_hex": "f09f",
"preview_truncated": false
},
{
"part_ordinal": 1,
"observed_byte_length": "3",
"sha256": "a567bdaa11367f260f0708391f4d10766b5962f565d9e432f17981a3584fe1e2",
"preview_first32_hex": "e4b8ad",
"preview_truncated": false
},
{
"part_ordinal": 2,
"observed_byte_length": "2",
"sha256": "06eb7d6a69ee19e5fbdf749018d3d2abfa04bcbd1365db312eb86dc7169389b8",
"preview_first32_hex": "00ff",
"preview_truncated": false
}
],
"local_only_no_upload": true
}
}