PDA

View Full Version : PHP Deki Plug Expectation Failed Error



kal
09-28-2010, 01:10 PM
Hi!

Im trying to use PHP Deki Plug for creating new pages to MindTouch. Everything seems to be working fine, until i try to add content with more than ~1024 characters. I always get the following error:


Expectation Failed

The expectation given in the Expect request-header field could not be met by this server.

The client sent
Expect: 100-continue
but we only allow the 100-continue expectation.

Im using following command:

$result = $Plug->With('authtoken', $authToken)
->At('pages', '='.$target_wiki_page, 'contents')
->With('preservetitle', 'true')
->With('edittime', $edittime)
->With('overwrite', 'true')
->Post($page_contents);

So is there some kind of limitation for page size when using Deki Plug ?? My Mindtouch Core version is 10.0.1

Any help is appreciated !

Thanks,
Kari