News for hackers. Stuff that matters.
Re:SingleFile: Save a complete web page into a single HTML file by cookiengineer on Wednesday March 02, 2022 @12:25PM (#30529908)
I know that WebKit relies on either libsoup [1] (on Linux/Unices) or curl [2] (legacy Windows and maybe WPE(?)) as a network adapter, so the header handling and parsing mechanisms would have to be implemented in there.

Though, on MacOS, WebKit tries to migrate most APIs to the Core Foundation Framework, which makes it kind of impossible to implement as a non-Apple-employee because it's basically a dump-it-and-never-care Open Source approach. [3]

Don't know about chromium (my knowledge is ~2012ish about their architecture, and pre-Blink).

[1] https://github.com/WebKit/WebKit/tree/main/Source/WebKit/Net...

[2] https://github.com/WebKit/WebKit/tree/main/Source/WebKit/Net...

[3] https://github.com/opensource-apple/CF

Re:SingleFile: Save a complete web page into a single HTML file by TingPing on Wednesday March 02, 2022 @04:59PM (#30533795)
GTK/WPE use libsoup. Playstation/Windows uses curl. And yes Apples networking is proprietary.
Re:SingleFile: Save a complete web page into a single HTML file by cookiengineer on Thursday March 03, 2022 @12:54AM (#30537664)
I wasn't sure about WPE in regards to libsoup due to the glib dependencies and all the InjectedBundle hacks that I thought they wanted to avoid.

I mean, in principal curl would run on the other platforms, too...but as far as I can tell there's an initiative to move as much as possible to the CF framework (strings, memory allocation, https and tls, sockets etc) and away from the cross-platform implementations.