= http: fix deprecation compiler warning