Bug 45667 - Send Http Put request to server redirect URL, I got error “This request requires buffering of data to succeed”.
Summary: Send Http Put request to server redirect URL, I got error “This request requi...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Net.Http (show other bugs)
Version: 4.4.2 (C7SR1)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-18 20:08 UTC by lzhi
Modified: 2016-10-19 22:13 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description lzhi 2016-10-18 20:08:00 UTC
When I send Http Put request to server redirect URL, I got error “This request requires buffering of data to succeed”.
Http Get with redirect works well and Put request to server without redirect works well
 
I have two test app here:
Server Test App:  https://github.com/zhili1208/MockServerOnMono/blob/master/MockServer/Program.cs#L15-L22
Push Client Test App: https://github.com/zhili1208/monoPushIssue/tree/master/MacPushTestApp
Comment 1 Marek Safar 2016-10-19 21:36:53 UTC
Could you also include command line arguments you are using for MacPushTestApp
Comment 2 lzhi 2016-10-19 22:13:06 UTC
you can remove apikey part, no need that here

So set here https://github.com/zhili1208/monoPushIssue/blob/master/MacPushTestApp/Program.cs#L16-L18 like this 

remove apikey
PathToPath = [some local nupkg path] like "/Users/username/Downloads/test.nupkg"
Source = "http://localhost:50231/redirect"

Note You need to log in before you can comment on or make changes to this bug.