* Add requirements.txt with packages used by WSGI Elixir * Make API compatible with latest Falcon * Remove remaining global variables from web.py * Remove Parsed__Path Falcon passes parsed path segments as arguments to handler methods. I think it really does not make sense anymore to put that information back into a tuple just to unpack it again. * Add RawPathComponent middleware to support encoded slashes Some paths previously accepted by Elixir can contain encoded slashes. For example: /arm-trusted-firmware/sandbox%2Flts-v2.10.3-20240405T0714/source Falcon by default uses a version of URL that is already decoded. This default makes parsing said paths impossible. https://falcon.readthedocs.io/en/v3.1.2/user/recipes/raw-url-path.html * Move request context building to middleware * Move validation and unquoting to path converters * Move base url generation to new functions
8 lines
332 B
Text
8 lines
332 B
Text
Jinja2==3.1.2
|
|
Pygments==2.11.2
|
|
# TODO replace with a pypi published version once https://github.com/falconry/falcon/pull/1945
|
|
# appears in a release (NOTE: it's not in 3.1.3).
|
|
Falcon @ git+https://github.com/falconry/falcon.git@cbca63dc7739720eab856f48b32f9e782438be7a
|
|
pytest==7.2.1
|
|
# TODO use debian package for now
|
|
#bsddb3==6.2.9
|