At 10:13 PM 7/23/2007 +0200, Martin v. Löwis wrote: > > i can't upload a new egg to cheeseshop... > > > > running "python setup.py bdist_egg register upload" hangs for several > > minutes at "Using PyPI login from /Users/jodok/.pypirc". > > entering username and password interactively results in the same. > > the webinterface seems to work fine (at least browsing) > > > > any idea? > >I think that's because I turned of proxying from www.python.org/pypi >to cheeseshop.python.org/pypi, and replaced it with redirection >(302, temporary redirect) instead (temporary just in case people >find problems with that).
If you were doing that for POST requests, that is probably the source of the problem. You could always restrict the proxying to occur only for non-GET requests, since IIRC distutils.command.register and distutils.command.upload use POSTs. GET requests generally have a much wider leeway for safe redirection than POST requests do. Of course, one must also preserve the query string in a redirected GET, and I don't think Apache's Redirect directive does that either. You can certainly do it with mod_rewrite, however. I expect that the combination of preserving query strings on redirection, and only redirecting GETs should make the transition safe. _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
