private String makeHeader(boolean ok){
  String header="";
  if (ok) {
    header+="HTTP/1.0 200 OK\n";
  }
 else {
    header+="HTTP/1.0 403 Forbidden\n";
  }
  header+="Server: ChattyWebserver\n";
  header+="Content-Type: text/html; charset=UTF-8\n\n";
  return header;
}

private String makeHeader ( boolean ok ) { String header = "" ; if ( ok ) { header += "HTTP/1.0 200 OK\n" ; } else { header += "HTTP/1.0 403 Forbidden\n" ; } header += "Server: ChattyWebserver\n" ; header += "Content-Type: text/html; charset=UTF-8\n\n" ; return header ; }
make the http response header .
