-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add unit tests to cover XML formatters and methods returning objects #1072
Comments
Just FYI...ran into this just now...in my case i was using json formatter..a write from this formatter is giving a chunked response in case of weblistener where as in IIS it does not... |
The comment is not related to this issue. Also I believe it is fine. A user can add a buffering middleware, we are not going to add more unnecessary buffering in mvc. Open an issue against the weblistener host yo be consistent with Helios if you want the behaviors to be identical. -----Original Message----- Just FYI...ran into this just now...in my case i was using json formatter..a write from this formatter is giving a chunked response in case of weblistener where as in IIS it does not... |
Sure, filed in WebListener repo now: aspnet/HttpSysServer#61 |
@kichalla you can also use a result filter to buffer |
…Result and for XmlFormatters with DeclaredType as object.
Checked in - 96318dc |
For the following method
The json formatter will work fine, but the XML formatter barfs because it doesn't get the right declared type. I'm putting out a PR to fix it, but this indicates that host of tests are missing for this case and if we return an ObjectResult directly
The text was updated successfully, but these errors were encountered: