upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorRomain PINSOLLE <romain.pins@gmail.com>2026-11-24 16:10:56 +0100
committerRomain PINSOLLE <romain.pins@gmail.com>2026-11-24 16:10:56 +0100
commit23b70597de2fa197a9f5b23e0c0f6026798cf7c9 (patch)
tree299bd3b4d224af56ae9d5d5cf25cb057a224d519 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parenta28927849adb4e40dfdec8c32fb6758dcd205a37 (diff)
viewer: report body read failures separately from invalid JSON (WORLD-JSON-READ-MISREPORTED)
loadWorld() read the body and parsed it in one try, so a 200 response whose body read failed was reported as "could not be read as valid JSON". The read and the parse now have separate stages, and the message names the stage that failed. Tests cover a failed read, invalid JSON text and a valid body.
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions