public int intHeader(final String name, final int defaultValue)
      throws HttpRequestException {
    closeOutputQuietly();
    return getConnection().getHeaderFieldInt(name, defaultValue);
  }
Get an integer header value from the response falling back to the given
default value if the header is missing or if parsing fails

@param name
@param defaultValue
@return header value as an integer, default value when missing or parsing
        fails
@throws HttpRequestException
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java