Http response branch

Thanks for your valuable suggestion . I have made necessary changes in HTTP response. 
I have added test case, it will check format of HTTP response. both format of HTTP response are same but still getting error. can you please rectify me where is going wrong.