Closed deric closed 8 years ago
Is it possible to send request including leading /?
/
a request
uwsgi_curl localhost:3000 /
is translated into:
GET => generated 17 bytes in 0 msecs (HTTP/1.1 200)
while standard curl would generate:
curl
GET / => generated 17 bytes in 0 msecs (HTTP/1.1 200)
My backend is sensitive to leading slashes, and I'm unable to send request like /health
/health
$ uwsgi_curl localhost:3000 /health GET health => generated 81 bytes in 0 msecs (HTTP/1.1 404)
@deric Thanks! Fixed in https://pypi.python.org/pypi/uwsgi-tools/1.0.3
Cool, thanks!
Is it possible to send request including leading
/
?a request
is translated into:
while standard
curl
would generate:My backend is sensitive to leading slashes, and I'm unable to send request like
/health