Re: Any way to only add a header when there's not one there already?

Chris Green <[email protected]> Thu, 16 May 2013 16:49:23 +0100
Newsgroups gmane.network.tin.user
Message-ID <20130516154923.GA21304@chris>
On Thu, May 16, 2013 at 05:33:02PM +0200, Dennis Preiser wrote:
> On Thu, May 16, 2013 at 02:01:20PM +0100, Chris Green wrote:
> > On Thu, Mar 21, 2013 at 03:39:43PM +0000, Chris Green wrote:
> >> ... and I have finally found what the interface from gmane to DBA ne=
eds,
> >> a Content-Type: header.  I have added this to the bottom of my
> >> attributes file:-
> >>=20
> >>     x_headers=3DContent-Type: text/plain; charset=3DUTF-8; format=3D=
flowed
> >>=20
> >> and now it seems to work OK.
> >>=20
> > However, it only works for posts I initiate.
> >=20
> > If I followup a post there will already be a Content-Type: header the=
re
> > and my posting gets rejected because of the duplicate Content-Type:
>=20
> You could put a sign into your signature that is outside ascii.
> For instance a MIDDLE DOT (U+00B7):
>=20
> =B7
>=20
> This ensures that every post gets a Content-Type header. (And don't
> forget to remove the x_headers line from your attributes file.
> Otherwise, there are again two Content-Type: header.)
>=20
Yes, thanks, that should work.  I'll be back if it doesn't!  :-)

--=20
Chris Green