Properly dispatch by api version in server mode

I'm not happy with this solution. Please think of a fix if you're reading this.
This commit is contained in:
Jack Danger 2017-08-01 18:12:36 -07:00
commit ce392fab79
3 changed files with 49 additions and 25 deletions

View file

@ -1,10 +1,6 @@
from __future__ import unicode_literals
from .responses import ELBResponse
from .responses import ELBV2Response
url_bases = [
"https?://elasticloadbalancing.(.+).amazonaws.com",
]
url_bases = []
url_paths = {
'{0}/$': ELBResponse.dispatch,
}
url_paths = {}