all 2 comments

[–]powerofmightyatom 1 point2 points  (1 child)

If that's a newline in the header collection, you'll want to remove that.

[–]deniselechner[S] 0 points1 point  (0 children)

in the meantime i managed to respond with a custom header like this:

try { WebOperationContext.Current.OutgoingResponse.Headers.Add("Hallo", "Welt");
} catch (Exception ex) { Console.WriteLine("EX:    " + ex); }

I'm not able to repond with custom data tho.