-- Copyright (C) by OpenResty Inc. local base = require "resty.core.base" base.allows_subsystem("http") local core_request = require "resty.core.request" local set_req_header = core_request.set_req_header local _M = { version = base.version } function _M.add_header(key, value) set_req_header(key, value, false) end return _M
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ssl | Folder | 0755 |
|
|
balancer.lua | File | 6.01 KB | 0644 |
|
base64.lua | File | 1.68 KB | 0644 |
|
errlog.lua | File | 4.31 KB | 0644 |
|
ocsp.lua | File | 3.65 KB | 0644 |
|
pipe.lua | File | 19.14 KB | 0644 |
|
process.lua | File | 2.95 KB | 0644 |
|
re.lua | File | 7.55 KB | 0644 |
|
req.lua | File | 340 B | 0644 |
|
resp.lua | File | 365 B | 0644 |
|
semaphore.lua | File | 4.98 KB | 0644 |
|
ssl.lua | File | 12.79 KB | 0644 |
|