Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
http.get_url makes plain text request for HTTPS urls #212
I can think of four fixes:-
Doing option 3 seems appropriate, but it doesn't help script writers using other http.lua functions such as get or head. Option 1 seems like the right thing to do, except that it arguably violates the principle of least surprise. Options 2 and 4 are probably not the appropriate places to solve this problem.