jcleblanc/reddit-php-sdk — pull request #20 by ampersign (2014-06-30 02:48:59+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.