<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/request.rs, branch arti-v1.1.13</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-01-08T18:19:11Z</updated>
<entry>
<title>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only send Content-Length when needed.</title>
<updated>2023-11-27T14:38:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-27T14:38:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=babebf2a9dc471c8de4bde0cc81e7f2c4c0aafff'/>
<id>urn:sha1:babebf2a9dc471c8de4bde0cc81e7f2c4c0aafff</id>
<content type='text'>
According to RFC 9110:

  A user agent SHOULD send Content-Length in a request when the
  method defines a meaning for enclosed content and it is not sending
  Transfer-Encoding. For example, a user agent normally sends
  Content-Length in a POST request even when the value is 0
  (indicating empty content). A user agent SHOULD NOT send a
  Content-Length header field when the request message does not
  contain content and the method semantics do not anticipate such
  data.

Part of #1024
</content>
</entry>
<entry>
<title>tor-dirclient: Always set the Content-Length header.</title>
<updated>2023-10-24T14:42:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-24T12:05:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ae30d9ca63c5b2ec8675374d5a686972a3c4965'/>
<id>urn:sha1:7ae30d9ca63c5b2ec8675374d5a686972a3c4965</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Seal the Requestable trait and hide most of its members.</title>
<updated>2023-10-17T13:39:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-17T13:39:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7fef9b468a2e3f730ee510eff3d29c98606f1a73'/>
<id>urn:sha1:7fef9b468a2e3f730ee510eff3d29c98606f1a73</id>
<content type='text'>
Since none of these methods were invoked from outside
`tor-dirclient` (except for debugging), and since we have had a fair
amount of churn on what we actually want them to be, it seems like a
good idea to use this trick to hide them.  This will let us make
other changes to the actual behavior of Requestable in the future.
</content>
</entry>
<entry>
<title>dirclient: Rename partial_docs_ok to partial_response_body_ok</title>
<updated>2023-10-17T13:17:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-17T13:17:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c850a5d400df240c8e088afa36ca119b2601ca30'/>
<id>urn:sha1:c850a5d400df240c8e088afa36ca119b2601ca30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Make Requestable::anonymized mandatory.</title>
<updated>2023-10-17T13:14:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-17T13:14:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69b5c13985fbe122e785dffb52fff6b38603978d'/>
<id>urn:sha1:69b5c13985fbe122e785dffb52fff6b38603978d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Explain why 1024 is a sufficient maximum response length.</title>
<updated>2023-10-16T18:57:59Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-16T18:57:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3761e2afcc99c2298a4102631a467dada47ad6a'/>
<id>urn:sha1:f3761e2afcc99c2298a4102631a467dada47ad6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: Wrap a somewhat wide comment.</title>
<updated>2023-10-16T18:57:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-16T18:57:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3fb3d2802768a948ff0dd0a32e3570e77d85624'/>
<id>urn:sha1:a3fb3d2802768a948ff0dd0a32e3570e77d85624</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Downgrade another TODO HSS and move it to TODO BREAKING</title>
<updated>2023-10-16T18:53:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-16T18:53:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b3e15e344ca359f6ae846b286297709dc1e0f6b'/>
<id>urn:sha1:0b3e15e344ca359f6ae846b286297709dc1e0f6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Privacy: Do not list supported encodings in hsdesc reqs.</title>
<updated>2023-10-16T18:49:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-16T18:32:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfe641613e6b6f4f55de87621eadacf24d22a939'/>
<id>urn:sha1:cfe641613e6b6f4f55de87621eadacf24d22a939</id>
<content type='text'>
Since not everybody has xz and/or zstd, we don't want to admit
whether we support them when we are uploading or downloading an
onion service descriptor.  Similarly, if we aren't advertising
support for an encoding, we shouldn't accept it.

Finally, while we're doing this, it made sense to have the ability
to mark requests based on how anonymized they are, and reject (some)
attempts to send those requests over a one-hop circuit.

Closes #1062
</content>
</entry>
</feed>
