Skip to content

Commit

Permalink
Support batch multiPart requests and responses (#14275)
Browse files Browse the repository at this point in the history
* wip

* wip

* support batch multiPart requests and responses

* remove RequestContent.Headers

* remove test mode

* remove HashCodeCombiner

* remove StringSegment and StringTokenizer

* Multipart subdir in shared, remove more types

* remove consts and error classes

* explicit line breaks in SendMultipartData test

* pr comments

* multipart tests

* refactor tests

* export core
  • Loading branch information
christothes authored Aug 21, 2020
1 parent 036c8a9 commit 551a6d6
Show file tree
Hide file tree
Showing 25 changed files with 2,811 additions and 78 deletions.
3 changes: 3 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.net461.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,18 @@ public static partial class Names
{
public static string Accept { get { throw null; } }
public static string Authorization { get { throw null; } }
public static string ContentDisposition { get { throw null; } }
public static string ContentLength { get { throw null; } }
public static string ContentType { get { throw null; } }
public static string Date { get { throw null; } }
public static string ETag { get { throw null; } }
public static string Host { get { throw null; } }
public static string IfMatch { get { throw null; } }
public static string IfModifiedSince { get { throw null; } }
public static string IfNoneMatch { get { throw null; } }
public static string IfUnmodifiedSince { get { throw null; } }
public static string Range { get { throw null; } }
public static string Referer { get { throw null; } }
public static string UserAgent { get { throw null; } }
public static string XMsDate { get { throw null; } }
public static string XMsRange { get { throw null; } }
Expand Down
3 changes: 3 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,18 @@ public static partial class Names
{
public static string Accept { get { throw null; } }
public static string Authorization { get { throw null; } }
public static string ContentDisposition { get { throw null; } }
public static string ContentLength { get { throw null; } }
public static string ContentType { get { throw null; } }
public static string Date { get { throw null; } }
public static string ETag { get { throw null; } }
public static string Host { get { throw null; } }
public static string IfMatch { get { throw null; } }
public static string IfModifiedSince { get { throw null; } }
public static string IfNoneMatch { get { throw null; } }
public static string IfUnmodifiedSince { get { throw null; } }
public static string Range { get { throw null; } }
public static string Referer { get { throw null; } }
public static string UserAgent { get { throw null; } }
public static string XMsDate { get { throw null; } }
public static string XMsRange { get { throw null; } }
Expand Down
14 changes: 12 additions & 2 deletions sdk/core/Azure.Core/src/HttpHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,19 @@ public static class Names
/// Returns. <code>"If-Unmodified-Since"</code>
/// </summary>
public static string IfUnmodifiedSince => "If-Unmodified-Since";
/// <summary>
/// Returns. <code>"Referer"</code>
/// </summary>
public static string Referer => "Referer";
/// <summary>
/// Returns. <code>"Host"</code>
/// </summary>
public static string Host => "Host";

internal static string Referer => "Referer";
internal static string Host => "Host";
/// <summary>
/// Returns <code>"Content-Disposition"</code>
/// </summary>
public static string ContentDisposition => "Content-Disposition";
}

#pragma warning disable CA1034 // Nested types should not be visible
Expand Down
Loading

0 comments on commit 551a6d6

Please sign in to comment.