/WCFWebApi/src/Microsoft.ApplicationServer.Http/Microsoft/ApplicationServer/Http/TrailingSlashMode.cs
C# | 22 lines | 8 code | 2 blank | 12 comment | 0 complexity | c4a29b9433e7a8daad7b02a836ca6d30 MD5 | raw file
Possible License(s): CC-BY-SA-3.0, Apache-2.0
- // <copyright>
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
-
- namespace Microsoft.ApplicationServer.Http
- {
- /// <summary>
- /// TrailingSlashMode lists the possible ways in which the trailing slash will be handled in URI's.
- /// </summary>
- public enum TrailingSlashMode
- {
- /// <summary>
- /// AutoRedirects in the case of request uri differing by trailing slash
- /// </summary>
- AutoRedirect,
-
- /// <summary>
- /// Ignores the difference in trailing slash in the request uri
- /// </summary>
- Ignore,
- }
- }