<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<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>Preserve HTTP status text in dirclient errors.</title>
<updated>2023-11-29T20:14:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-29T20:09:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e38219a1688f76288c61e42ee56cbd646a1c76c8'/>
<id>urn:sha1:e38219a1688f76288c61e42ee56cbd646a1c76c8</id>
<content type='text'>
The HTTP status text is often useful for diagnosing errors.  Tor
directory and hsdir caches frequently put useful messages there,
especially when rejecting an uploaded document.

Inspired by #1142.
</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>Add cfg_attr allow(unused_imports) to two crates</title>
<updated>2023-10-31T11:36:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T11:32:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=17fd8979d50901f93824e98b1eac007715ba75aa'/>
<id>urn:sha1:17fd8979d50901f93824e98b1eac007715ba75aa</id>
<content type='text'>
As per this comment, and preceding discussion
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1060#note_2959187
</content>
</entry>
<entry>
<title>tor-dirclient, tor-netdoc: Add TODO SPECs.</title>
<updated>2023-10-24T14:42:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-24T12:06:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cdcced5e612709d6c4c4ae9d27211818d4ab285'/>
<id>urn:sha1:8cdcced5e612709d6c4c4ae9d27211818d4ab285</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Always set the Content-Length header (fmt).</title>
<updated>2023-10-24T14:42:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-24T12:09:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdf4a81ca5586d571d65bffbb358515466ebc59c'/>
<id>urn:sha1:fdf4a81ca5586d571d65bffbb358515466ebc59c</id>
<content type='text'>
</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>tor-dirclient: Add a Content-Length header (fmt).</title>
<updated>2023-10-24T14:42:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-23T17:05:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8362bb4c240f06a349c526846e67a3d7fd92c8e5'/>
<id>urn:sha1:8362bb4c240f06a349c526846e67a3d7fd92c8e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Add a 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-18T21:55:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01546feeea44d0dbe30f84271c408c75be9744b6'/>
<id>urn:sha1:01546feeea44d0dbe30f84271c408c75be9744b6</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>
</feed>
