@@ -38,67 +38,67 @@ public abstract class RestResponseBase {
38
38
/// <summary>
39
39
/// MIME content type of response
40
40
/// </summary>
41
- public string ? ContentType { get ; init ; }
41
+ public string ? ContentType { get ; set ; }
42
42
43
43
/// <summary>
44
44
/// Length in bytes of the response content
45
45
/// </summary>
46
- public long ? ContentLength { get ; init ; }
46
+ public long ? ContentLength { get ; set ; }
47
47
48
48
/// <summary>
49
49
/// Encoding of the response content
50
50
/// </summary>
51
- public ICollection < string > ContentEncoding { get ; init ; } = new List < string > ( ) ;
51
+ public ICollection < string > ContentEncoding { get ; set ; } = new List < string > ( ) ;
52
52
53
53
/// <summary>
54
54
/// String representation of response content
55
55
/// </summary>
56
- public string ? Content { get ; init ; }
56
+ public string ? Content { get ; set ; }
57
57
58
58
/// <summary>
59
59
/// HTTP response status code
60
60
/// </summary>
61
- public HttpStatusCode StatusCode { get ; init ; }
61
+ public HttpStatusCode StatusCode { get ; set ; }
62
62
63
63
/// <summary>
64
64
/// Whether or not the response status code indicates success
65
65
/// </summary>
66
- public bool IsSuccessful { get ; init ; }
66
+ public bool IsSuccessful { get ; set ; }
67
67
68
68
/// <summary>
69
69
/// Description of HTTP status returned
70
70
/// </summary>
71
- public string ? StatusDescription { get ; init ; }
71
+ public string ? StatusDescription { get ; set ; }
72
72
73
73
/// <summary>
74
74
/// Response content
75
75
/// </summary>
76
- public byte [ ] ? RawBytes { get ; init ; }
76
+ public byte [ ] ? RawBytes { get ; set ; }
77
77
78
78
/// <summary>
79
79
/// The URL that actually responded to the content (different from request if redirected)
80
80
/// </summary>
81
- public Uri ? ResponseUri { get ; init ; }
81
+ public Uri ? ResponseUri { get ; set ; }
82
82
83
83
/// <summary>
84
84
/// HttpWebResponse.Server
85
85
/// </summary>
86
- public string ? Server { get ; init ; }
86
+ public string ? Server { get ; set ; }
87
87
88
88
/// <summary>
89
89
/// Cookies returned by server with the response
90
90
/// </summary>
91
- public CookieCollection ? Cookies { get ; init ; }
91
+ public CookieCollection ? Cookies { get ; set ; }
92
92
93
93
/// <summary>
94
94
/// Response headers returned by server with the response
95
95
/// </summary>
96
- public IReadOnlyCollection < HeaderParameter > ? Headers { get ; init ; }
96
+ public IReadOnlyCollection < HeaderParameter > ? Headers { get ; set ; }
97
97
98
98
/// <summary>
99
99
/// Content headers returned by server with the response
100
100
/// </summary>
101
- public IReadOnlyCollection < HeaderParameter > ? ContentHeaders { get ; init ; }
101
+ public IReadOnlyCollection < HeaderParameter > ? ContentHeaders { get ; set ; }
102
102
103
103
/// <summary>
104
104
/// Status of the request. Will return Error for transport errors.
0 commit comments