[tor-bugs] #28239 [Core Tor/Stem]: stem should permit Content-Type text/plain on all directory responses

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 31 18:07:51 UTC 2018


#28239: stem should permit Content-Type text/plain on all directory responses
---------------------------+----------------------------
 Reporter:  teor           |          Owner:  atagar
     Type:  defect         |         Status:  closed
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:  worksforme
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+----------------------------
Changes (by atagar):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hi teor, Stem cares about the "Content-encoding" header (that informs us
 of the compression type used)...

 https://gitweb.torproject.org/stem.git/tree/stem/descriptor/remote.py#n874

 ... but "Content-type" is unused. The unit test you cite is independent of
 tor, mocking the response we get and simply ensuring we faithfully provide
 any response headers to the caller. Unused headers (like Content-type) can
 change at will.

 I don't see anything that needs to change on Stem's side here. Feel free
 to reopen if I'm missing something or some action needs to be taken.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28239#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list