This is JDK11`s function.The header name or value is restricted by the implementation.But Why OKHttp can add Host in Header? Use JDK11.
Asked
Active
Viewed 70 times