1
0

TestOSHttpResponse.cs 607 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using OpenSim.Framework.Servers.HttpServer;
  5. namespace OpenSim.Tests.Common.Mock
  6. {
  7. public class TestOSHttpResponse : OSHttpResponse
  8. {
  9. private int m_statusCode;
  10. public override int StatusCode
  11. {
  12. get { return m_statusCode; }
  13. set { m_statusCode = value; }
  14. }
  15. private string m_contentType;
  16. public override string ContentType
  17. {
  18. get { return m_contentType; }
  19. set { m_contentType = value; }
  20. }
  21. }
  22. }