# System.Net.Http

``` diff
 namespace System.Net.Http {
     public class StringContent : ByteArrayContent {
+        public StringContent(string content, MediaTypeHeaderValue mediaType);
+        public StringContent(string content, Encoding? encoding, MediaTypeHeaderValue mediaType);
-        public StringContent(string content, Encoding? encoding, string? mediaType);
+        public StringContent(string content, Encoding? encoding, string mediaType);
     }
 }
```

