It's AUTH_SUCCESS internally in git-annex, but the line based
serialization uses AUTH-SUCCESS.
is successful. Or, it can fail the authentication, and close the
connection.
- AUTH_SUCCESS UUID
+ AUTH-SUCCESS UUID
AUTH_FAILURE
Note that authentication does not guarantee that the client is talking to
> Content-Length: ...
>
> AUTH 79a5a1f4-07e8-11ef-873d-97f93ca91925
- < AUTH_SUCCESS ecf6d4ca-07e8-11ef-8990-9b8c1f696bf6
+ < AUTH-SUCCESS ecf6d4ca-07e8-11ef-8990-9b8c1f696bf6
> POST /git-annex HTTP/1.0
> Content-Type: x-git-annex-p2p
Something like this:
> GET /git-annex/v1/AUTH?clientuuid=79a5a1f4-07e8-11ef-873d-97f93ca91925 HTTP/1.0
- < AUTH_SUCCESS ecf6d4ca-07e8-11ef-8990-9b8c1f696bf6
+ < AUTH-SUCCESS ecf6d4ca-07e8-11ef-8990-9b8c1f696bf6
> GET /git-annex/v1/CHECKPRESENT?key=SHA1--foo&clientuuid=79a5a1f4-07e8-11ef-873d-97f93ca91925&serveruuid=ecf6d4ca-07e8-11ef-8990-9b8c1f696bf6 HTTP/1.0
> SUCCESS