fixed sending error twice when another middleware already sent the headers
Merge pull request #1264 from jarnoux/master

better output handler response header check
update history file
Merge pull request #1265 from lzhan/history

update history file, add entry for pr #1264