Skip to content

Handle response code 308 permanent redirect#462

Open
amandasystems wants to merge 1 commit into
lunarmodules:masterfrom
amandasystems:master
Open

Handle response code 308 permanent redirect#462
amandasystems wants to merge 1 commit into
lunarmodules:masterfrom
amandasystems:master

Conversation

@amandasystems

Copy link
Copy Markdown

Currently the http module lets through response code 308. It should be treated like a 301 for any reasonable user agent. Its actual only purpose is to emphasise that the request method must not change.

I'm only here because of koreader/koreader#15584, I don't actually know lua but this is a simple enough fix that I could manage it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant