[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:
https://bugs.launchpad.net/bzr/+bug/224373

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9601>
_______________________________________


More information about the Python-bugs-list mailing list