Not sure where the confusion is, the operator you mentioned already does exactly what you want. Where did you get the idea that it needs a file? It’s not even possible to pass a file to an operator because there isn’t a property type that would support that type of thing.
You are right, the first paramater of the function is a string but it’s a file path, I want to give the actual content (of the file) directly.
I can’t use an intermediary, (my data are directly pull from a http request).
This seems like an easy problem to solve unless I’m missing something. You say you can’t create files on the computer you’re on but blender writes tons of temp files as part of it’s normal operation. why can’t you write a temp file to the same temp folder blender uses for swap data and then use the load operator?
The goal is to load a blend from a “secure storage” (like remote server or a local gpg file, …), without having any temporary file on the local computer. The file load will be integrated in a bigger process, so create a renderfarm where user can render other users project without having to actually know the project.
I want to avoid to modify blender because it’s too much trouble with siging&compiling.