edx/edx-ora2 — pull request #577 by wedaly (2014-08-04 19:31:55+00:00)
Title: Add referer code to HTTP headers for perf test

I made this change a while ago on a branch to get past some issues when load testing on dev, but hadn't merged it to master yet.

This adds a `Referer` HTTP header to avoid authorization errors from nginx. The referer is set to the hostname of the LMS under test (passed as a command-line arg to locust).

@stephensanchez Please review.