diff --git a/Postgrest/Helpers.cs b/Postgrest/Helpers.cs index 23c9618..1dd3589 100644 --- a/Postgrest/Helpers.cs +++ b/Postgrest/Helpers.cs @@ -132,7 +132,10 @@ public static Dictionary PrepareRequestHeaders(HttpMethod method headers.Add("Range", $"{rangeFrom}-{(rangeTo != int.MinValue ? rangeTo.ToString() : null)}"); } - headers.Add("X-Client-Info", Util.GetAssemblyVersion()); + if (!headers.ContainsKey("X-Client-Info")) + { + headers.Add("X-Client-Info", Util.GetAssemblyVersion()); + } return headers; } diff --git a/Postgrest/Postgrest.csproj b/Postgrest/Postgrest.csproj index 7ea43b0..cdb863a 100644 --- a/Postgrest/Postgrest.csproj +++ b/Postgrest/Postgrest.csproj @@ -17,11 +17,11 @@ The bulk of this library is a translation and c-sharp-ification of the supabase/postgrest-js library. https://avatars.githubusercontent.com/u/54469796?s=200&v=4 supabase,postgrest - 1.0.7 - 1.0.7 + 1.0.8 + 1.0.8 - 1.0.7 + 1.0.8 $(VersionPrefix)-$(VersionSuffix) diff --git a/PostgrestExample/PostgrestExample.csproj b/PostgrestExample/PostgrestExample.csproj index ccf40db..6b455fa 100644 --- a/PostgrestExample/PostgrestExample.csproj +++ b/PostgrestExample/PostgrestExample.csproj @@ -3,7 +3,7 @@ Exe netcoreapp3.1 - 1.0.7 + 1.0.8 diff --git a/PostgrestTests/PostgrestTests.csproj b/PostgrestTests/PostgrestTests.csproj index 31a614a..974edbd 100644 --- a/PostgrestTests/PostgrestTests.csproj +++ b/PostgrestTests/PostgrestTests.csproj @@ -4,7 +4,7 @@ netcoreapp3.1 false - 1.0.7 + 1.0.8 diff --git a/postgrest-csharp.sln b/postgrest-csharp.sln index 1b4fb41..a02fc42 100644 --- a/postgrest-csharp.sln +++ b/postgrest-csharp.sln @@ -38,6 +38,6 @@ Global $1.DirectoryNamespaceAssociation = PrefixedHierarchical $0.StandardHeader = $2 $0.VersionControlPolicy = $3 - version = 1.0.7 + version = 1.0.8 EndGlobalSection EndGlobal