aboutsummaryrefslogtreecommitdiffstats
path: root/util/http.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.http: Implement parser for RFC 7239 Forwarded headerKim Alvefur2023-06-031-0/+33
| | | | | | | | Standardized and structured replacement for the X-Forwarded-For, X-Forwarded-Proto set of headers. Notably, this allows per-hop protocol information, unlike X-Forwarded-Proto which is always a single value for some reason.
* util.http: Fix decoding of uppercase URL encoded charsKim Alvefur2019-01-161-0/+1
| | | | Broken in 1af5106a2c34
* util.http: Pre-generate urlencoding mappings (optimization)Kim Alvefur2019-01-061-10/+11
| | | | Function calls are more expensive than table lookups
* mod_http: Move normalize_path to util.httpKim Alvefur2018-10-141-0/+11
|
* util.http: Refactor and import all necessary functionsMatthew Wild2013-04-121-9/+13
|
* net.http, util.http: Move definitions of urlencode/decode and ↵Matthew Wild2013-04-111-0/+45
| | | | formencode/decode to util.http (possible to use them without unnecessary network-related dependencies)
* util.http: New module for HTTP helper functionsFlorian Zeitz2013-01-121-0/+15