Lua-https ( before version 12.x )

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
shaan1974
Prole
Posts: 11
Joined: Sat Jan 14, 2023 8:26 pm

Lua-https ( before version 12.x )

Post 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
User avatar
Bigfoot71
Party member
Posts: 287
Joined: Fri Mar 11, 2022 11:07 am

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

Post 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.
My avatar code for the curious :D V1, V2, V3.
shaan1974
Prole
Posts: 11
Joined: Sat Jan 14, 2023 8:26 pm

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

Post 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 :(
shaan1974
Prole
Posts: 11
Joined: Sat Jan 14, 2023 8:26 pm

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

Post 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")
User avatar
slime
Solid Snayke
Posts: 3162
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

You need to be logged into Github for the artifacts to appear as links instead of just text.
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

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

Post 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
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests