jcleblanc/reddit-php-sdk — pull request #21 by ampersign (2014-06-30 04:12:22+00:00)
Title: Add support for HTTP User-Agent header

reddit has requested that clients using the API set a unique User-Agent header. This patch adds a $userAgent property and a setter; if the user calls setUserAgent(), the string they supplied will be passed to cURL.