ContentType The ContentType plug is just a helper to set the Content-Type response header. Example: require 'web_pipe' class MyApp include WebPipe plug :html, WebPipe::Plugs::ContentType.('text/html') end