Closed raif-s-naffah closed 1 month ago
looking closer at the specs, especially the last point in Requirements for Attachment Statement Batches:
Where parameters have a corresponding property within the attachment Object (and both the parameter and property are specified for a given Attachment, the value of these parameters and properties shall match.
i can see that the Part in question does not have a Content-Length
header and so the actual size computed by the LRS should not affect the matching process. accordingly, this is not a bug.
closing...
hi there,
the actual request i'm referring to is the 7th in the series emitted when running version 2.0.0 tests. specifically it's (partly) the following...
my implementation is failing this request b/c while the SHA2 hash of the contents does match the declared value,
Part #1 actual size (31540) doesn't match declared (15770) value
—part #0 being the JSON statement.pls. note that the full request is 32_398 bytes which seems to supports the 400 Bad Request result.
is this a bug in the test? if not what am i imissing?
thanks in anticipation + cheers; rsn