marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
94 stars 10 forks source link

Path elements for consumed path erroneously passed as arguments to endpoint. #161

Closed amcgregor closed 8 years ago

amcgregor commented 8 years ago

Test case:

class Root:
    def __init__(self, context):
        self._ctx = context

    def test(self, *args):
        assert not args

If you GET /test you'll find it explodes.

amcgregor commented 8 years ago

This has been resolved by dc0f64f.