How to set the status code from within a formatter?

Topics: Web Api
Jul 4, 2011 at 8:05 PM

Any thoughts as to the best way to set the status code, and maybe the reason phrase, from within a formatter? Throwing a HttpResponseException() does not work.

TIA

-Mike