stem should permit Content-Type text/plain on all directory responses
In #28100 (moved), we make all directory responses have "Content-Type: text/plain".
Since older tor versions will still use Content-Type: application/octet-stream
for compressed content, stem should allow both options. (There is no mention of Content-Type in torspec, so we don't need spec changes.)
The relevant lines are: https://github.com/torproject/stem/blob/master/test/unit/descriptor/remote.py#L76 https://github.com/torproject/stem/blob/master/test/unit/descriptor/remote.py#L284
I am not sure if these checks are actually done on tor. If they are, we'll need to merge the stem patch before the tor patch, because #27913 (moved) just merged test-stem into CI.