Skip to content

make /user/username/keys endpoint return plaintext by default#386

Merged
lolcatjpg merged 1 commit intomainfrom
plaintext-keys-endpoint
Mar 3, 2026
Merged

make /user/username/keys endpoint return plaintext by default#386
lolcatjpg merged 1 commit intomainfrom
plaintext-keys-endpoint

Conversation

@lolcatjpg
Copy link
Member

making endpoints able to return actual text/plain responses would require a fairly significant refactor, so i just edited the html template to remove the <pre> and </pre> tags.
for end users this is equivalent to receiving plaintext (apart from the Content-Type header still being text/html).

@lolcatjpg lolcatjpg changed the title make /user/username/keys endpoint return plaintext (closes #385) make /user/username/keys endpoint return plaintext Feb 19, 2026
@lolcatjpg lolcatjpg changed the title make /user/username/keys endpoint return plaintext make /user/username/keys endpoint return plaintext by default Feb 19, 2026
@lolcatjpg lolcatjpg requested a review from xerbalind February 20, 2026 10:00
Copy link
Member

@xerbalind xerbalind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@lolcatjpg lolcatjpg merged commit 5811eca into main Mar 3, 2026
4 checks passed
@lolcatjpg lolcatjpg deleted the plaintext-keys-endpoint branch March 3, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants