mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
* 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.