[issue25072] CGI large POST data string truncated

2015-09-11 Thread R. David Murray
R. David Murray added the comment: Any chance you could provide code that demonstrates this bug? -- nosy: +r.david.murray ___ Python tracker ___ _

[issue25072] CGI large POST data string truncated

2015-09-11 Thread Vincent Caloone
New submission from Vincent Caloone: For "large" POST request (> 25 ko), cgi.FieldStorage() doesn't contains all field in the html form. When we trace the root of the issue, it is located in file server.py : if self.command.lower() == "post" and nbytes > 0: data = self.rfile.read(nbytes)