← Back to team overview

libravatar-fans team mailing list archive

Re: Issues with the API specification

 

On 2012-08-16 at 21:52:47, Christian Weiske wrote:
> Another one:
> If both "s" and "size" parameters are given, which one should be used?

I'm tempted to leave it up to the implementation to decide whether they want
to pick the first size param or the last one (another case is if you have
more than one "s" parameters for example).

The reason being that this stuff can be quite hard to do in a mod_rewrite
rule and also that it's an invalid case anyways. It would be a mistake for a
developer to use more than one size param.

On 2012-08-16 at 21:57:38, Christian Weiske wrote:
> Please add that libravatar servers optionally may check the redirect
> URL for validity and throw a 400 when it is invalid.

Done.

Cheers,
Francois


References