Skip to content

Commit

Permalink
rework HTTP version handling (#51454)
Browse files Browse the repository at this point in the history
* rework HTTP version handling

* address review feedback

* fix version error string

Co-authored-by: Geoffrey Kizer <geoffrek@windows.microsoft.com>
  • Loading branch information
geoffkizer and Geoffrey Kizer authored Apr 27, 2021
1 parent ac82799 commit 08e00be
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 179 deletions.
3 changes: 0 additions & 3 deletions src/libraries/System.Net.Http/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,6 @@
<data name="net_http_upgrade_not_enabled_sync" xml:space="preserve">
<value>HTTP request version upgrade is not enabled for synchronous '{0}'. Do not use '{1}' version policy for synchronous HTTP methods.</value>
</data>
<data name="net_http_requested_version_not_enabled" xml:space="preserve">
<value>Requesting HTTP version {0} with version policy {1} while HTTP/{2} is not enabled.</value>
</data>
<data name="net_http_requested_version_cannot_establish" xml:space="preserve">
<value>Requesting HTTP version {0} with version policy {1} while unable to establish HTTP/{2} connection.</value>
</data>
Expand Down
Loading

0 comments on commit 08e00be

Please sign in to comment.