GetHeader() public method

Gets the header.
public GetHeader ( ) : string
return string
Beispiel #1
0
 public static string Get404()
 {
     string b = "<h1>Error 404: Page Not Found!</h1>";
     Header h = new Header("HTTP/1.1", "text/html", b.Length, " 404 Not Found");
     return (h.GetHeader() + b);
 }