Get FieldStorage to work with both GET and POST method