Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mdirolf/nginx-gridfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dirolf committed Feb 17, 2010
2 parents af2401e + 1b89e9d commit ad17986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx_http_gridfs_module.c
Expand Up @@ -213,6 +213,7 @@ static ngx_int_t ngx_http_gridfs_handler(ngx_http_request_t* request) {

request->headers_out.status = NGX_HTTP_OK;
request->headers_out.content_length_n = gridfile.length;
ngx_http_set_content_type(request);
ngx_http_send_header(request);

buffer = ngx_pcalloc(request->pool, sizeof(ngx_buf_t));
Expand Down

0 comments on commit ad17986

Please sign in to comment.