aboutsummaryrefslogtreecommitdiffstats
path: root/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/372f8a5c-a1ce-4b07-a7b1-f409033a7eec
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-01 16:11:48 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-01 16:11:48 -0500
commitecc2dd71287b46db316d8ef050a0bdb22bfc0fa5 (patch)
tree6ce92f20a73ef8c721aab94877ff1ad28340a30a /.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/372f8a5c-a1ce-4b07-a7b1-f409033a7eec
parent4112da95162240eae73b00f53078451f5b38d610 (diff)
downloadbugseverywhere-ecc2dd71287b46db316d8ef050a0bdb22bfc0fa5.tar.gz
Improved POST and error handling in `be serve`
POST handling: Drop the cgi.FieldStorage() in favor of the old urlparse.parse_qs(). We need a dictionary, which FieldStorage is not. However, I added .read_post_data() since my old self.rfile.read() was hanging. The read_post_data() implementation comes from the FieldStorage.__init__(). Error handling: wrap .handle_*() blocks in try/except to handle Storage errors
Diffstat (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/372f8a5c-a1ce-4b07-a7b1-f409033a7eec')
0 files changed, 0 insertions, 0 deletions