[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28239 [Core Tor/Stem]: stem should permit Content-Type text/plain on all directory responses
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs