Page 1 of 1

Lua-https ( before version 12.x )

Posted: Wed Mar 29, 2023 6:10 pm
by shaan1974
Hello all,

I saw that https should be available for love 12.x, right know if you want to use "https" feature you need to build the package "lua-https"
(https://github.com/love2d/lua-https) for Windows or Linux.

I'v try to create the DLL with the instructions, but without any succes. Someone have already succed to build this "https.dll" and use it ?

if yes can you provide it to me ? :)

Cheers
Shaan

Re: Lua-https ( before version 12.x )

Posted: Wed Mar 29, 2023 7:36 pm
by Bigfoot71
I believe it is downloadable here, it's up to you to test: https://github.com/love2d/lua-https/act ... 4437107716
On the GitHub page you go to the "Actions" tab and click on the last one.

Re: Lua-https ( before version 12.x )

Posted: Wed Mar 29, 2023 8:23 pm
by shaan1974
Hello, when on click on the last one "artifacts" i have 4 zip files related to mac os, ubuntu, win 32 & 64, but no links for download :(

Re: Lua-https ( before version 12.x )

Posted: Wed Mar 29, 2023 8:32 pm
by shaan1974
I'v found a work around, as my server is running on apache with https protocol, i take a look to "how to force http" on defined folder.

In fact it's possible to do, you have just to add ".htaccess" with this content.

RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]

With that i'm able to use classic "http" query with : local http = require("socket.http") and local socket = require("socket")

Re: Lua-https ( before version 12.x )

Posted: Wed Mar 29, 2023 8:48 pm
by slime
You need to be logged into Github for the artifacts to appear as links instead of just text.

Re: Lua-https ( before version 12.x )

Posted: Thu Mar 30, 2023 6:59 pm
by Andlac028
slime wrote: Wed Mar 29, 2023 8:48 pm You need to be logged into Github for the artifacts to appear as links instead of just text.
I think, this (instructions, how to download libraries) should be added somewhere to the docs, or readme, as this is not first question of this kind