is this thing on? On Tue, Feb 24, 2009 at 8:10 AM, Jorge Vargas <[email protected]> wrote: > Hey, > > After several hours after trying to figure out why each and every > method in codemill's hg was working except push I notice that > CONTENT_LENGTH was getting set to -1 a couple of minutes later I ran > the following in weberror request==new_req to my surprise it returned > false, even better request.copy()==request returns FalsE! > > While still in shock by all this I sat down and wrote 3 unit tests one > for TG, one for pylons and one for plain webob, to my surpise all of > them are failing! so what's wrong? how come copy doesn't copy? even if > the webob docs say so > http://pythonpaste.org/webob/reference.html#modifying-the-request why > am I getting a content-lenght of -1?? > > Still skeptic about this I went to the WSGIAppController and added > + new_req.environ['CONTENT_LENGTH']=request.environ['CONTENT_LENGTH'] > > and now i can push! anyone knows what the heck is going on?? > > patch with the tests > http://paste.chrisarndt.de/paste/dbd7e1ff954542caa647ef65d6df97cc >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
