Depending on your needs, I would say. I used java.net when doing simple GET and POST. Suddenly I need support for session cookies, etc., and I switched to HTTPClient.
This is also my general recommendation. Do not introduce dependencies on third-party libraries for simple tasks that can be easily completed without them.
aioobe
source share