PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 1// <copyright>
 2//   Copyright (c) Microsoft Corporation.  All rights reserved.
 3// </copyright>
 4
 5namespace Microsoft.ApplicationServer.Http
 6{
 7    /// <summary>
 8    /// TrailingSlashMode lists the possible ways in which the trailing slash will be handled in URI's.
 9    /// </summary>
10    public enum TrailingSlashMode
11    {
12        /// <summary>
13        /// AutoRedirects in the case of request uri differing by trailing slash
14        /// </summary>
15        AutoRedirect,
16        
17        /// <summary>
18        /// Ignores the difference in trailing slash in the request uri
19        /// </summary>
20        Ignore,
21    }
22}