aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_http_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.http: Implement parser for RFC 7239 Forwarded headerKim Alvefur2023-06-031-0/+21
| | | | | | | | 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.
* spec: Add test cases for util.http.contains_tokenEmmanuel Gil Peyrot2020-04-101-0/+19
|
* util.http: Fix decoding of uppercase URL encoded charsKim Alvefur2019-01-161-0/+5
| | | | Broken in 1af5106a2c34
* util.http: Add tests for normalize_pathKim Alvefur2018-10-141-0/+23
|
* Port tests to the `busted` test runnerWaqas Hussain2017-09-151-0/+64