projectkudu/kudu — pull request #266 by suwatch (2012-12-18 20:17:19+00:00)
Title: filter out auth header and add logstream support for detailed errors

Changes contains...

(1) filter out auth header in traces to avoid persisting PII.
(2) for logstream, do stream back detailed errors (htm).

For the latter, I have to add a ReadLine (ported from StreamReader.ReadLine()). The reason is logstream needs to keep track of the offset where it was last read. We used to assume that new line is '\r\n' (works well with existing txt, log files) however not true for htm (only '\n').