git-annex/P2P/Http
Joey Hess a4e9057486
implement put data-present parameter in http servant
Changed the protocol docs because servant parses "true" and "false" for
booleans in query parameters, not "1" and "0".

clientPut with datapresent=True is not used by git-annex, and I don't
anticipate it being used in git-annex, except for testing.

I've tested this by making clientPut be called with datapresent=True and
git-annex copy to a remote succeeds once the object file is first
manually copied to the remote. That would be a good test for the test
suite, but running the http client means exposing it to at least
localhost, and would fail if a real http client was already running on
that port.
2024-10-29 13:32:43 -04:00
..
Client.hs implement put data-present parameter in http servant 2024-10-29 13:32:43 -04:00
Server.hs implement put data-present parameter in http servant 2024-10-29 13:32:43 -04:00
State.hs p2phttp: Allow unauthenticated users to lock content by default 2024-10-21 10:02:12 -04:00
Types.hs update http servant for p2p protocol version 4 2024-10-29 12:13:56 -04:00
Url.hs clean up build warnings when built w/o servant 2024-07-31 14:07:30 -04:00