Creating HttpRequest and HttpResponse.