• ale's avatar
    Return 404 for unauthenticated requests to URLs that do not exist · 188a0870
    ale authored
    This avoids browsers messing up the session state (given that /login
    calls session.Reset) with requests to various kinds of well-known URLs
    that might not exist.
    Also add an integration test for a server with non-nil URL prefix.
http.go 13.6 KB