cachecontrol icon indicating copy to clipboard operation
cachecontrol copied to clipboard

multiple_choices vs multiple_choices_redirect

Open sk1p opened this issue 6 years ago • 0 comments

While working on #183 and wondering why some tests take a long time, I noticed a bug in TestMultipleChoicesRedirects - the test accesses /multiple_choices_redirect/ but the SimpleApp server only defines /multiple_choices/ - so in this case, it falls back to the default 200 response in __call__. This may be hiding a real bug, I didn't really investigate further.

Maybe it would be a better idea to return a 404 or 500 error in cases of unknown URLs

sk1p avatar Apr 09 '18 11:04 sk1p