Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #28239

Closed
Open
Created Oct 30, 2018 by teor@teor

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking