         @logMessage err
         @respondWithServerError res
         return
-      res.setHeader 'Content-Type', 'text/html; charset=utf-8'
+      res.set 'Content-Type', 'text/html; charset=utf-8'
       res.send html
 
   # Show the most recent entry on homepage
   serveMostRecentEntry: (req, res) ->
     file = @recentInfo.recentFiles[0]
     if not file?
-      res.setHeader 'Content-Type', 'text/plain; charset=utf-8'
+      res.set 'Content-Type', 'text/plain; charset=utf-8'
       # Empty content message
       res.send """
       This is the place where your content will appear.

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

    # Recent entries

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

    # Archives for a year (e.g. /2013/)
