diff --git a/htp.go b/htp.go index 05f5039..50855ee 100644 --- a/htp.go +++ b/htp.go @@ -23,9 +23,6 @@ func main() { log.Fatal(err) } date := resp.Header.Get("Date") - if date == "" { - log.Fatal("Date header is missing") - } t2, err := time.Parse(time.RFC1123, date) if err != nil { log.Fatal(err)