HttpInterceptorRequest#clone and HttpInterceptorResponse#clone are available because they inherit the native Request and Response classes. However, clone will not work on those objects and should not be exposed in our public API. To clone the request or response, users can use HttpInterceptorRequest#raw#clone and HttpInterceptorResponse#raw#clone.
HttpInterceptorRequest#clone
andHttpInterceptorResponse#clone
are available because they inherit the nativeRequest
andResponse
classes. However,clone
will not work on those objects and should not be exposed in our public API. To clone the request or response, users can useHttpInterceptorRequest#raw#clone
andHttpInterceptorResponse#raw#clone
.