code: func writeOKHeaders(ctx *router.Context, data logData) {
  	// Tell nginx not to buffer anything.
  	ctx.Writer.Header().Set("X-Accel-Buffering", "no")
  	// Tell the browser to prefer https.
  	ctx.Writer.Header().Set("Strict-Transport-Security", "max-age=31536000; includeSubDomains")
  	// Set the correct content type based off the log stream and format.
  	contentType := data.logStreams[0].ContentType
  	if data.options.isHTML() {
  		// Only text/html is supported for HTML mode.
  		contentType = "text/html"
  	}
  	ctx.Writer.Header().Set("Content-Type", contentType)
  	ctx.Writer.WriteHeader(http.StatusOK)
  	if data.options.isHTML() {
  		writeHTMLHeader(ctx, data)
  	}
  }
docs: // writeOKHeaders writes the http response headers in accordence with the
  // log stream type and user options.  The error is passed through.