Merge pull request #4283 from ncdc/allow-proxy-to-resource-root-path

Allow proxying to a resource at /
This commit is contained in:
Clayton Coleman
2015-02-10 17:45:31 -05:00
2 changed files with 4 additions and 0 deletions

View File

@@ -244,6 +244,7 @@ func TestProxy(t *testing.T) {
{"DELETE", "/some/dir/id", "", "ok", "text/css", "default"},
{"GET", "/some/dir/id", "", "answer", "text/css", "other"},
{"GET", "/trailing/slash/", "", "answer", "text/css", "default"},
{"GET", "/", "", "answer", "text/css", "default"},
}
for _, item := range table {