1

Closed

HttpHeaders.ToString() uses "\r\n" for newlines

description

This may be the wrong place for this issue since System.Net.Http is part of the framework. Please let me know if there's a better place to submit this defect.

The ToString() method on HttpHeaders appends "\r\n" between headers instead of using Environment.Newline. On Linux (using mono) this produces double newlines.
Closed Jun 4 at 6:08 AM by kamehrot

comments

HenrikN wrote Jul 25, 2012 at 8:08 PM

The HTTP spec calls for use of \r\n for separating lines so this is by design.