]> source.dussan.org Git - nextcloud-server.git/commit
Added isUserAgent() method to request
authorVincent Petry <pvince81@owncloud.com>
Thu, 12 Dec 2013 10:32:56 +0000 (11:32 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 19 Dec 2013 17:40:22 +0000 (18:40 +0100)
commit09bd5bd517fee80e8b44b7645b51a8ba482a4d7c
treef61ac99c6d759701a723b1fee9ea09d90941b492
parent82bf1f9c8ccbfed39790d22b2fbea2c5286122dc
Added isUserAgent() method to request

- added isUserAgent() method to OC_Request which makes it possible to
  test it
- OC_Response::setContentDisposition now uses OC_Request::isUserAgent()
lib/private/request.php
lib/private/response.php
tests/lib/request.php