Changeset 93d4d8f for protocols

Timestamp:
2023-02-28T00:09:28Z (14 months ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
709f41f
Parents:
1bdc669
git-author:
Lalufu <Lalufu@…> (28-02-23 00:09:28)
git-committer:
GitHub <noreply@…> (28-02-23 00:09:28)
Message:

Handle HTTP 308 the same as 307 (#173)

This makes the HTTP client code handle status code 308 (Permanent
Redirect) in a similar manner to the already existing support for 307
(Temporary redirect). Like 307, no change of method is applied to the
redirect.

The use case for this has arisen from the bitlbee-mastodon plugin, the
Mastodon API returns 308 for some requests.

Co-authored-by: Ralf Ertzinger <ralf.ertzinger@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.