[PATCH] httpapi/tests: Assign to correct type (Coverity)