diff options
-rw-r--r-- | .local/share/libquvi-scripts/common/soup_request.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/share/libquvi-scripts/common/soup_request.lua b/.local/share/libquvi-scripts/common/soup_request.lua index 28d4e74..09cecc1 100644 --- a/.local/share/libquvi-scripts/common/soup_request.lua +++ b/.local/share/libquvi-scripts/common/soup_request.lua @@ -25,6 +25,7 @@ function M.request(url, method, params) if method == "POST" then req:get_message():set_request("application/x-www-form-urlencoded", 0, p, #p) + req:get_message().request_headers:append('Referer', url) end function read(stream) |