views:

39

answers:

1

What should I know about the trade-offs between these two HTTP libraries?

+1  A: 

Depends on your needs I would say. I used the java.net one while doing simple GETs and POSTs. Suddenly I needed support for session cookies etc, and I switched to the HTTPClient.

That's also my general recommendation. Don't introduces dependencies on third-party libraries for simple tasks that can be easily done without.

aioobe