When calling Mint.HTTP.request/5, a request identifier request_ref is returned.
Then when streaming the responses with Mint.HTTP.stream/2, I need to wait for messages and make sure that the request reference inside the message received matches with the request reference that was returned by request/5. More can be read here: https://hexdocs.pm/mint/Mint.HTTP.html#stream/2-responses
I do not actually understand how the messages could include another request reference; I was thinking, maybe it can happen if I execute multiple times in parallel request/5 and stream responses; however I tried spawning multiple processes executing requests, but never I get a message with another request_ref.
How can I reproduce it?
I try something similar:






















