Commit 46de1e6
committed
[dotnet] Explicitly remove Expect header
When using the HttpClient class, the behavior for an HTTP POST request
is different between .NET Framework and .NET Core. In the .NET Framework
case, the client automatically adds an `Expect: 100-Continue` header.
When the remote end does not send a 100 response, the client hangs
waiting for it. This change explicitly removes that header for all HTTP
requests. Fixes issue #9277.1 parent 8e1a3f6 commit 46de1e6
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| |||
0 commit comments