fix export field bug and use StreamingHttpResponse instead of HttpResponse