In the access_log, the 1st attempt returned a 500 response then the next response was a 200 response. I am able to view the PDF file just fine but I have to wait until it's fully downloaded before I can view it. My objective is to return a 206 response rather than a 200 response. I am not sure whether it's a mistake in the headers or the way I am calling sendfile.