List for cgit developers and users
 help / color / mirror / Atom feed
From: hjemli at gmail.com (Lars Hjemli)
Subject: 'plain' mode content-type?
Date: Sun, 10 Apr 2011 11:56:59 +0200	[thread overview]
Message-ID: <BANLkTim57rdrzF8KpPibDmpxzjVHBwim5g@mail.gmail.com> (raw)
In-Reply-To: <4DA102BA.3040705@azabani.com>

On Sun, Apr 10, 2011 at 03:07, Delan Azabani <delan at azabani.com> wrote:
> Is there a way I can configure content-types that /plain/ sends,
> so, for example, HTML files are sent as text/html?

Yes, the mimetype option is used to configure this. See
http://hjemli.net/git/cgit/tree/cgitrc.5.txt#n512 for usage examples.

--
larsh




      reply	other threads:[~2011-04-10  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10  1:07 delan
2011-04-10  9:56 ` hjemli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTim57rdrzF8KpPibDmpxzjVHBwim5g@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).