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