/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. 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. }