Merged HttpResponse code + tests