···166166167167// Configures labeler header (Atproto-Accept-Labelers) with the indicated "redact" level labelers, and regular labelers.
168168func (c *APIClient) SetLabelers(redact, other []syntax.DID) {
169169+ c.Headers.Set("Atproto-Accept-Labelers", encodeLabelerHeader(redact, other))
170170+}
171171+172172+func encodeLabelerHeader(redact, other []syntax.DID) string {
169173 val := ""
170174 for _, did := range redact {
171175 if val != "" {
···179183 }
180184 val = val + did.String()
181185 }
182182- c.Headers.Set("Atproto-Accept-Labelers", val)
186186+ return val
183187}