mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
This reverts commit 0f431471cd
.
This commit is contained in:
parent
5f457fcb29
commit
db0d14822f
1 changed files with 0 additions and 12 deletions
|
@ -3,17 +3,5 @@ namespace Jackett.Common.Utils.Clients
|
|||
public class WebClientStringResult : BaseWebResult
|
||||
{
|
||||
public string ContentString { get; set; }
|
||||
|
||||
public static implicit operator WebClientStringResult(WebClientByteResult br) => new WebClientStringResult()
|
||||
{
|
||||
ContentString = br.Encoding.GetString(br.ContentBytes),
|
||||
Cookies = br.Cookies,
|
||||
Encoding = br.Encoding,
|
||||
Headers = br.Headers,
|
||||
RedirectingTo = br.RedirectingTo,
|
||||
Request = br.Request,
|
||||
Status = br.Status
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue