aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorcbhp <cbhp@users.noreply.github.com>2014-09-03 18:00:05 +0200
committercbhp <cbhp@users.noreply.github.com>2014-09-03 18:00:05 +0200
commitc00450b2c715d5928af4ff3f1b8489cd69128c99 (patch)
tree3cf5d8aa8d31d390aefd8d1da054e269b5d80885 /apps/files/js/files.js
parent969b41c1c95239796c5eb98a8dac71b5ea367043 (diff)
downloadnextcloud-server-c00450b2c715d5928af4ff3f1b8489cd69128c99.tar.gz
nextcloud-server-c00450b2c715d5928af4ff3f1b8489cd69128c99.zip
always use a user-agent constant
Some providers block connections with missing user-agents. Also user-agents are useful for analyzing requests. I've added a USER_AGENT constant that is used in cURL and in file_get_contents.
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions