Is this a bug in Web API? I tried setting the response's reason phrase....both from the API Controller, as well as from a message handler. In noth cases, I don't see it in either the Fiddler or Chrome console. Is this a bug or is there something else I need
to do to make this work?
Thanks,
Priya
Please "Mark as Answer" if this resolves your query. Thanks!
priya_marwah...
Member
81 Points
52 Posts
WebAPI doesn't allow setting reason phrase?
Mar 21, 2012 07:18 AM|LINK
Is this a bug in Web API? I tried setting the response's reason phrase....both from the API Controller, as well as from a message handler. In noth cases, I don't see it in either the Fiddler or Chrome console. Is this a bug or is there something else I need to do to make this work?
Thanks,
Priya
priya_marwah...
Member
81 Points
52 Posts
Re: WebAPI doesn't allow setting reason phrase?
Mar 21, 2012 07:33 AM|LINK
Looks like its a Cassini issue....switching to IIS did the trick.
awebb
Member
204 Points
91 Posts
Re: WebAPI doesn't allow setting reason phrase?
Mar 21, 2012 08:53 AM|LINK
Cassini is dead to me now. Long live IIS Express.
Jay_Harlow
Member
86 Points
26 Posts
Re: WebAPI doesn't allow setting reason phrase?
Mar 21, 2012 12:42 PM|LINK
Unfortunately in VS2010 SP1 you still need Cassini if you want to use the performance analysis tools, they don't work with IIS Express.
Otherwise I agree IIS Express should be the norm on developer's desktops!
Jay