Commit Graph
461 Commits
Author SHA1 Message Date
David Shulman 46241bfd10 Fix WinHttpHandler uri escaping for HTTP requests
There is a behavior difference between .NET Framework (Desktop) and
CoreFx. Desktop will send some reserved characters (such as square
brackets) on the wire as-is without any percent-encoding. CoreFx using
WinHttpHandler is doing additional percent-encoding on those characters.

This fix changes WinHttpHandler behavior so that it won't do any additional
percent-encoding. Whatever encoding System.Uri has done will be
transmitted as-is.

There is a separate problem where System.Uri itself doesn't
percent-encode these characters during normalization. That is due to
changes in the .NET Framework 4.5 timeframe (2012) where System.Uri was changed to
follow more IRI (RFC 3987) rules. One could argue that was the real
problem. But since this behavior is already baked into .NET Framework,
the right fix for the below issue is to match Desktop behavior.

We will be having a separate discussion/issue to analyze/debate whether System.Uri
needs to be changed (or not) in the future. The various URI and HTTP RFCs have
ambiguous language in these areas.

Fixes dotnet/corefx#11156


Commit migrated from https://github.com/dotnet/corefx/commit/429dfa4c320830ef3dc2d84f065064cc33239f1d
2016-08-25 14:14:57 -07:00
dotnet-bot f7dc0cd84c Update CoreFx to beta-24422-01
Commit migrated from https://github.com/dotnet/corefx/commit/fb21d552768d14eee3952dbc9f6be566edc0f333
2016-08-22 14:27:27 +00:00
dotnet-bot 1acadfe091 Update CoreFx to beta-24420-01
Commit migrated from https://github.com/dotnet/corefx/commit/6caa29c79b5353c3b95e8b7721adf6ff338b1ede
2016-08-20 04:10:43 +00:00
dotnet-bot f01e3b6024 Update CoreFx to beta-24419-03
Commit migrated from https://github.com/dotnet/corefx/commit/d854ecd7757124ccbdfe0aeb13688119830d2ef0
2016-08-19 23:22:42 +00:00
dotnet-bot 346ab2b247 Update CoreFx to beta-24419-02
Commit migrated from https://github.com/dotnet/corefx/commit/8430a202bedd30a1453169c2d527c5a4a8cf239a
2016-08-19 14:21:26 +00:00
dotnet-bot 67fcb83db4 Update CoreClr, CoreFx to beta-24419-02, beta-24419-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0feb5c05a7eda514eb9e397976dfd23670451216
2016-08-19 08:35:19 +00:00
dotnet-bot e51e07b82a Update CoreFx to beta-24418-03
Commit migrated from https://github.com/dotnet/corefx/commit/5acf643e5ec36a0650ba523bc97f246702cb9ec3
2016-08-18 23:59:51 +00:00
David Shulman 0f7632d640 Merge pull request dotnet/corefx#10948 from davidsh/winhttp_http2
Add HTTP/2 support to WinHttpHandler

Commit migrated from https://github.com/dotnet/corefx/commit/ca32c0309d059773f4212050761814f3eaacc448
2016-08-18 15:50:48 -07:00
David Shulman 59efacec45 Add HTTP/2 support to WinHttpHandler
Windows 10 Anniversary release a.k.a Windows 10 Version 1607 added support to native WinHTTP for HTTP/2 protocol support. Added code to use this when sending request messages  with HTTP/2. This change affects both the System.Net.Http and System.Net.Http.WinHttpHandler library packages.

Added new tests that validate the functionality and verify the test client is running on the proper version of Windows 10.

Switched the HTTP/2 test server endpoint to www.microsoft.com since it supports HTTP/2.

Fixes dotnet/corefx#4870


Commit migrated from https://github.com/dotnet/corefx/commit/16246fde864d7f88f56ed0ac76055711116192e9
2016-08-18 13:58:54 -07:00
Stephen Toub 5253979c17 Merge pull request dotnet/corefx#10956 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24418-03, beta-24418-02, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/0f3056fbfda1e66a968d0ff31233320eb53b1c91
2016-08-18 15:00:23 -04:00
dotnet-bot b2170df75d Update CoreClr, CoreFx to beta-24418-03, beta-24418-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/7c1dfb8e7d952c246efda2bf956d3391c6da8544
2016-08-18 16:35:06 +00:00
Stephen Toub 63e3cee9d9 Add missing license headers
Some .cs files have snuck in without them.


Commit migrated from https://github.com/dotnet/corefx/commit/58d304219848e2021680ceb027fddb41b506e780
2016-08-18 11:34:54 -04:00
dotnet-bot d699af90da Update CoreClr, CoreFx, External to beta-24418-02, beta-24418-01, beta-24418-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/c95c1904c4efbae900744fafc98592530fab2726
2016-08-18 08:33:21 +00:00
dotnet-bot 39ae5fc430 Update CoreClr, CoreFx to beta-24416-04, beta-24416-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/727593b9fae753fd12a0f53ecedcc9b7db2d9a78
2016-08-16 16:39:56 +00:00
dotnet-bot ae71404cf2 Update CoreClr, CoreFx to beta-24416-03, beta-24416-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/9da7e25b03c3fa6cc8135a445fb1470292695780
2016-08-16 08:35:17 +00:00
dotnet-bot 5b24eda3e2 Update CoreClr, CoreFx to beta-24415-03, beta-24415-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2ffeaf70ba986937f7db938dda0ac349a9c8742a
2016-08-15 16:37:43 +00:00
dotnet bot e27d1f0f86 Update CoreClr, CoreFx to beta-24413-03, beta-24413-01, respectively (dotnet/corefx#10753)
Commit migrated from https://github.com/dotnet/corefx/commit/49e569b01a307c2af2d0f2d598fcacd4805699d4
2016-08-13 11:29:26 -07:00
dotnet bot 3575966f41 Update CoreClr, CoreFx, External to beta-24412-03, beta-24412-02, beta-24412-00, respectively (dotnet/corefx#10735)
Commit migrated from https://github.com/dotnet/corefx/commit/6c90f64e25e754af5ab9db9a8d6cb9f719939b02
2016-08-12 21:38:16 -07:00
dotnet-bot db4ee53f21 Update CoreClr, CoreFx to beta-24411-03, beta-24411-04, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/84eb45211315432baf3e63089272d7d5e484eb2c
2016-08-12 00:09:45 +00:00
dotnet-bot 087b704341 Update CoreClr, CoreFx, External to beta-24410-03, beta-24411-01, beta-24411-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/a8f85186eb1fa17dec85fb44fa4120170cd6e001
2016-08-11 05:17:52 +00:00
Karthik Rajasekaran 2f003ffbad Update Buildtools to 704-03 and partially remove warnings related to conflicts
Use Xunit RTM Beta


Commit migrated from https://github.com/dotnet/corefx/commit/df86cae7c2c78db76a34f4f76a141e7155d597b2
2016-08-04 13:23:25 -07:00
dotnet-bot c40a220ce0 Updating CoreFx dependencies to beta-24403-05
Commit migrated from https://github.com/dotnet/corefx/commit/673f287de906b0fcaf83e7ad58141a33187a1bf3
2016-08-03 02:18:14 +00:00
Ian Hays fbe95a0f3f Allow netcoreapp1.1 as a valid TestTFM
Updates buildtools and BuildTest versions to consume some changes that allow netcoreapp1.1 as a TestTFM.


Commit migrated from https://github.com/dotnet/corefx/commit/db07856e513a72d93793dade3264dcce4fc9fdad
2016-08-01 13:04:23 -07:00
dotnet-bot e5693c2094 Updating CoreFx dependencies to beta-24327-03
Commit migrated from https://github.com/dotnet/corefx/commit/784db317cd9bd2329acd34becaa1ff7d96b6d68d
2016-07-27 14:04:29 +00:00
dotnet-bot 82d34b72e3 Updating CoreFx dependencies to beta-24327-02
Commit migrated from https://github.com/dotnet/corefx/commit/af7e9b73a2b7c8fa1c1e2eb733b204a8d70e54f0
2016-07-27 08:08:42 +00:00
dotnet-bot 408aa41c5c Updating CoreFx dependencies to beta-24327-01
Commit migrated from https://github.com/dotnet/corefx/commit/6eda38359d760496a05d1ae3eed2714b7d3cfe12
2016-07-27 01:21:40 +00:00
dotnet-bot cbfb44233d Updating CoreFx dependencies to beta-24326-03
Commit migrated from https://github.com/dotnet/corefx/commit/0137f6e286b070ad112a6f1bf0d495151b131412
2016-07-26 13:46:32 +00:00
dotnet-bot b76c7358b5 Updating CoreFx dependencies to beta-24325-03
Commit migrated from https://github.com/dotnet/corefx/commit/4b74d1ddb9e82de17c92f0b97e935f2ec48fee38
2016-07-25 13:10:07 +00:00
Stephen Toub b49f4455f3 Updating CoreClr and CoreFX dependencies to beta-24325-02
Commit migrated from https://github.com/dotnet/corefx/commit/8dd94afc345f89069841aa3a5ea5a44c61532a76
2016-07-25 07:48:14 -04:00
dotnet-bot b561ca7374 Updating CoreFx dependencies to beta-24324-03
Commit migrated from https://github.com/dotnet/corefx/commit/1e421180315a2df1baff186d4d19a59b48fca279
2016-07-24 13:44:42 +00:00
Stephen Toub 47aab7adfc Updating CoreFx dependencies to beta-24324-02, External to 24234-00
Commit migrated from https://github.com/dotnet/corefx/commit/9100c4b4708c97d3bfd5c069861ebd2368c96c6f
2016-07-24 07:34:09 -04:00
Stephen Toub 18a18af993 Updating External dependencies to beta-24322-00, CoreFX to 24322-03
Commit migrated from https://github.com/dotnet/corefx/commit/81c33090a9b8fa89d937d733669e74a30272571b
2016-07-22 07:31:33 -07:00
dotnet-bot e09df3e28e Updating CoreFx dependencies to beta-24322-01
Commit migrated from https://github.com/dotnet/corefx/commit/6587ac2ab2bd05e5ec35a78e4826aa7c5b63a670
2016-07-22 01:31:53 +00:00
dotnet-bot 2f866b1d28 Updating CoreFx dependencies to beta-24320-04
Commit migrated from https://github.com/dotnet/corefx/commit/ac175131ff403e619abd7a034eccdbe9e81998ab
2016-07-20 19:04:36 +00:00
dotnet-bot 98d5e68ae7 Updating CoreFx dependencies to beta-24320-01
Commit migrated from https://github.com/dotnet/corefx/commit/495c136e2f5675f1898ff37368ce59e6ec7194b8
2016-07-20 01:46:32 +00:00
dotnet-bot f6f6ad50ff Updating CoreFx dependencies to beta-24318-05
Commit migrated from https://github.com/dotnet/corefx/commit/db3dc4be8872214015663687d15c91ba4bd46351
2016-07-18 19:42:13 +00:00
dotnet-bot fa4274e0fb Updating CoreFx dependencies to beta-24318-03
Commit migrated from https://github.com/dotnet/corefx/commit/2783cb0823efd899ec9960120c588b855723ad39
2016-07-18 13:39:56 +00:00
dotnet-bot e601eb7569 Updating CoreFx dependencies to beta-24318-02
Commit migrated from https://github.com/dotnet/corefx/commit/f2b5d09daf664fad4301e275bc5b5815691a8496
2016-07-18 07:40:24 +00:00
dotnet-bot 69de820504 Updating CoreFx dependencies to beta-24317-01
Commit migrated from https://github.com/dotnet/corefx/commit/3d3f001eeaedc386220ba39437465e72f57f3e8f
2016-07-17 01:40:40 +00:00
dotnet-bot e261ed04ee Updating CoreFx dependencies to beta-24316-04
Commit migrated from https://github.com/dotnet/corefx/commit/4baa9bd81d9c997f80546843bbeb30ebbdef5577
2016-07-16 19:43:32 +00:00
dotnet-bot cc0001723b Updating CoreFx dependencies to beta-24316-03
Commit migrated from https://github.com/dotnet/corefx/commit/32dc7f7d3915e05a142753398b635853cfe780e9
2016-07-16 13:40:10 +00:00
dotnet-bot 2d6877c232 Updating CoreFx dependencies to beta-24316-01
Commit migrated from https://github.com/dotnet/corefx/commit/f5af2d26ac4ce2c75f798ad8c6268a529f785728
2016-07-16 01:41:03 +00:00
dotnet-bot 6b7f4314ef Updating CoreFx dependencies to beta-24315-06
Commit migrated from https://github.com/dotnet/corefx/commit/0c5fef6eb63bb00e11dc27c200ddb0205bba22a2
2016-07-15 20:47:52 +00:00
dotnet-bot 8f238ce5a3 Updating CoreFx dependencies to beta-24315-04
Commit migrated from https://github.com/dotnet/corefx/commit/2574648af2a560afac57e27439060b96349047c6
2016-07-15 14:02:24 +00:00
dotnet-bot 4da0c75411 Updating CoreFx dependencies to beta-24315-03
Commit migrated from https://github.com/dotnet/corefx/commit/f893c77cf9839e981ddcca8517bf74c389839ae7
2016-07-15 08:02:37 +00:00
dotnet-bot 97e1f4cb54 Updating CoreFx dependencies to beta-24315-02
Commit migrated from https://github.com/dotnet/corefx/commit/1ac31aa3d5011e381b5ab7bdae4def8d39c99d89
2016-07-15 02:52:00 +00:00
dotnet-bot 936455fcad Updating CoreFx dependencies to beta-24314-05
Commit migrated from https://github.com/dotnet/corefx/commit/dbc207eb595a3367088245419dbfd2a1035d2c12
2016-07-14 22:01:31 +00:00
Cristian Pop 90b1d50bd4 Merge pull request dotnet/corefx#10045 from CIPop/test
Adding server code. Fixing IIS application deployment.

Commit migrated from https://github.com/dotnet/corefx/commit/dca1b0fcc8ec1d1dbe42d56222b18fcc5307d32b
2016-07-14 10:54:37 -07:00
dotnet-bot 4ef83299a1 Updating CoreFx dependencies to beta-24314-03
Commit migrated from https://github.com/dotnet/corefx/commit/d03c57ae02c5ec124542c857e6a58c1436e0543d
2016-07-14 13:16:00 +00:00
Stephen Toub bfe6fe27e1 Merge pull request dotnet/corefx#10055 from dotnet-bot/UpdateDependencies20160714052043
Updating External dependencies to beta-24314-00

Commit migrated from https://github.com/dotnet/corefx/commit/4a53fd2dcc8ede8e1677deb92090a38fcde186e0
2016-07-14 07:57:13 -04:00