psf / httpbin

HTTP Request & Response Service, written in Python + Flask.
https://httpbin.org
Other
54 stars 17 forks source link

Consistently use positional parameter for path #20

Closed gaul closed 1 year ago

gaul commented 1 year ago

This matches other call sites.

kevin1024 commented 1 year ago

What's the advantage here? Just consistency or is there another motivation? Thanks for your contribution.

gaul commented 1 year ago

This makes things more consistent but the real purpose is making the java-httpbin local modifications easier, specifically the Flask workaround: https://github.com/gaul/httpbin/commit/94d668d6fa89132852f694b1505b48843034dc22