By default the http API will automatically follow redirects (the ones shown within the header of HTTP pages).
It would be nice if we could disable this
0
Argument for http api to disable redirect following
Started by EveryOS, Oct 05 2018 02:49 PM
8 replies to this topic
#1
Posted 05 October 2018 - 02:49 PM
#2
Posted 05 October 2018 - 04:38 PM
CC: Tweaked allows you to do this by setting the redirect flag to false:
local handle, err = http.get { url = "https://squiddev.cc/maven", redirect = false }This just uses the same argument format as luasocket.http.
#3
Posted 05 October 2018 - 05:00 PM
That sounds cool. I'll be sure to put CC: Tweaked support in my project. But it would be nice if this was in actual CC.
#4
Posted 05 October 2018 - 05:11 PM
EveryOS, on 05 October 2018 - 05:00 PM, said:
That sounds cool. I'll be sure to put CC: Tweaked support in my project. But it would be nice if this was in actual CC.
#5
Posted 06 October 2018 - 12:48 AM
I think those chances follow a 1/x curve: I mean, yeah, technically they're getting lower as time goes on, but they're already so close to zero that they might as well be there.
#6
Posted 06 October 2018 - 08:34 AM
I'm not usually one for negative comments but frankly at this point the lack of respect Dan is showing for this community is unacceptable... especially SquidDev who has put so much effort into maintaining the code base.
Maybe I've got the wrong idea (I really hope I have ) and there are things happening behind the scenes? That being said it only takes 5 minutes to do a quick post, even if it is to say he doesn't intend to do anything with CC anymore.
Maybe I've got the wrong idea (I really hope I have ) and there are things happening behind the scenes? That being said it only takes 5 minutes to do a quick post, even if it is to say he doesn't intend to do anything with CC anymore.
#7
Posted 06 October 2018 - 09:02 AM
Not that he owes anybody an announcement (or anything else, for that matter), but to me his intentions to wind down his involvement were made clear when he open sourced the mod. This happened about the time he joined a new software development team.
Although I'm sure that even now he'd like to do a bit more with ComputerCraft, it simply becomes harder to go back to a project as you spend more and more time away from it. The changes brought along by MC1.13 certainly won't make it any easier.
Although I'm sure that even now he'd like to do a bit more with ComputerCraft, it simply becomes harder to go back to a project as you spend more and more time away from it. The changes brought along by MC1.13 certainly won't make it any easier.
#8
Posted 06 October 2018 - 03:49 PM
Bomb Bloke, on 06 October 2018 - 09:02 AM, said:
Not that he owes anybody an announcement (or anything else, for that matter), but to me his intentions to wind down his involvement were made clear when he open sourced the mod.
Quote
I also have very little free time lately with the new game at work getting busy, it's a bit of a drag to spend it on CC when I have new things I want to make
[...]
Then after [releasing 1.12] I'd like hang up my CC hat altogether and put the responsibility of producing future updates fully on the community. Whether that means drawing a line on the official repo and pushing people towards well maintained forks, or allowing others to maintain the official repo, I'm open to thoughts on
[...]
Then after [releasing 1.12] I'd like hang up my CC hat altogether and put the responsibility of producing future updates fully on the community. Whether that means drawing a line on the official repo and pushing people towards well maintained forks, or allowing others to maintain the official repo, I'm open to thoughts on
Sorry for entirely derailing the thread, I really didn't mean to but it rather spiralled!
Edited by SquidDev, 06 October 2018 - 03:50 PM.
#9
Posted 08 October 2018 - 11:40 AM
Hey, as long as Dan200 keeps paying for the computercraft.info domain, that's a start!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users