Skip to content

Commit 01a81fb

Browse files
authored
Merge pull request Azure#9883 from panchagnula/sisirap-ZipDeployFixForKuduLite
webapp: Updating the content type header for Zip & war deploy to not use multipart to work with kudulite & classic
2 parents a0e22c2 + acaf7fc commit 01a81fb

File tree

5 files changed

+892
-1062
lines changed

5 files changed

+892
-1062
lines changed

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## Version 1.6.2
2323
* Fixed miscellaneous typos across module
24-
* Support user-assigned MSI in Azure Functiosn Authentication (#9479)
24+
* Support user-assigned MSI in Azure Functions Authentication (#9479)
2525

2626
## Version 1.6.1
2727
* Update common code to use latest version of ClientRuntime

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests/TestPublishWebAppFromWar.json

Lines changed: 571 additions & 400 deletions
Large diffs are not rendered by default.

src/Websites/Websites.Test/SessionRecords/Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests/TestPublishWebAppFromZip.json

Lines changed: 318 additions & 660 deletions
Large diffs are not rendered by default.

src/Websites/Websites/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fixing the Publish-AzureWebapp to work across Linux and windows
2122

2223
## Version 1.4.1
2324
* Fixed miscellaneous typos across module

src/Websites/Websites/Cmdlets/WebApps/PublishAzureWebApp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public override void ExecuteCmdlet()
7575
var byteArray = Encoding.ASCII.GetBytes(user.PublishingUserName + ":" + user.PublishingPassword);
7676
client.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));
7777
HttpContent fileContent = new StreamContent(s);
78-
fileContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("multipart/form-data");
78+
fileContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/zip");
7979
r = client.PostAsync(deployUrl, fileContent).Result;
8080

8181
int numChecks = 0;

0 commit comments

Comments
 (0)