forked from kevadesu/forgejo
Add List-Unsubscribe header (#17804)
Fixes #13283 Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
7be82f4af8
commit
cb05d3a23a
2 changed files with 2 additions and 1 deletions
|
@ -218,6 +218,7 @@ func TestGenerateAdditionalHeaders(t *testing.T) {
|
|||
expected := map[string]string{
|
||||
"List-ID": "user2/repo1 <repo1.user2.localhost>",
|
||||
"List-Archive": "<https://try.gitea.io/user2/repo1>",
|
||||
"List-Unsubscribe": "https://try.gitea.io/user2/repo1/issues/1",
|
||||
"X-Gitea-Reason": "dummy-reason",
|
||||
"X-Gitea-Sender": "< U<se>r Tw<o > ><",
|
||||
"X-Gitea-Recipient": "Test",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue