tailscale / tailscale-client-go

A client implementation for the Tailscale HTTP API
MIT License
61 stars 27 forks source link

Client should return etag when retrieving policy file #119

Closed hosom closed 2 weeks ago

hosom commented 3 weeks ago

At the moment, the client does not appear to return the ETag value to be used in a later If-Match. Ideally, this information should be surfaced so that consumers of this library are able to make use of the already existing ability to specify an ETag when writing a new policy file to the API.

oxtoacart commented 2 weeks ago

@hosom The v2 API now returns the current ETag on the ACL and RawACL.