private Type rawType(Type type) {
    return type instanceof ParameterizedType ? ((ParameterizedType) type).getRawType() : type;
  }
An implementation of {@link ResponseInterceptor} the returns the value of the location header
when appropriate.
core/src/main/java/feign/RedirectionInterceptor.java