Skip Menu |

This queue is for tickets about the Web-Simple CPAN distribution.

Report information
The Basics
Id: 101147
Status: open
Priority: 0/
Queue: Web-Simple

People
Owner: Nobody in particular
Requestors: PLOCKABY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.030
Fixed in: (no value)



Subject: empty path_info should resolve to /
I *think* if a request comes with an empty PATH_INFO that Web::Simple should interpret that as "/". According to the PSGI spec on PATH_INFO: This may be an empty string if the request URL targets the application root and does not have a trailing slash. Right now, some servers will send an empty PATH_INFO value on GET / HTTP/1.0 and then (GET + /) will not match.
We run into this with Net::Async::HTTP::Server; we worked around it by manually rewriting PATH_INFO to '/'.