summaryrefslogtreecommitdiffstats
path: root/web/lib/translator.inc
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-05-28 23:14:34 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-05-29 15:57:45 +0200
commit4a24bca069edc2830fc17ab27ba54560435b778b (patch)
treedb2dc27e84707495ec4a8576ea26264d64ca0a95 /web/lib/translator.inc
parent0df6d7b4e7e3735365921ef494ed66738cf53a6b (diff)
downloadaur-4a24bca069edc2830fc17ab27ba54560435b778b.tar.gz
aur-4a24bca069edc2830fc17ab27ba54560435b778b.tar.xz
restructure the html/rpc.php endpoint
- move request_method test to the top, and catch other request types (HEAD, PUT, etc) - change how html output is handled. instead of building a string, just output the html - set appropriate response header for incorrect request_method. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/translator.inc')
0 files changed, 0 insertions, 0 deletions