In general I would extend this: "you should never rely on other
programmers assuming they did things correctly because we are lazy
On Thu, Jun 19, 2014 at 5:48 PM, Petr Bena <benapetr(a)gmail.com> wrote:
At some point it makes sense. You shouldn't rely
on servers :P I am
placing token as last per this suggestion.
On Thu, Jun 19, 2014 at 5:42 PM, Happy Melon <happy.melon.wiki(a)gmail.com> wrote:
> Blame Reedy . Or ask him for clarification...
> On 19 June 2014 14:27, Bartosz Dziewoński <matma.rex(a)gmail.com> wrote:
>> On Thu, 19 Jun 2014 15:16:22 +0200, MZMcBride <z(a)mzmcbride.com> wrote:
>> Petr Bena wrote:
>>>> Can this parameter be anywhere in the url? for example
>>>> api.php?action=query&assert=user&prop=blabla or does it need to
>>>> a specific position, like token?
>>> It can be anywhere after "api.php", but not anywhere in the URL.
>>> I don't believe any token requires a specific position in a URL.
>> Yeah… The API documentation mentions this, but I think it's wrong or at
>> least misleading.
>> "When passing this to the Edit API, always pass the token parameter last
>> (or at least after the text parameter). That way, if the edit gets
>> interrupted, the token won't be passed and the edit will fail."
>> I'm reasonably sure that the HTTP and HTTPS protocols are smart enough to
>> recognize "cut off" requests, and that any servers whatsoever are
>> enough to implement this behavior.
>> Matma Rex
>> Wikitech-l mailing list
> Wikitech-l mailing list