diff options
author | elij <elij.mx@gmail.com> | 2011-05-28 23:14:34 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-05-29 15:57:45 +0200 |
commit | 4a24bca069edc2830fc17ab27ba54560435b778b (patch) | |
tree | db2dc27e84707495ec4a8576ea26264d64ca0a95 /web/lib/translator.inc | |
parent | 0df6d7b4e7e3735365921ef494ed66738cf53a6b (diff) | |
download | aur-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