On Sat, 13 Oct 2018, Michael Albinus wrote:
> > I like this approach better, but I'd suggest that we do something like:
> >
> > attachments => [{attachment_id => 1,
> >                  content_type => 'text/plain',
> >                  content_name => 'if defined',
> >                  # or whatever the right mime headers are; I forget
> >                  },]
> >
> >
> > and then another SOAP interface which does something like:
> >
> > get_bug_attachment($bug_num,$msg_num,$attachment_id)
> 
> OK, I'll go along these lines.

Perfect, thanks!

> > Another option could be for the SOAP call just to return the entire
> > message without doing any MIME parsing; maybe that would be better?
> 
> Hmm, isn't this possible already via
> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712979;mbox=yes>?

True; though I think I'd like to avoid having the URLs be an API.

> And it has the disadvantage that the whole MIME parsing is left to the
> different SOAP clients.

Right; I think this is the main argument against this option (returning
whole message).


-- 
Don Armstrong                      https://www.donarmstrong.com

I finally developed
a computer with feelings.
It just doesn't have
feelings for me.
 -- a softer world #633
    http://www.asofterworld.com/index.php?id=633

Reply via email to