diff --git a/LICENSE.txt b/LICENSE.txt index 9aa0a58ae..6ff179708 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,3 +1,6 @@ +Copyright (c) .NET Foundation and Contributors +All Rights Reserved + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/README.md b/README.md index 38477dfda..b79affa84 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,29 @@ # RestSharp - Simple .NET REST Client +RestSharp is a lightweight HTTP client library. It's a wrapper around `HttpClient`, not a full-fledged client on its own. + +What RestSharp adds to `HttpClient`: +- Default parameters of any kind, not just headers +- Add a parameter of any kind to requests, like query, URL segment, header, cookie, or body +- Multiple ways to add a request body, including JSON, XML, and form data +- Built-in serialization and deserilization of JSON and XML + ## RestSharp vNext Finally, RestSharp has moved to `HttpClient`. We also deprecated the following: -- All sync calls in favour of async calls - SimpleJson in favour of `System.Text.Json.JsonSerialzer` - `IRestClient`, `IRestRequest`, and `IRestResponse` in favour of implementing classes - Everything `Http` and `IHttp` as those are just wrappers Most of the client and some of the request options are now in `RestClientOptions`. -Check [v107 docs](https://restsharp.dev/v107) for more information. +Check [v107+ docs](https://restsharp.dev/v107) for more information. | :boom: Interfaces rage! | |:---------------------------| | Before you start to rage in public about interfaces that are useful for unit-testing HTTP calls,
please read [this page](https://restsharp.dev/v107/#mocking). | +## Builds and Packages ### Build @@ -31,25 +39,38 @@ Check [v107 docs](https://restsharp.dev/v107) for more information. | stable | [![](https://img.shields.io/nuget/v/RestSharp)](https://www.nuget.org/packages/RestSharp) | | preview | ![](https://img.shields.io/nuget/vpre/RestSharp) | -### Support +## Code of Conduct + +This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. +For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct). + +## Support RestSharp is an open-source project with a single maintainer. Do not expect your issue to be resolved unless it concerns a large group of RestSharp users. The best way to resolve your issue is to fix it yourself. Fork the repository and submit a pull request. You can also motivate the maintainer by sponsoring this project. -### Get help +### Contribute -[![Join the chat at https://gitter.im/RestSharp/RestSharp](https://badges.gitter.im/RestSharp/RestSharp.svg)](https://gitter.im/RestSharp/RestSharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on the process for reporting issues and submitting pull requests. + +### Get help Read the docs: [Official Site][1] + +Ask a question on StackOverflow with the tag `restsharp`. Find RestSharp on Twitter: [@RestSharp][2] -## Contributors +## Community + +### .NET Foundation + +This project is supported by the [.NET Foundation](https://dotnetfoundation.org). ### Code Contributors -This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. +This project exists thanks to all the people who contribute. ### Financial Contributors @@ -79,3 +100,4 @@ Support this project with your organization. Your logo will show up here with a [1]: https://restsharp.dev [2]: https://twitter.com/RestSharp + [3]: https://github.com/restsharp/RestSharp/issues diff --git a/docs/README.md b/docs/README.md index fe58f12f3..3cdae275f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,9 +19,11 @@ features: details: Send objects as the request body in JSON or XML, or as a form. Upload and download files as bytes or as streams. - title: Parameters details: Add query, URL segment, body, form or header parameter using an easy and fluent API -footer: Apache 2.0 Licensed | Copyright © 2009-2022 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community. +footer: Apache 2.0 Licensed | Copyright (c) .NET Foundation and Contributors --- RestSharp is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features, it is being used by hundreds of thousands of projects. RestSharp passed over 32 million downloads on NuGet, with average daily download count of 10,000. It's being used by many popular OSS projects, including Roslyn and Swagger. + +Supported by the [.NET Foundation](https://dotnetfoundation.org). diff --git a/releasenotes.md b/releasenotes.md deleted file mode 100644 index 140bf266b..000000000 --- a/releasenotes.md +++ /dev/null @@ -1,238 +0,0 @@ -# RestSharp Release Notes - -Newer release notes can be found on the [Releases](https://github.com/restsharp/RestSharp/releases) page. - -# 106.10 - -* Added a new package `RestSharp.Serializers.NewtonsoftJson` -* Added a new package `RestSharp.Serializers.Utf8Json` -* Added a new package `RestSharp.Serializers.SystemTextJson` -* New documentation website -* Added `ThrowOnAnyError` property that will tell RestSharp to throw instead of creating an error response -* Fixed the error response propagation for async calls - -# 106.9 - -* Fixed the relative URI issue (thanks @maratoss) -* Added `AddDefaultHeaders` extension method to `RestClient` that accepts multiple headers (thanks @Kerl1310) -* Added `AddHeaders` method to `RestRequest` that accepts multiple headers (thanks @abailey7) -* Fixed the crash on `null` body parameter names (thanks to @ofirZelig, @mitcht and @kd5ziy) -* Fixed the exception when `Encoding` is set to null. Wasn't a bug but the exception was popping up in the debugger -* `IList` properties marked with `[SerializeAs(Content = true)]` attribute can be serialized as parent's XML tag content (thanks @partyz0ne) -* Better handling for the case a unicode character gets between chunks (thanks @stukalin) - -# 106.6 - -* Fixed some new platform unsupported exceptions -* Fixed OAuth regression issues -* Moved serialization to the client -* Added `UseSerializer` to `IRestClient` to specify the client-level (de)serializer -* Added `UseDotNetXmlSerializer` extension to `IRestClient` - -# 106.5 -* Wrapped proxy discovery in try-catch for the platform unsupported exception -* Fixed DateTime deserialization with millisecond UTC conflict -* Fixed HttpMethod is not overridden in `RestClient.Sync.Execute(IRestRequest request, Method httpMethod)` -* Split `ISerializer` to `IJsonSerializer` and `IXmlSerializer` to avoid the namespace confusion -* Fixed double escape bug in SimpleJson - -# 106.4.1 -* Fixed the wrong HTTP method used in `Post` extension method -* Custom content type for multipart requests - -# 106.4.0 - -* Added the XML documentation file to the NuGet package -* Fixed the issue with `AddBody` overrides the XML namespace with an empty string -* Fixed the issue when combining query parameters and JSON body caused an incorrect content type -* Marked `MethodTaskAsync` extensions as obsolete (where `Method` is `Get`, `Post`, etc) -* Added new extensions for `MethodAsync` (where `Method` is the same as above) that will return the result or throw an exception. Obsolete methods still don't throw and return an empty instance. -* You can now add query string parameters without encoding them -* Fixed the issue with query string parameters in combination with OAuth1 - -# 106.1.0 - -* Fixed ignoring the DeserializeAsAttribute for list properties -* Fixed the proxy issue on .NET Core -* Fixed Uri builder when the Resource is an absolute Uri -* Add RSA-SHA1 signing capability -* Add ability to customize the Host header - -# 106.0.1 - -* Added support of .NET Standard 2.0, enabling development for .NET Core 2.0 -* Support for .NET 3.5, .NET 4.0, Silverlight, Windows Phone and Monotouch is removed -* Several smaller fixes - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/106.0.1...105.2.3). - -## 105.2.2 - -* Added nuget targets for windows phone 8 and 8.1, monotouch10, monoandroid10, xamarin.ios10, net46 -* Fixed the silverlight target to be sl5 -* Added all projects to the solution -* Cleaned up and consolidated the build and packaging scripts -* **Code clean-up and namespace patching may cause breaking changes** - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/105.2.1...105.2.2). - -## 105.2.1 - -* **Code clean-up and namespace patching may cause breaking changes** - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/105.1.0...105.2.1). - -## 105.1.0 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/105.0...105.1.0). - -## 105.0.1 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/105.0...105.0.1). - -### Bug Fixes - -* Reverted changes to parameter encoding - -## 105.0.0 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/104.5.0...105.0). - -### New Features/Improvements - -* Converted the BaseUrl to be a URI rather than a string **(potential breaking change)** -* Updated the SimpleJson package to the latest version **(potential breaking change)** -* Converted the use of tabs to spaces -* Added support for the DeserializeAs attribute on XML -* Added ability to deserialize into structs -* Added additional methods on RestRequest - * `IRestRequest.AddJsonBody` - * `IRestRequest.AddXmlBody` - * `IRestRequest.AddQueryParameter` -* Added support for multi-part form request to allow both a request body and files - -### Bug Fixes - -* Fixed potential Null Reference Exceptions on the parameters in RestClient (ToString usage) - -## 104.5.0 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/104.4.0...104.5.0). - -## 104.4.0 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/104.3.3...104.4.0). - -## 104.3.3 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/104.2...104.3.3). - -### New Features/Improvements - -* Support for query string parameters on POST requests -* Deserialize an integer to a bool property -* Enable Task extensions for Monotouch and Monodroid platforms -* Support for deserializing a dictionary of lists - -### Bug Fixes - -* Fixed regression that prevented deserializing requests when non-protocol errors occurred -* Properly URL encode strings longer than 32766 characters - -## 104.2 - -To see all commits for this version, [click here](https://github.com/RestSharp/RestSharp/compare/104.1...104.2). - -### New Features - -* Allow specifying the body of a `PUT` or `POST` to be specified as a byte array. -* Added `ExecuteAsync` overloads that return `Task` -* Improved handling of nullable types -* Support `DateTimeOffset` to `XmlDeserializer` - -### Bug Fixes - -* Crash if an XML attribute contains empty string -* Adding array of int to request -* Support XAuth parameters for OAuth parameter handling -* Memory leak around handling of Accepts header -* `ConfigureProxy` was not being called for async request -* Serialization for classes with `IList` properties -* Exception when executing async requests on multiple threads with one `RestClient` -* ResponseStatus.Aborted was not being set if request was aborted -* ClientCertificate threw `NotImplementedException` on Mono -* Fix decimal parsing for small decimal values - -## 104.1 - -* Fixed bug where ExecuteAsync sometimes doesn't send data - -## 104.0 - -* Fixed Windows Phone and Silverlight to use culture when calling Convert.ChangeType() (thanks trydis) -* Added support for non-standard HTTP methods (thanks jhoerr) - New API methods include: - * `IRestClient.ExecuteAsyncGet()` - * `IRestClient.ExecuteAsyncPost()` - * `IRestClient.ExecuteAsyncGet()` - * `IRestClient.ExecuteAsyncPost()` - - See [groups discussion](https://groups.google.com/forum/?fromgroups=#!topic/restsharp/FCLGE5By7AU) for more info - -* Resolved an xAuth support issue in the OAuth1Authenticator (thanks artema) -* Change AddDefaultParameter methods to be extension methods (thanks haacked) - Added `RestClientExtensions.AddDefaultParameter()` with 4 overloads. See pull request [#311](https://github.com/restsharp/RestSharp/pull/311) for more info - -* Adding support for deserializing enums from integer representations (thanks dontjee) - -## 103.4 - -* Version bump to fix assembly versioning - -## 103.3 - -* Added in the check for it being generic before calling GetGenericType Definition() (thanks nicwise) -* Add support for deserializing properties with an underscore prefix (thanks psampaio) -* BaseUrl is now virtual (thanks Haacked) -* Fixed List json deserialization, when T was a something like DateTime, Timespan, Guid, etc. (thanks PedroLamas) -* Improve support for parsing iso8601 dates (thanks friism) - -## 103.2 - -### New Features - -* Allow deserializing a single item into a List field, for JSON that only uses a list when there's more than one item for a given field (thanks petejohanson) -* Extended NtlmAuthenticator so that it can also impersonate a user (thanks kleinron) -* Added support for mapping JSON objects to Dictionary (thanks petejohanson) -* Added ability to set Host and Date when built for .NET 4.0 (thanks lukebakken) -* Allow deserializing lists with null in them. Should resolve pull request (thanks petejohanson) -* Add support for deserializing JSON to subclasses of List (thanks abaybuzskiy) - -### Bugs fixed -* Fixed invalid OAuth1 signature for GET request (thanks trilobyte) -* Added some missing OAuth files to the .NET4 and Silverlight projects (thanks PedroLamas) -* Removed unused NewtonsoftJsonMonoTouch.dll and Newtonsoft.Json.MonoDroid.dll binaries (thanks attilah) -* Fixed various issues with MonoTouch/Droid ports (thanks attilah) -* Add ability to set Host and Date when built for .NET 4.0 (thanks lukebakken) -* Fixed XmlDeserializer issue not handling lowercase + dash root elements in some cases -* Fixed an issue where RestResponse.Request was not populated (thanks mattleibow) -* Don't crash on captive networks that intercept SSL (thanks aroben) - -## 103.1 - -* #267 Added CLS Compliance -* #263 Fixed InvalidCastException -* #218 Handles connection failures better -* #231 OAuth now complies with rfc3986 url hex encoding - -## 103.0 - Remove dependency on Json.NET - -* Remove WP7.0 support (7.1 Mango remains). - -## 102.7 - -* Updating Json.NET to 4.0.8, misc fixes - -## 102.6 - -* Updating Json.NET reference to 4.0.5 diff --git a/src/Directory.Build.props b/src/Directory.Build.props index d9bde71c3..016a45495 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -8,7 +8,7 @@ https://github.com/restsharp/RestSharp.git git Simple REST and HTTP API Client - John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community + .NET Foundation and Contributors true true true diff --git a/src/RestSharp.Serializers.NewtonsoftJson/JsonNetSerializer.cs b/src/RestSharp.Serializers.NewtonsoftJson/JsonNetSerializer.cs index 00101952a..5f3a019af 100644 --- a/src/RestSharp.Serializers.NewtonsoftJson/JsonNetSerializer.cs +++ b/src/RestSharp.Serializers.NewtonsoftJson/JsonNetSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.NewtonsoftJson/RestClientExtensions.cs b/src/RestSharp.Serializers.NewtonsoftJson/RestClientExtensions.cs index 6f2484ba6..2d02d58ec 100644 --- a/src/RestSharp.Serializers.NewtonsoftJson/RestClientExtensions.cs +++ b/src/RestSharp.Serializers.NewtonsoftJson/RestClientExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.NewtonsoftJson/WriterBuffer.cs b/src/RestSharp.Serializers.NewtonsoftJson/WriterBuffer.cs index 520e4e56e..7d77a5adc 100644 --- a/src/RestSharp.Serializers.NewtonsoftJson/WriterBuffer.cs +++ b/src/RestSharp.Serializers.NewtonsoftJson/WriterBuffer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/DeserializeAsAttribute.cs b/src/RestSharp.Serializers.Xml/DeserializeAsAttribute.cs index 23e1f16d2..ecb235e90 100644 --- a/src/RestSharp.Serializers.Xml/DeserializeAsAttribute.cs +++ b/src/RestSharp.Serializers.Xml/DeserializeAsAttribute.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/SerializeAsAttribute.cs b/src/RestSharp.Serializers.Xml/SerializeAsAttribute.cs index fc7838df4..30ec91c16 100644 --- a/src/RestSharp.Serializers.Xml/SerializeAsAttribute.cs +++ b/src/RestSharp.Serializers.Xml/SerializeAsAttribute.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/XmlAttributeDeserializer.cs b/src/RestSharp.Serializers.Xml/XmlAttributeDeserializer.cs index 2c25baaaf..b2677f014 100644 --- a/src/RestSharp.Serializers.Xml/XmlAttributeDeserializer.cs +++ b/src/RestSharp.Serializers.Xml/XmlAttributeDeserializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/XmlDeserializer.cs b/src/RestSharp.Serializers.Xml/XmlDeserializer.cs index 70e82ac25..bc77fe45c 100644 --- a/src/RestSharp.Serializers.Xml/XmlDeserializer.cs +++ b/src/RestSharp.Serializers.Xml/XmlDeserializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/XmlExtensions.cs b/src/RestSharp.Serializers.Xml/XmlExtensions.cs index c4c694645..fba9da379 100644 --- a/src/RestSharp.Serializers.Xml/XmlExtensions.cs +++ b/src/RestSharp.Serializers.Xml/XmlExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/XmlSerializer.cs b/src/RestSharp.Serializers.Xml/XmlSerializer.cs index c5f6c29e7..6e90907d7 100644 --- a/src/RestSharp.Serializers.Xml/XmlSerializer.cs +++ b/src/RestSharp.Serializers.Xml/XmlSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp.Serializers.Xml/XmlSerializerClientExtensions.cs b/src/RestSharp.Serializers.Xml/XmlSerializerClientExtensions.cs index 4e4898f11..ebc86760a 100644 --- a/src/RestSharp.Serializers.Xml/XmlSerializerClientExtensions.cs +++ b/src/RestSharp.Serializers.Xml/XmlSerializerClientExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/AuthenticatorBase.cs b/src/RestSharp/Authenticators/AuthenticatorBase.cs index 03e86efd7..c6507dc35 100644 --- a/src/RestSharp/Authenticators/AuthenticatorBase.cs +++ b/src/RestSharp/Authenticators/AuthenticatorBase.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/HttpBasicAuthenticator.cs b/src/RestSharp/Authenticators/HttpBasicAuthenticator.cs index 68280d03a..006ac813f 100644 --- a/src/RestSharp/Authenticators/HttpBasicAuthenticator.cs +++ b/src/RestSharp/Authenticators/HttpBasicAuthenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/IAuthenticator.cs b/src/RestSharp/Authenticators/IAuthenticator.cs index 5d8799893..87638a13f 100644 --- a/src/RestSharp/Authenticators/IAuthenticator.cs +++ b/src/RestSharp/Authenticators/IAuthenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/JwtAuthenticator.cs b/src/RestSharp/Authenticators/JwtAuthenticator.cs index 37480f83a..41479d2f1 100644 --- a/src/RestSharp/Authenticators/JwtAuthenticator.cs +++ b/src/RestSharp/Authenticators/JwtAuthenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/Enums.cs b/src/RestSharp/Authenticators/OAuth/Enums.cs index 16e4e9ea8..918aad64e 100644 --- a/src/RestSharp/Authenticators/OAuth/Enums.cs +++ b/src/RestSharp/Authenticators/OAuth/Enums.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/Extensions/OAuthExtensions.cs b/src/RestSharp/Authenticators/OAuth/Extensions/OAuthExtensions.cs index 37cd5434a..cca257f71 100644 --- a/src/RestSharp/Authenticators/OAuth/Extensions/OAuthExtensions.cs +++ b/src/RestSharp/Authenticators/OAuth/Extensions/OAuthExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/Extensions/StringExtensions.cs b/src/RestSharp/Authenticators/OAuth/Extensions/StringExtensions.cs index c7be008e6..532ec9969 100644 --- a/src/RestSharp/Authenticators/OAuth/Extensions/StringExtensions.cs +++ b/src/RestSharp/Authenticators/OAuth/Extensions/StringExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/Extensions/TimeExtensions.cs b/src/RestSharp/Authenticators/OAuth/Extensions/TimeExtensions.cs index a98c57cd5..8c40f5245 100644 --- a/src/RestSharp/Authenticators/OAuth/Extensions/TimeExtensions.cs +++ b/src/RestSharp/Authenticators/OAuth/Extensions/TimeExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/OAuth1Authenticator.cs b/src/RestSharp/Authenticators/OAuth/OAuth1Authenticator.cs index 08bec60aa..14f743d81 100644 --- a/src/RestSharp/Authenticators/OAuth/OAuth1Authenticator.cs +++ b/src/RestSharp/Authenticators/OAuth/OAuth1Authenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/OAuthTools.cs b/src/RestSharp/Authenticators/OAuth/OAuthTools.cs index cb7f55984..f9d126af7 100644 --- a/src/RestSharp/Authenticators/OAuth/OAuthTools.cs +++ b/src/RestSharp/Authenticators/OAuth/OAuthTools.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/OAuthWorkflow.cs b/src/RestSharp/Authenticators/OAuth/OAuthWorkflow.cs index f17cb64dc..5221da829 100644 --- a/src/RestSharp/Authenticators/OAuth/OAuthWorkflow.cs +++ b/src/RestSharp/Authenticators/OAuth/OAuthWorkflow.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/WebPair.cs b/src/RestSharp/Authenticators/OAuth/WebPair.cs index b1aedd53c..fc4f3e604 100644 --- a/src/RestSharp/Authenticators/OAuth/WebPair.cs +++ b/src/RestSharp/Authenticators/OAuth/WebPair.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth/WebPairCollection.cs b/src/RestSharp/Authenticators/OAuth/WebPairCollection.cs index c91d00336..0c602e6f8 100644 --- a/src/RestSharp/Authenticators/OAuth/WebPairCollection.cs +++ b/src/RestSharp/Authenticators/OAuth/WebPairCollection.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth2/OAuth2AuthorizationRequestHeaderAuthenticator.cs b/src/RestSharp/Authenticators/OAuth2/OAuth2AuthorizationRequestHeaderAuthenticator.cs index 1fe4a71be..e05d4751a 100644 --- a/src/RestSharp/Authenticators/OAuth2/OAuth2AuthorizationRequestHeaderAuthenticator.cs +++ b/src/RestSharp/Authenticators/OAuth2/OAuth2AuthorizationRequestHeaderAuthenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Authenticators/OAuth2/OAuth2UriQueryParameterAuthenticator.cs b/src/RestSharp/Authenticators/OAuth2/OAuth2UriQueryParameterAuthenticator.cs index 7d2762466..2b040a85a 100644 --- a/src/RestSharp/Authenticators/OAuth2/OAuth2UriQueryParameterAuthenticator.cs +++ b/src/RestSharp/Authenticators/OAuth2/OAuth2UriQueryParameterAuthenticator.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Ensure.cs b/src/RestSharp/Ensure.cs index 807d9499a..48da6015e 100644 --- a/src/RestSharp/Ensure.cs +++ b/src/RestSharp/Ensure.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Enum.cs b/src/RestSharp/Enum.cs index 8423d2065..e046d4864 100644 --- a/src/RestSharp/Enum.cs +++ b/src/RestSharp/Enum.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/CollectionExtensions.cs b/src/RestSharp/Extensions/CollectionExtensions.cs index 9e3f8df00..7d04f99a9 100644 --- a/src/RestSharp/Extensions/CollectionExtensions.cs +++ b/src/RestSharp/Extensions/CollectionExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/HttpHeadersExtensions.cs b/src/RestSharp/Extensions/HttpHeadersExtensions.cs index d617d79f8..9dabe4755 100644 --- a/src/RestSharp/Extensions/HttpHeadersExtensions.cs +++ b/src/RestSharp/Extensions/HttpHeadersExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/ReflectionExtensions.cs b/src/RestSharp/Extensions/ReflectionExtensions.cs index af24183e9..a16513535 100644 --- a/src/RestSharp/Extensions/ReflectionExtensions.cs +++ b/src/RestSharp/Extensions/ReflectionExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/StreamExtensions.cs b/src/RestSharp/Extensions/StreamExtensions.cs index 74b7e684b..b007b1c83 100644 --- a/src/RestSharp/Extensions/StreamExtensions.cs +++ b/src/RestSharp/Extensions/StreamExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/StringExtensions.cs b/src/RestSharp/Extensions/StringExtensions.cs index 962beead3..e5b343efa 100644 --- a/src/RestSharp/Extensions/StringExtensions.cs +++ b/src/RestSharp/Extensions/StringExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Extensions/WithExtensions.cs b/src/RestSharp/Extensions/WithExtensions.cs index 6efe56a1c..50d15c889 100644 --- a/src/RestSharp/Extensions/WithExtensions.cs +++ b/src/RestSharp/Extensions/WithExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/KnownHeaders.cs b/src/RestSharp/KnownHeaders.cs index a7409c424..f4c20645b 100644 --- a/src/RestSharp/KnownHeaders.cs +++ b/src/RestSharp/KnownHeaders.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/NameValuePair.cs b/src/RestSharp/NameValuePair.cs index ae52c1054..6b281c26a 100644 --- a/src/RestSharp/NameValuePair.cs +++ b/src/RestSharp/NameValuePair.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/BodyParameter.cs b/src/RestSharp/Parameters/BodyParameter.cs index 352896c96..d2cf78531 100644 --- a/src/RestSharp/Parameters/BodyParameter.cs +++ b/src/RestSharp/Parameters/BodyParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/FileParameter.cs b/src/RestSharp/Parameters/FileParameter.cs index 05ec2c4a5..25ff43a27 100644 --- a/src/RestSharp/Parameters/FileParameter.cs +++ b/src/RestSharp/Parameters/FileParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/GetOrPostParameter.cs b/src/RestSharp/Parameters/GetOrPostParameter.cs index 15941d068..b9309475e 100644 --- a/src/RestSharp/Parameters/GetOrPostParameter.cs +++ b/src/RestSharp/Parameters/GetOrPostParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/HeaderParameter.cs b/src/RestSharp/Parameters/HeaderParameter.cs index 4658acfe2..55830a63f 100644 --- a/src/RestSharp/Parameters/HeaderParameter.cs +++ b/src/RestSharp/Parameters/HeaderParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/ObjectParser.cs b/src/RestSharp/Parameters/ObjectParser.cs index bde6c33f4..71e496798 100644 --- a/src/RestSharp/Parameters/ObjectParser.cs +++ b/src/RestSharp/Parameters/ObjectParser.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/Parameter.cs b/src/RestSharp/Parameters/Parameter.cs index 6dda3ec71..7eef993eb 100644 --- a/src/RestSharp/Parameters/Parameter.cs +++ b/src/RestSharp/Parameters/Parameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/ParametersCollection.cs b/src/RestSharp/Parameters/ParametersCollection.cs index f6644a5c5..d1844264f 100644 --- a/src/RestSharp/Parameters/ParametersCollection.cs +++ b/src/RestSharp/Parameters/ParametersCollection.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/QueryParameter.cs b/src/RestSharp/Parameters/QueryParameter.cs index bf665e468..57623d76c 100644 --- a/src/RestSharp/Parameters/QueryParameter.cs +++ b/src/RestSharp/Parameters/QueryParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Parameters/UrlSegmentParameter.cs b/src/RestSharp/Parameters/UrlSegmentParameter.cs index 3f105401a..04b60d65c 100644 --- a/src/RestSharp/Parameters/UrlSegmentParameter.cs +++ b/src/RestSharp/Parameters/UrlSegmentParameter.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/BodyExtensions.cs b/src/RestSharp/Request/BodyExtensions.cs index 4ee29d84e..20c07aa52 100644 --- a/src/RestSharp/Request/BodyExtensions.cs +++ b/src/RestSharp/Request/BodyExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/HttpRequestMessageExtensions.cs b/src/RestSharp/Request/HttpRequestMessageExtensions.cs index dd9ca2877..a8dc5629a 100644 --- a/src/RestSharp/Request/HttpRequestMessageExtensions.cs +++ b/src/RestSharp/Request/HttpRequestMessageExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/RequestContent.cs b/src/RestSharp/Request/RequestContent.cs index 9057b5319..fe2facf12 100644 --- a/src/RestSharp/Request/RequestContent.cs +++ b/src/RestSharp/Request/RequestContent.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/RequestHeaders.cs b/src/RestSharp/Request/RequestHeaders.cs index 0c3a62471..9d53ee4d7 100644 --- a/src/RestSharp/Request/RequestHeaders.cs +++ b/src/RestSharp/Request/RequestHeaders.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/RestRequest.cs b/src/RestSharp/Request/RestRequest.cs index b7360c867..3a13dd49c 100644 --- a/src/RestSharp/Request/RestRequest.cs +++ b/src/RestSharp/Request/RestRequest.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/RestRequestExtensions.cs b/src/RestSharp/Request/RestRequestExtensions.cs index c6dc9d4cf..e7ccb2c01 100644 --- a/src/RestSharp/Request/RestRequestExtensions.cs +++ b/src/RestSharp/Request/RestRequestExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/RestXmlRequest.cs b/src/RestSharp/Request/RestXmlRequest.cs index 740acb454..ada2eded2 100644 --- a/src/RestSharp/Request/RestXmlRequest.cs +++ b/src/RestSharp/Request/RestXmlRequest.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Request/UriExtensions.cs b/src/RestSharp/Request/UriExtensions.cs index a7a1a8288..e56a267da 100644 --- a/src/RestSharp/Request/UriExtensions.cs +++ b/src/RestSharp/Request/UriExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Response/ResponseHandling.cs b/src/RestSharp/Response/ResponseHandling.cs index 91ed3e5a4..a22fa05c0 100644 --- a/src/RestSharp/Response/ResponseHandling.cs +++ b/src/RestSharp/Response/ResponseHandling.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Response/RestResponse.cs b/src/RestSharp/Response/RestResponse.cs index 7234497e3..503d2c7f2 100644 --- a/src/RestSharp/Response/RestResponse.cs +++ b/src/RestSharp/Response/RestResponse.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Response/RestResponseBase.cs b/src/RestSharp/Response/RestResponseBase.cs index 71a415c00..1a0aa9b2e 100644 --- a/src/RestSharp/Response/RestResponseBase.cs +++ b/src/RestSharp/Response/RestResponseBase.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClient.Async.cs b/src/RestSharp/RestClient.Async.cs index a9689ce3c..7a353e550 100644 --- a/src/RestSharp/RestClient.Async.cs +++ b/src/RestSharp/RestClient.Async.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClient.Serialization.cs b/src/RestSharp/RestClient.Serialization.cs index 3bcc4c056..c7e72aea0 100644 --- a/src/RestSharp/RestClient.Serialization.cs +++ b/src/RestSharp/RestClient.Serialization.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClient.cs b/src/RestSharp/RestClient.cs index eb0123c3a..ec8603563 100644 --- a/src/RestSharp/RestClient.cs +++ b/src/RestSharp/RestClient.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClientExtensions.Config.cs b/src/RestSharp/RestClientExtensions.Config.cs index 39ee8c05e..205812923 100644 --- a/src/RestSharp/RestClientExtensions.Config.cs +++ b/src/RestSharp/RestClientExtensions.Config.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClientExtensions.Json.cs b/src/RestSharp/RestClientExtensions.Json.cs index e094f6846..1e4fa28f7 100644 --- a/src/RestSharp/RestClientExtensions.Json.cs +++ b/src/RestSharp/RestClientExtensions.Json.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClientExtensions.Params.cs b/src/RestSharp/RestClientExtensions.Params.cs index 26ed45da1..87f1b4e63 100644 --- a/src/RestSharp/RestClientExtensions.Params.cs +++ b/src/RestSharp/RestClientExtensions.Params.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClientExtensions.cs b/src/RestSharp/RestClientExtensions.cs index bf6c56dbd..c91bf10b8 100644 --- a/src/RestSharp/RestClientExtensions.cs +++ b/src/RestSharp/RestClientExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/RestClientOptions.cs b/src/RestSharp/RestClientOptions.cs index 38e4972ab..64f78ffa8 100644 --- a/src/RestSharp/RestClientOptions.cs +++ b/src/RestSharp/RestClientOptions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/ContentType.cs b/src/RestSharp/Serializers/ContentType.cs index 798b37971..0306719da 100644 --- a/src/RestSharp/Serializers/ContentType.cs +++ b/src/RestSharp/Serializers/ContentType.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/DeseralizationException.cs b/src/RestSharp/Serializers/DeseralizationException.cs index 155b677c3..61c590287 100644 --- a/src/RestSharp/Serializers/DeseralizationException.cs +++ b/src/RestSharp/Serializers/DeseralizationException.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/IDeserializer.cs b/src/RestSharp/Serializers/IDeserializer.cs index b76e7b0ce..a1332ff50 100644 --- a/src/RestSharp/Serializers/IDeserializer.cs +++ b/src/RestSharp/Serializers/IDeserializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/IRestSerializer.cs b/src/RestSharp/Serializers/IRestSerializer.cs index e4777857a..9f1f00fb6 100644 --- a/src/RestSharp/Serializers/IRestSerializer.cs +++ b/src/RestSharp/Serializers/IRestSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/ISerializer.cs b/src/RestSharp/Serializers/ISerializer.cs index 79fabfa5c..febd52dcf 100644 --- a/src/RestSharp/Serializers/ISerializer.cs +++ b/src/RestSharp/Serializers/ISerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/IWithDateFormat.cs b/src/RestSharp/Serializers/IWithDateFormat.cs index 35d9a266a..ee693b959 100644 --- a/src/RestSharp/Serializers/IWithDateFormat.cs +++ b/src/RestSharp/Serializers/IWithDateFormat.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/IWithRootElement.cs b/src/RestSharp/Serializers/IWithRootElement.cs index 22bcea51f..c4cdadca7 100644 --- a/src/RestSharp/Serializers/IWithRootElement.cs +++ b/src/RestSharp/Serializers/IWithRootElement.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Json/RestClientExtensions.cs b/src/RestSharp/Serializers/Json/RestClientExtensions.cs index 00ed71f31..5823ebf61 100644 --- a/src/RestSharp/Serializers/Json/RestClientExtensions.cs +++ b/src/RestSharp/Serializers/Json/RestClientExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Json/SystemTextJsonSerializer.cs b/src/RestSharp/Serializers/Json/SystemTextJsonSerializer.cs index 358072e55..09e05dc03 100644 --- a/src/RestSharp/Serializers/Json/SystemTextJsonSerializer.cs +++ b/src/RestSharp/Serializers/Json/SystemTextJsonSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/SerializerRecord.cs b/src/RestSharp/Serializers/SerializerRecord.cs index faee107b1..49ff58630 100644 --- a/src/RestSharp/Serializers/SerializerRecord.cs +++ b/src/RestSharp/Serializers/SerializerRecord.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/DotNetXmlDeserializer.cs b/src/RestSharp/Serializers/Xml/DotNetXmlDeserializer.cs index 0804a22f3..f05a8f22f 100644 --- a/src/RestSharp/Serializers/Xml/DotNetXmlDeserializer.cs +++ b/src/RestSharp/Serializers/Xml/DotNetXmlDeserializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/DotNetXmlSerializer.cs b/src/RestSharp/Serializers/Xml/DotNetXmlSerializer.cs index 46ff42b8e..d684cc9af 100644 --- a/src/RestSharp/Serializers/Xml/DotNetXmlSerializer.cs +++ b/src/RestSharp/Serializers/Xml/DotNetXmlSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/DotNetXmlSerializerClientExtensions.cs b/src/RestSharp/Serializers/Xml/DotNetXmlSerializerClientExtensions.cs index ea9117002..87ce5a36e 100644 --- a/src/RestSharp/Serializers/Xml/DotNetXmlSerializerClientExtensions.cs +++ b/src/RestSharp/Serializers/Xml/DotNetXmlSerializerClientExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/IXmlDeserializer.cs b/src/RestSharp/Serializers/Xml/IXmlDeserializer.cs index 5f2d8c59c..975cce014 100644 --- a/src/RestSharp/Serializers/Xml/IXmlDeserializer.cs +++ b/src/RestSharp/Serializers/Xml/IXmlDeserializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/IXmlSerializer.cs b/src/RestSharp/Serializers/Xml/IXmlSerializer.cs index 62771df10..255c9e0fd 100644 --- a/src/RestSharp/Serializers/Xml/IXmlSerializer.cs +++ b/src/RestSharp/Serializers/Xml/IXmlSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Serializers/Xml/XmlRestSerializer.cs b/src/RestSharp/Serializers/Xml/XmlRestSerializer.cs index 37c54a46c..37dcb94c1 100644 --- a/src/RestSharp/Serializers/Xml/XmlRestSerializer.cs +++ b/src/RestSharp/Serializers/Xml/XmlRestSerializer.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Sync/AsyncHelpers.cs b/src/RestSharp/Sync/AsyncHelpers.cs index dd9fadb13..fb73c02fd 100644 --- a/src/RestSharp/Sync/AsyncHelpers.cs +++ b/src/RestSharp/Sync/AsyncHelpers.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Sync/RestClient.Sync.cs b/src/RestSharp/Sync/RestClient.Sync.cs index edf1b7a99..0c982ddfb 100644 --- a/src/RestSharp/Sync/RestClient.Sync.cs +++ b/src/RestSharp/Sync/RestClient.Sync.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Sync/RestClientExtensions.Sync.Json.cs b/src/RestSharp/Sync/RestClientExtensions.Sync.Json.cs index 3b3b3a63d..7c7b88cd2 100644 --- a/src/RestSharp/Sync/RestClientExtensions.Sync.Json.cs +++ b/src/RestSharp/Sync/RestClientExtensions.Sync.Json.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2021 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/RestSharp/Sync/RestClientExtensions.Sync.cs b/src/RestSharp/Sync/RestClientExtensions.Sync.cs index 4e166ef4b..58be4e927 100644 --- a/src/RestSharp/Sync/RestClientExtensions.Sync.cs +++ b/src/RestSharp/Sync/RestClientExtensions.Sync.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/test/RestSharp.InteractiveTests/TwitterClient.cs b/test/RestSharp.InteractiveTests/TwitterClient.cs index 344b668b1..8659a2a6d 100644 --- a/test/RestSharp.InteractiveTests/TwitterClient.cs +++ b/test/RestSharp.InteractiveTests/TwitterClient.cs @@ -1,4 +1,4 @@ -// Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community +// Copyright (c) .NET Foundation and Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.