You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a host header with empty value to a RestRequest, no exception is thrown. However, when executing the request, the response gets status code 0, ResponseStatus "error" and get and attached ErrorException of type ArgumentException. Still no exception is thrown and the request fails "silently".
I think a better approach would be to throw the ArgumentException immediately when the faulty host header value is set.