File size: 5,176 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
  "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
  }
}