From 3886f109ebbde50f7aaa291a9962f9f4774ede2f Mon Sep 17 00:00:00 2001 From: philals Date: Tue, 25 Aug 2015 09:11:14 +1200 Subject: [PATCH 1/3] Update README.md Remove that image that does not load. Adds message to say library is unsupported and links to new library. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a8b01df..a76e0aa 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ XeroApi .Net Library ==================== -![Project status](http://stillmaintained.com/XeroAPI/XeroAPI.Net.png) - +This library is unsupported. Please see [https://github.com/XeroAPI/Xero-Net](https://github.com/XeroAPI/Xero-Net) for the updated and supported .Net library. Introduction ------------ From 6791bc4825f043b1f3b6bc2db26e0e32aecf4d80 Mon Sep 17 00:00:00 2001 From: Ronan Quirke Date: Mon, 14 Sep 2015 16:57:21 +1200 Subject: [PATCH 2/3] Increased visibility of no longer supported notice --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a76e0aa..af9607d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ XeroApi .Net Library ==================== +Unsupported - no longer under active development +------------ This library is unsupported. Please see [https://github.com/XeroAPI/Xero-Net](https://github.com/XeroAPI/Xero-Net) for the updated and supported .Net library. Introduction From 3946a195397870b81cb5ce55ad9b20dd9c679658 Mon Sep 17 00:00:00 2001 From: Matthew Mortimer Date: Fri, 9 Nov 2018 14:06:26 +1300 Subject: [PATCH 3/3] Fix bug with Content-Length. Bump => 1.1.0.34 --- source/XeroAPI.Net.nuspec | 8 ++++---- .../OAuth/Consumer/ConsumerResponse.cs | 2 +- .../OAuth/Framework/DateTimeUtility.cs | Bin 1629 -> 1624 bytes .../XeroApi/OAuth/Framework/NonceGenerator.cs | Bin 1588 -> 1583 bytes source/XeroApi/Properties/AssemblyInfo.cs | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/XeroAPI.Net.nuspec b/source/XeroAPI.Net.nuspec index 41ef3c5..b75a0b4 100644 --- a/source/XeroAPI.Net.nuspec +++ b/source/XeroAPI.Net.nuspec @@ -1,16 +1,16 @@ - + XeroAPI.Net - 0.0.0.0 + 1.1.0.34 .Net wrapper library for Xero API XeroAPI https://github.com/XeroAPI/XeroAPI.Net https://secure.gravatar.com/avatar/7fff030fb8040a5157c3fd463858167f.png?s=128 false - .Net wrapper library for Xero API. This library allows you to perform GET/PUT/POST methods against the Xero API without needing to know the internals of xml serialisation, oauth signatures or character encodings. See http://developer.xero.com for more information. - .Net wrapper library for Xero API + Obsolete Xero SDK. See https://github.com/XeroAPI/Xero-NetStandard for the new dotnet standard SDK + Obsolete Xero SDK. See https://github.com/XeroAPI/Xero-NetStandard for the new dotnet standard SDK diff --git a/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs b/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs index 58e13c7..801e5ee 100644 --- a/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs +++ b/source/XeroApi/OAuth/Consumer/ConsumerResponse.cs @@ -57,7 +57,7 @@ public class ConsumerResponse : IConsumerResponse if (webResponse.Headers["Content-Type"] != string.Empty) ContentType = webResponse.Headers["Content-Type"]; - if (webResponse.Headers["Content-Length"] != string.Empty) + if (!string.IsNullOrEmpty(webResponse.Headers["Content-Length"])) ContentLength = int.Parse(webResponse.Headers["Content-Length"]); TimeTaken = timeTaken; diff --git a/source/XeroApi/OAuth/Framework/DateTimeUtility.cs b/source/XeroApi/OAuth/Framework/DateTimeUtility.cs index 6922d5c0376f9d7a0957fbd64b631add60db591c..1d6a8767a0f11e217fbb1feb4b57700da5d6e4b6 100644 GIT binary patch delta 7 Ocmcc1bAx9?1RDSihyvUI delta 13 Ucmcb?bC+jB1RE