defnull/bottle — Issue #281: Bottle.mount raises DeprecationWarning BaseReuqest.status will change to return a string in 0.11
Author: chicha
Created: 2012-02-10 17:25:20+00:00
State: open

Hello,

Bottle.mount raises DeprecationWarning BaseReuqest.status will change to return a string in 0.11 :

bottle-0.10.7-py2.6.egg/bottle.py:583: DeprecationWarning: BaseReuqest.status will change to return a string in 0.11. Use status_line and status_code to make sure.
return HTTPResponse(rs.body, rs.status, rs.headers)

I guess it should be rs.status_code instead of rs.status_line.

I hope it helped !
Cheers,
CH