abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: API Refactoring
Date Thu, 22 Jun 2006 22:59:16 GMT
Yeah, I realized what you'd meant after I stepped out for a bit. :-)

Stephen Duncan wrote:
> Well, not literally, I suppose.  But I mean that there are several
> methods with the same name, one that takes in only the content, and
> the rest that take content & a MIME type.  I prefer the "extra"
> parameter to come after the common one.  That's what I meant.
> 
> -Stephen
> 
> On 6/22/06, James M Snell <jasnell@gmail.com> wrote:
>> For the methods that accept MimeType, it is not optional.  That is, if
>> @type is not "text", "html" or "xhtml", a mime type MUST be specified.
>>
>> - James
>>
>> Stephen Duncan wrote:
>> > Seems like the MimeType should be the second parameter, not the first.
>> > At least, that's my preferred style; optional parameters are tacked
>> > on after, required ones...
>> >
>> > - Stephen
>> >
>>
> 
> 

Mime
View raw message