This is probably the better approach. Python has an HTTP module in the standard library, but to preserve compatibility the API can't evolve, so everyone uses a third-party alternative anyway. Java has three different built-in UI frameworks, all of them terrible, bloating the platform but providing little value. I prefer a small core with excellent interop.