Created HttpResponse Object and then converted it to bytes