The request module is deprecated. Although it is still used by our indirect dependencies, we should replace our direct uses of it.
Damn, just came to know about this. Will have to explore alternatives now.
Moving to something like axios or urlib can be a good solution
Yeah, gotta see if those satisfy our requirements (proxy support etc).
I do feel compelled to ask: given that Electron is, you know, a web browser鈥o we actually need a separate third-party library to make web requests? Can we just use electron.net?
electron.net is another fork of request module, I guess
I don鈥檛 see any evidence of that. But that wouldn鈥檛 matter; the Electron developers will maintain electron.net regardless of what happens to any modules it may or may not be a fork of.
Yeah, it seems like switching to electron.net makes a lot of sense.
@andersk makes sense, can I please work on migrating request to electron.net?
@Bearbobs can you first check if we can use it in the renderer process or not?
on it, will revert back @akashnimare.
Thanks,
@akashnimare yes we can use it for the renderer process, it's quite straight forward as the request package
Anyone working on this already?
@Somtozech me
@akashnimare @timabbott
https://chat.zulip.org/#narrow/stream/16-desktop/topic/GSoC-2020/near/833454
Any updates on this @Bearbobs?
Is this issue claimed?