Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
1 changed file
with
39 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters