Skip to content
Snippets Groups Projects
Commit 50223dcf authored by Austin King's avatar Austin King
Browse files

/wsapi/interaction_data should see the User Agent

parent 9ff0c086
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,10 @@ exports.forward = function(dest, req, res, cb) {
preq.setHeader('If-None-Match', req.headers['if-none-match']);
}
if (req.headers['user-agent'] && '/wsapi/interaction_data' === req.path) {
preq.setHeader('User-Agent', req.headers['user-agent']);
}
// if the body has already been parsed, we'll write it
if (req.body) {
var data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment