nginx-hello-world-module icon indicating copy to clipboard operation
nginx-hello-world-module copied to clipboard

excluded terminating null character and fixed content-length

Open kolesar-andras opened this issue 8 years ago • 0 comments

Content ended with terminating null character. This caused problems in web browsers. Firefox asked where to save file which is type of BIN. Chromium added to downloads. Both browsers decided this because content ended with null character, overriding text/plain content type.

Modified source to exclude null character and corresponding content-length header.

kolesar-andras avatar Oct 08 '16 04:10 kolesar-andras