aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Url/CleanupUrlTest.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2015-09-01 21:45:06 +0200
committerVirtualTam <virtualtam@flibidi.net>2015-09-06 19:30:26 +0200
commit451314eb48c7d922264adc6eada8a0273b12344c (patch)
treefddc1a6d7a92728d0dfdcbb676f113a09325b1c2 /tests/Url/CleanupUrlTest.php
parentf5d6b19b73cd026cb1d937aab16d48b43e412c77 (diff)
downloadShaarli-451314eb48c7d922264adc6eada8a0273b12344c.tar.gz
Shaarli-451314eb48c7d922264adc6eada8a0273b12344c.tar.zst
Shaarli-451314eb48c7d922264adc6eada8a0273b12344c.zip
HTTP: move utils to a proper file, add tests
Relates to #333 Modifications: - move HTTP utils to 'application/HttpUtils.php' - simplify logic - replace 'http_parse_headers_shaarli' by built-in 'get_headers()' - remove superfluous '$status' parameter (provided by the HTTP headers) - apply coding conventions - add test coverage (unitary only) Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/Url/CleanupUrlTest.php')
0 files changed, 0 insertions, 0 deletions