Closed lsolesen closed 12 years ago
Good question. I think you should go on and use k_HttpResponse
for this scenario. In general, it's a bad pick, because it doesn't reveal its type, thus making it possible to wrap, but this is exactly what you want to prevent.
tldr - Perhaps it was a bit premature to deprecate k_HttpResponse
.
If that is the only way to prevent wrapping, the k_HttpResponse should not be deprecated.
Earlier I returned:
And that would break the chain and directly output the content from that controller without wrapping the content in the output from the earlier controllers.
Now k_HttpResponse is deprecated, and I just return:
However, that does not break the chain. What can I use now?