Alistair Leslie-Hughes : httpapi/tests: Assign to correct type (Coverity).