Issue with the PHP client library

Andy Jones's Avatar

Andy Jones

22 Aug, 2009 05:38 AM

I'm using CURL instead of the Zend library in the php supplied library in the "quick start"...

Setting the useragent in CURL is causing the server to choke on my request.

CURLOPT_USERAGENT => $SERVER['SERVER_NAME'] . ' - ' . $SERVER['SERVER_SIGNATURE'],

I haven't bothered to check with the server_name concatenated with the server_signature actually is. However, that string is causing the server to choke and return a "request not understood" response. I removed it and the server responds correctly.

  1. Support Staff 1 Posted by Marc Guyer on 23 Aug, 2009 12:23 AM

    Marc Guyer's Avatar

    Thanks for the bug report. I've pushed a new version of the client lib with the fix. Please post if you have any further difficulty with the curl functionality as this is less used than the Zend stuff.

  2. Marc Guyer closed this discussion on 23 Aug, 2009 12:23 AM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM