rest-assured/src/main/java/io/restassured/RestAssured.java
public static Response head(String path, Map<String, ?> pathParams) {
        return given().head(path, pathParams);
    }
public static Response head(String path, Map<String, ?> pathParams) {
        return given().head(path, pathParams);
    }
public static Response head ( String path , Map < String , ? > pathParams ) { return given ( ) . head ( path , pathParams ) ; }
Perform a HEAD request to a <code>path</code>. Normally the path doesn't have to be fully-qualified e.g. you don't need to
specify the path as <tt>http://localhost:8080/path</tt>. In this case it's enough to use <tt>/path</tt>.

@param path       The path to send the request to.
@param pathParams The path parameters.
@return The response of the request.
Perform a HEAD request to a <code > path< / code > . Normally the path doesn t have to be fully - qualified e . g . you don t need to specify the path as <tt > http : // localhost : 8080 / path< / tt > . In this case it s enough to use <tt > / path< / tt > .