Skip to content

Commit

Permalink
Content-Type: text/javascript - it is better to keep compatibility wi…
Browse files Browse the repository at this point in the history
…th Nginx upload progress module
  • Loading branch information
drogus committed Jun 26, 2008
1 parent e8d8a3e commit a7acd9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod_upload_progress.c
Expand Up @@ -705,7 +705,7 @@ static int reportuploads_handler(request_rec *r)

CACHE_UNLOCK();

ap_set_content_type(r, "application/json");
ap_set_content_type(r, "text/javascript");

apr_table_set(r->headers_out, "Expires", "Mon, 28 Sep 1970 06:00:00 GMT");
apr_table_set(r->headers_out, "Cache-Control", "no-cache");
Expand Down

0 comments on commit a7acd9b

Please sign in to comment.