FELIX-3987 - do not set content-length too late:

- headers should be send as early as possible as there is only a 
  small amount of buffering for the content taking place, which
  could cause it to be already flushed (with the headers known at
  that point) after which we cannot tell the browser how many 
  bytes we've got for it.



git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1540739 13f79535-47bb-0310-9956-ffa450edef68
1 file changed