daily pastebin goal
32%
SHARE
TWEET

Request Via HandyCache

a guest Nov 15th, 2016 162 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ <HCExtension>
  2. @name           Request Via HandyCache
  3. @author         bdstd
  4. @rule           ^https?://
  5. @event          BeforeRequestHeaderSend
  6. </HCExtension> ]]
  7. function BeforeRequestHeaderSend()
  8.     hc.request_header = string.gsub(hc.request_header, '\r\n\r\n', '\r\nVia: '..hc.ver..'\r\n\r\n')
  9. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top