You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/plugins/opds.koplugin
NiLuJe 03885071b9
OPDS: Don't needlessly setup Basic auth (#7372)
* OPDS: Don't save an empty username.

That causes LuaSockets to try Basic auth, which is useless (and may or may not be problematic for some servers).

* Attempt to explicitly request non-compressed content.

Some servers may still refuse to obey, though.
They're breaking RFC2616 (a.k.a. HTTP/1.1) by doing so, though, meh.

* Let LuaSocket do its job.

It already handles setting up the Host header, as well as Basic authentication if both username & password are set.
4 years ago
..
_meta.lua move opds to plugin (#7237) 4 years ago
main.lua move opds to plugin (#7237) 4 years ago
opdsbrowser.lua OPDS: Don't needlessly setup Basic auth (#7372) 4 years ago
opdscatalog.lua move opds to plugin (#7237) 4 years ago
opdsparser.lua move opds to plugin (#7237) 4 years ago