File size: 4,397 Bytes
78e7c43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
  "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": "987c47ce7bdead90db19a47aee9134364ec1aec9db0ec43ca0aa6207d8a33dec",
    "snapshot_digest_not_raw_JSON_bytes": true
  },
  "request": {
    "method": "GET",
    "base_status": 200,
    "resource": {
      "length": "256",
      "etag": "\"resource-v1\"",
      "last_modified": "Sun, 06 Nov 1994 08:49:37 GMT",
      "date_is_strong": true
    },
    "range": "bytes=0-31,-32",
    "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": 2,
    "empty_member_count": 0,
    "nonempty_member_count": 2,
    "semantic_satisfiable_members": 2,
    "members": [
      {
        "ordinal": 0,
        "raw": "0-31",
        "trimmed": "0-31",
        "kind": "closed",
        "status": "valid",
        "first": "0",
        "last": "31",
        "suffix": null,
        "satisfiable": true,
        "interval": {
          "first": "0",
          "last": "31",
          "exclusive_end": "32",
          "length": "32"
        }
      },
      {
        "ordinal": 1,
        "raw": "-32",
        "trimmed": "-32",
        "kind": "suffix",
        "status": "valid",
        "first": null,
        "last": null,
        "suffix": "32",
        "satisfiable": true,
        "interval": {
          "first": "224",
          "last": "255",
          "exclusive_end": "256",
          "length": "32"
        }
      }
    ]
  },
  "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": "64",
    "unique_payload_bytes": "64",
    "overlap_payload_bytes": "0",
    "selected_intervals": [
      {
        "part_ordinal": 0,
        "member_ordinal": 0,
        "first": "0",
        "last": "31",
        "exclusive_end": "32",
        "length": "32",
        "content_range": "bytes 0-31/256"
      },
      {
        "part_ordinal": 1,
        "member_ordinal": 1,
        "first": "224",
        "last": "255",
        "exclusive_end": "256",
        "length": "32",
        "content_range": "bytes 224-255/256"
      }
    ],
    "diagnostic_union_intervals": [
      {
        "first": "0",
        "last": "31",
        "exclusive_end": "32",
        "length": "32"
      },
      {
        "first": "224",
        "last": "255",
        "exclusive_end": "256",
        "length": "32"
      }
    ],
    "request_order_and_duplicate_parts_preserved": true
  },
  "actual_payload": {
    "whole_observed_byte_length": "256",
    "whole_sha256": "40aff2e9d2d8922e47afd4648e6967497158785fbd1da870e7110266bf944880",
    "slices": [
      {
        "part_ordinal": 0,
        "observed_byte_length": "32",
        "sha256": "630dcd2966c4336691125448bbb25b4ff412a49c732db2c8abc1b8581bd710dd",
        "preview_first32_hex": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
        "preview_truncated": false
      },
      {
        "part_ordinal": 1,
        "observed_byte_length": "32",
        "sha256": "9432c1a7d343fcfacb164bdc44ff71c1281c004886b1c428419088d06cd3561a",
        "preview_first32_hex": "e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff",
        "preview_truncated": false
      }
    ],
    "local_only_no_upload": true
  }
}