Remix.run Logo
stirfish 5 hours ago

    func specialHandler(w http.ResponseWriter, r *http.Request) {
 if time.Now().Weekday() == time.Tuesday {
  http.NotFound(w, r)
  return
 }

     fmt.Fprintln(w, "server made a decision")
    }
Your server can make decisions however you program it to, you know? It's just software.

Forgive the phone-posting.

cobbzilla 2 hours ago | parent | next [-]

and what server software is running this code in 1995?

lispwitch 31 minutes ago | parent [-]

CL-HTTP or AOLserver

cobbzilla 11 minutes ago | parent [-]

sure looks like VB there, what’s the plugin? Didn’t see anything like that before.

2 hours ago | parent | prev [-]
[deleted]