Given the following:

@HttpServiceClient("example")
public interface ExampleClient {

    @GetExchange("/{id}")
    InputStream picture(@PathVariable int id);

}

I would expect calls to picture to throw an exception if HTTP 404 is returned. This is currently not the case (at least with RestClient backed interfaces.

I suspect this call will need to be updated so that the ExchangeFunction checks the status code.