         @logMessage err
         res.send 500, 'Server error'
         return
-      res.setHeader 'Content-Type', 'text/html; charset=utf-8'
+      res.set 'Content-Type', 'text/html; charset=utf-8'
       res.send 500, html
 
   # 404 Not Found

              @logMessage err
              @respondWithServerError res
              return
            res.setHeader 'Content-Type', 'text/html; charset=utf-8'
            res.send html

    # Redirect /2013/05/27/ to /2013/05/ (after matching against the previous route)

      </entry>
        """
      buf += "\n</feed>\n"
      res.set 'Content-Type', 'text/xml; charset=utf-8'
      res.send buf

    # Homepage
