‘((System.Net.Http.HttpBaseStream)stream).Length’ threw an exception of type ‘System.NotSupportedException’ I’m getting this error from a behavior I don’t understand: