public String[] headers(final String name) {
    final Map<String, List<String>> headers = headers();
    if (headers == null || headers.isEmpty())
      return EMPTY_STRINGS;

    final List<String> values = headers.get(name);
    if (values != null && !values.isEmpty())
      return values.toArray(new String[values.size()]);
    else
      return EMPTY_STRINGS;
  }
Get all values of the given header from the response

@param name
@return non-null but possibly empty array of {@link String} header values
lib/src/main/java/com/github/kevinsawicki/http/HttpRequest.java