Skip to content

Commit

Permalink
Merge pull request #76 from JPRuskin/fixCeche
Browse files Browse the repository at this point in the history
Fixes Typo in HttpClient Examples
  • Loading branch information
louisfischer authored Apr 4, 2023
2 parents 30b276f + 8553190 commit c3044f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Cake.Http/HttpClientAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static string HttpGet(this ICakeContext context, string address, HttpSett
/// var responseBody = HttpGet("https://www.google.com", settings =>
/// {
/// settings.UseBearerAuthorization("1af538baa9045a84c0e889f672baf83ff24")
/// .SetNoCeche()
/// .SetNoCache()
/// .AppendHeader("Connection", "keep-alive");
/// });
/// </code>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Http/HttpClientAsyncAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static async Task<string> HttpGetAsync(this ICakeContext context, string
/// var responseBody = await HttpGetAsync("https://www.google.com", settings =>
/// {
/// settings.UseBearerAuthorization("1af538baa9045a84c0e889f672baf83ff24")
/// .SetNoCeche()
/// .SetNoCache()
/// .AppendHeader("Connection", "keep-alive");
/// });
/// </code>
Expand Down
8 changes: 4 additions & 4 deletions src/Cake.Http/HttpSettingsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public static HttpSettings SetJsonRequestBody<T>(this HttpSettings settings, T d
/// <summary>
/// Sets the request body as form url encoded.
/// Only valid for Http Methods that allow a request body.
/// Any existing content in the RequestBody is overriden.
/// Any existing content in the RequestBody is overridden.
/// </summary>
/// <param name="settings">The settings.</param>
/// <param name="data">Dictionary of data to url encode and set to the body.</param>
Expand All @@ -222,7 +222,7 @@ public static HttpSettings SetFormUrlEncodedRequestBody(this HttpSettings settin
/// <summary>
/// Sets the request body as form url encoded.
/// Only valid for Http Methods that allow a request body.
/// Any existing content in the RequestBody is overriden.
/// Any existing content in the RequestBody is overridden.
/// Accepts multiple parameters with the same key.
/// </summary>
/// <param name="settings">The settings.</param>
Expand All @@ -245,7 +245,7 @@ public static HttpSettings SetFormUrlEncodedRequestBody(this HttpSettings settin
/// <summary>
/// Sets the request body as form url encoded.
/// Only valid for Http Methods that allow a request body.
/// Any existing content in the RequestBody is overriden.
/// Any existing content in the RequestBody is overridden.
/// Accepts multiple parameters with the same key.
///This can be used to post files to a remote URL
/// </summary>
Expand Down Expand Up @@ -282,7 +282,7 @@ public static HttpSettings SetMultipartFormDataRequestBody(this HttpSettings set
/// <summary>
/// Sets the request body as form url encoded.
/// Only valid for Http Methods that allow a request body.
/// Any existing content in the RequestBody is overriden.
/// Any existing content in the RequestBody is overridden.
/// Accepts multiple parameters with the same key.
/// This can be used to post files to a remote URL
/// </summary>
Expand Down

0 comments on commit c3044f8

Please sign in to comment.