diff options
author | Dan McGee <dan@archlinux.org> | 2012-09-04 15:53:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-09-04 15:53:39 +0200 |
commit | 5df83a38282d8ddbc653859914eb49cad1c30494 (patch) | |
tree | 319b837994eacc7b543712c719c2a26af29bcd6d /retro/static/2006 | |
parent | 79b0ff49bd3319133502243ded4506fc2d56cd9e (diff) | |
download | archweb-5df83a38282d8ddbc653859914eb49cad1c30494.tar.gz archweb-5df83a38282d8ddbc653859914eb49cad1c30494.tar.xz |
Add a 'format_http_headers' method
This takes a HttpRequest object and grabs the HTTP headers out of it and
pretty-prints them in a familiar format. This will come in handy if we
want to log these when creating package FlagRequests, releng Tests, etc.
in addition to already logging the IP address of the user posting the
request.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'retro/static/2006')
0 files changed, 0 insertions, 0 deletions