Thanks for your quick response. I forgot to say though that I'm not
actually connecting against Wikipedia servers, but my own server.
I found the problem as well: I'm using the Tooltip extension, and it
turns out that adding too many tooltips is what made the server stop
responding, not the article size per se. Probably the parsing of the
tooltips are somewhat resource intensize. Posting without any tooltip
code works fine with far greater article sizes.
Regards
// Samuel
Sam Korn skrev:
On Fri, Apr 17, 2009 at 3:57 PM, Samuel Lampa
<samuel.lampa.l(a)rilnet.com> wrote:
I'm having some troubles can't post
article content via API that is
bigger than ~5420 bytes. 5420 bytes works, but 5454 bytes fails.
And the problem is that I don't get any result or error message back.
Anyone had similar problems?
Is there some general size limit for posting through the API, that I'm
exceeding? (Strange though that I don't get an error message)
This might be due to the Squid changes detailed at
https://secure.wikimedia.org/wikipedia/en/wiki/Wikipedia:Bot_owners%27_notiā¦
You are probably receiving a 417 HTTP header in return.
Try adding "Expect:" to your array of HTTP headers, so the following
needs to go in cURLHandle():
$this->headers[] = 'Expect:';
Sam