-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(request-content-type): use provided content type in case of null …
…body (#75)
- Loading branch information
1 parent
f8c2005
commit 518dc0b
Showing
5 changed files
with
110 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// <copyright file="StringExtensions.cs" company="APIMatic"> | ||
// Copyright (c) APIMatic. All rights reserved. | ||
// </copyright> | ||
using System; | ||
|
||
namespace APIMatic.Core.Utilities | ||
{ | ||
internal static class StringExtensions | ||
{ | ||
public static bool EqualsIgnoreCase(this string source, string target) | ||
{ | ||
return source.Equals(target, StringComparison.InvariantCultureIgnoreCase); | ||
} | ||
} | ||
} |