Tom Kuijsten
Tom Kuijsten
Not by default, no. You could implement your own [handler](https://github.com/tomkuijsten/restup/wiki/Custom-route-handler).
Jup. The default handlers uses json or xml (based on the http request headers) as return type, doesn't support binary.
We could ofcourse extend that list with all possible HTTP status, but these are the only viable ones as a response to a GET request. If you want an error...
Might be a good idea to add something as a ErrorResponse (instead of an exception) which can always be returned with a error code > 400. Let's create an issue...
That would be a nice feature. asp.net core does something similar. Interested in creating a PR?
I try to take a look at the PR later tonight, bear with me.
Will get to it tomorrow, got a bit late at home today.
Take a look at the PR #120
Yes, it's not published yet. You could download the package from the [build output](https://ci.appveyor.com/project/tomkuijsten/restup-frwxx/build/artifacts). The name of the package is not correct however, have to fix that, I hope tonight.
I'll take a look at it tonight