summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/core/utils/httputil.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/core/utils/httputil.rb b/lib/rbot/core/utils/httputil.rb
index 476a71c1..318c5483 100644
--- a/lib/rbot/core/utils/httputil.rb
+++ b/lib/rbot/core/utils/httputil.rb
@@ -438,6 +438,7 @@ class HttpUtil
get_proxy(uri, opts).start do |http|
http.request(req) do |resp|
+ resp['x-rbot-location'] = uri.to_s
if Net::HTTPNotModified === resp
debug "not modified"
begin