Yes, the http client in OTP contains bugs. Nobody seem to care because you can use ibrowse instead, which is a very good http client. It is in jungerl.