[issue9601] ftplib should accept 250 on MKD

Antoine Pitrou report at bugs.python.org
Tue Aug 17 18:58:15 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

Well, given that both replies (expected and actual) are in the 25x category, and that (according to the RFC) “the third digit gives a finer gradation of meaning in each of the function categories, specified by the second digit”, perhaps practicality beats purity and the exact return code isn't that important as long as it falls in the right category.

(what would a Web browser do in that case? say it receives a 201 instead of a 200 or something)

Apparently bzr users hit this bug:

nosy: +pitrou

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list