The identifiers.org resolver recognizes the swh-id without contextual params, see:
https://identifiers.org/swh:1:rev:81c66c0db5c381dacc0841a4c16e0b3876b15b89
Resolves into bad request:
http://identifiers.org/swh:1:dir:5902a2a5ffa9f00d9e31ae516db6160cccb5ef44;origin=https://github.com/moranegg/LesGraphes