code: public String getAccept() {
          final Object accept = getHeader("Accept");
  
          if (accept != null) {
              return accept.toString();
          }
  
          return null;
      }
docs: Gets the accept header.
  
  @return The accept header value