HomePhabricator

Add ability to set requesting User-Agent

Authored by Mvolz.

Description

Add ability to set requesting User-Agent

Modify localsettings.js.sample to contain a
userAgent string.

Pass this string to the Scraper.js object
and use this string as the User-Agent in
all outbound requests.

Simplify Object parameters in
ZoteroService.js, CitoidService.js, and
Scraper.js.

Bug: T89757
Change-Id: I7dfa933181118527783da12cdb5b277329aef7dd

Details

Committed
MvolzMar 3 2015, 3:01 PM
Parents
rGCIT3306e4907f9e: Fix callback in CitoidService.prototype.scrape
Branches
Unknown
Tags
Unknown
References
refs/changes/34/193134/10
ChangeId
I7dfa933181118527783da12cdb5b277329aef7dd