Skip to content

Commit 65cf571

Browse files
markekrausTravisEz13
authored andcommitted
Replace httpbin.org/encoding Tests with WebListener (PowerShell#4869)
1 parent c9cf843 commit 65cf571

File tree

7 files changed

+272
-24
lines changed

7 files changed

+272
-24
lines changed

.spelling

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ TimeZone
312312
TPA
313313
TTY's
314314
UserData
315+
Utf8
315316
UTF8NoBOM
316317
v0.1.0
317318
v0.2.0

test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -517,18 +517,14 @@ Describe "Invoke-WebRequest tests" -Tags "Feature" {
517517

518518
It "Invoke-WebRequest supports request that returns page containing UTF-8 data." {
519519

520-
$command = "Invoke-WebRequest -Uri http://httpbin.org/encoding/utf8 -TimeoutSec 5"
520+
$uri = Get-WebListenerUrl -Test 'Encoding/Utf8'
521+
$command = "Invoke-WebRequest -Uri '$uri'"
521522

522523
$result = ExecuteWebCommand -command $command
523524
ValidateResponse -response $result
524525

525-
# Validate response content
526-
# TODO: There is a bug on ConvertFrom-Json that fails for utf8.
527-
<#
528-
$jsonContent = $result.Output.Content | ConvertFrom-Json
529-
$jsonContent.headers.Host | Should Match "httpbin.org"
530-
$jsonContent.headers.'User-Agent' | Should Match "WindowsPowerShell"
531-
#>
526+
$Result.Output.Encoding.BodyName | Should Be 'utf-8'
527+
$Result.Output.Content | Should Match '⡌⠁⠧⠑ ⠼⠁⠒ ⡍⠜⠇⠑⠹⠰⠎ ⡣⠕⠌'
532528
}
533529

534530
It "Invoke-WebRequest validate timeout option" {
@@ -1376,19 +1372,14 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" {
13761372
$result.Error.FullyQualifiedErrorId | Should Be "WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand"
13771373
}
13781374

1379-
<#
13801375
It "Invoke-RestMethod supports request that returns page containing UTF-8 data." {
13811376

1382-
$command = "Invoke-RestMethod -Uri http://httpbin.org/encoding/utf8 -TimeoutSec 5"
1383-
1384-
$result = ExecuteWebCommand -command $command
1377+
$uri = Get-WebListenerUrl -Test 'Encoding/Utf8'
1378+
$command = "Invoke-RestMethod -Uri '$uri'"
13851379

1386-
# Validate response content
1387-
# TODO: There is a bug on ConvertFrom-Json that fails for utf8.
1388-
$result.headers.Host | Should Match "httpbin.org"
1389-
$result.headers.'User-Agent' | Should Match "WindowsPowerShell"
1380+
$result = ExecuteWebCommand -command $command
1381+
$Result.Output | Should Match '⡌⠁⠧⠑ ⠼⠁⠒ ⡍⠜⠇⠑⠹⠰⠎ ⡣⠕⠌'
13901382
}
1391-
#>
13921383

13931384
It "Invoke-RestMethod validate timeout option" {
13941385

@@ -1609,13 +1600,6 @@ Describe "Invoke-RestMethod tests" -Tags "Feature" {
16091600
$result.Output.args.testparam | Should Be "testvalue"
16101601
}
16111602

1612-
It "Invoke-RestMethod supports request that returns plain text response." {
1613-
1614-
$command = "Invoke-RestMethod -Uri 'http://httpbin.org/encoding/utf8'"
1615-
$result = ExecuteWebCommand -command $command
1616-
$result.Error | Should BeNullOrEmpty
1617-
}
1618-
16191603
It "Validate Invoke-RestMethod returns HTTP errors in exception" {
16201604

16211605
$command = "Invoke-RestMethod -Uri http://httpbin.org/status/418"

test/tools/Modules/WebListener/WebListener.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ function Get-WebListenerUrl {
114114
[switch]$Https,
115115
[ValidateSet(
116116
'Cert',
117+
'Encoding/Utf8',
117118
'Get',
118119
'Home',
119120
'Multipart',
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
using System;
2+
using System.Collections;
3+
using System.Collections.Generic;
4+
using System.Diagnostics;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Text;
8+
using Microsoft.AspNetCore.Mvc;
9+
using Microsoft.AspNetCore.Http.Extensions;
10+
using Microsoft.Net.Http.Headers;
11+
using mvc.Models;
12+
13+
namespace mvc.Controllers
14+
{
15+
public class EncodingController : Controller
16+
{
17+
public ActionResult Index()
18+
{
19+
string url = "/Encoding/Utf8";
20+
ViewData["Url"] = url;
21+
Response.Redirect(url, false);
22+
return View("~/Views/Redirect/Index.cshtml");
23+
}
24+
25+
public ActionResult Utf8()
26+
{
27+
MediaTypeHeaderValue mediaType = new MediaTypeHeaderValue("text/html");
28+
mediaType.Encoding = Encoding.UTF8;
29+
return View();
30+
}
31+
32+
public IActionResult Error()
33+
{
34+
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
35+
}
36+
}
37+
}

test/tools/WebListener/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Response when certificate is not provided in request:
5959
}
6060
```
6161

62+
## /Encoding/Utf8/
63+
64+
Returns page containing UTF-8 data.
65+
6266

6367
## /Get/
6468

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
<h1>Unicode Demo</h1>
2+
3+
<p>Taken from <a
4+
href="http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt">http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt</a></p>
5+
6+
<pre>
7+
8+
UTF-8 encoded sample plain-text file
9+
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
10+
11+
Markus Kuhn [ˈmaʳkʊs kuːn] <http://www.cl.cam.ac.uk/~mgk25/> — 2002-07-25
12+
13+
14+
The ASCII compatible UTF-8 encoding used in this plain-text file
15+
is defined in Unicode, ISO 10646-1, and RFC 2279.
16+
17+
18+
Using Unicode/UTF-8, you can write in emails and source code things such as
19+
20+
Mathematics and sciences:
21+
22+
∮ E⋅da = Q, n → ∞, ∑ f(i) = ∏ g(i), ⎧⎡⎛┌─────┐⎞⎤⎫
23+
⎪⎢⎜│a²+b³ ⎟⎥⎪
24+
∀x∈ℝ: ⌈x⌉ = −⌊−x⌋, α ∧ ¬β = ¬(¬α ∨ β), ⎪⎢⎜│───── ⎟⎥⎪
25+
⎪⎢⎜⎷ c₈ ⎟⎥⎪
26+
ℕ ⊆ ℕ₀ ⊂ ℤ ⊂ ℚ ⊂ ℝ ⊂ ℂ, ⎨⎢⎜ ⎟⎥⎬
27+
⎪⎢⎜ ∞ ⎟⎥⎪
28+
⊥ < a ≠ b ≡ c ≤ d ≪ ⊤ ⇒ (⟦A⟧ ⇔ ⟪B⟫), ⎪⎢⎜ ⎲ ⎟⎥⎪
29+
⎪⎢⎜ ⎳aⁱ-bⁱ⎟⎥⎪
30+
2H₂ + O₂ ⇌ 2H₂O, R = 4.7 kΩ, ⌀ 200 mm ⎩⎣⎝i=1 ⎠⎦⎭
31+
32+
Linguistics and dictionaries:
33+
34+
ði ıntəˈnæʃənəl fəˈnɛtık əsoʊsiˈeıʃn
35+
Y [ˈʏpsilɔn], Yen [jɛn], Yoga [ˈjoːgɑ]
36+
37+
APL:
38+
39+
((V⍳V)=⍳⍴V)/V←,V ⌷←⍳→⍴∆∇⊃‾⍎⍕⌈
40+
41+
Nicer typography in plain text files:
42+
43+
╔══════════════════════════════════════════╗
44+
║ ║
45+
║ • ‘single’ and “double” quotes ║
46+
║ ║
47+
║ • Curly apostrophes: “We’ve been here” ║
48+
║ ║
49+
║ • Latin-1 apostrophe and accents: '´` ║
50+
║ ║
51+
║ • ‚deutsche‘ „Anführungszeichen“ ║
52+
║ ║
53+
║ • †, ‡, ‰, •, 3–4, —, −5/+5, ™, … ║
54+
║ ║
55+
║ • ASCII safety test: 1lI|, 0OD, 8B ║
56+
║ ╭─────────╮ ║
57+
║ • the euro symbol: │ 14.95 € │ ║
58+
║ ╰─────────╯ ║
59+
╚══════════════════════════════════════════╝
60+
61+
Combining characters:
62+
63+
STARGΛ̊TE SG-1, a = v̇ = r̈, a⃑ ⊥ b⃑
64+
65+
Greek (in Polytonic):
66+
67+
The Greek anthem:
68+
69+
Σὲ γνωρίζω ἀπὸ τὴν κόψη
70+
τοῦ σπαθιοῦ τὴν τρομερή,
71+
σὲ γνωρίζω ἀπὸ τὴν ὄψη
72+
ποὺ μὲ βία μετράει τὴ γῆ.
73+
74+
᾿Απ᾿ τὰ κόκκαλα βγαλμένη
75+
τῶν ῾Ελλήνων τὰ ἱερά
76+
καὶ σὰν πρῶτα ἀνδρειωμένη
77+
χαῖρε, ὦ χαῖρε, ᾿Ελευθεριά!
78+
79+
From a speech of Demosthenes in the 4th century BC:
80+
81+
Οὐχὶ ταὐτὰ παρίσταταί μοι γιγνώσκειν, ὦ ἄνδρες ᾿Αθηναῖοι,
82+
ὅταν τ᾿ εἰς τὰ πράγματα ἀποβλέψω καὶ ὅταν πρὸς τοὺς
83+
λόγους οὓς ἀκούω· τοὺς μὲν γὰρ λόγους περὶ τοῦ
84+
τιμωρήσασθαι Φίλιππον ὁρῶ γιγνομένους, τὰ δὲ πράγματ᾿
85+
εἰς τοῦτο προήκοντα, ὥσθ᾿ ὅπως μὴ πεισόμεθ᾿ αὐτοὶ
86+
πρότερον κακῶς σκέψασθαι δέον. οὐδέν οὖν ἄλλο μοι δοκοῦσιν
87+
οἱ τὰ τοιαῦτα λέγοντες ἢ τὴν ὑπόθεσιν, περὶ ἧς βουλεύεσθαι,
88+
οὐχὶ τὴν οὖσαν παριστάντες ὑμῖν ἁμαρτάνειν. ἐγὼ δέ, ὅτι μέν
89+
ποτ᾿ ἐξῆν τῇ πόλει καὶ τὰ αὑτῆς ἔχειν ἀσφαλῶς καὶ Φίλιππον
90+
τιμωρήσασθαι, καὶ μάλ᾿ ἀκριβῶς οἶδα· ἐπ᾿ ἐμοῦ γάρ, οὐ πάλαι
91+
γέγονεν ταῦτ᾿ ἀμφότερα· νῦν μέντοι πέπεισμαι τοῦθ᾿ ἱκανὸν
92+
προλαβεῖν ἡμῖν εἶναι τὴν πρώτην, ὅπως τοὺς συμμάχους
93+
σώσομεν. ἐὰν γὰρ τοῦτο βεβαίως ὑπάρξῃ, τότε καὶ περὶ τοῦ
94+
τίνα τιμωρήσεταί τις καὶ ὃν τρόπον ἐξέσται σκοπεῖν· πρὶν δὲ
95+
τὴν ἀρχὴν ὀρθῶς ὑποθέσθαι, μάταιον ἡγοῦμαι περὶ τῆς
96+
τελευτῆς ὁντινοῦν ποιεῖσθαι λόγον.
97+
98+
Δημοσθένους, Γ´ ᾿Ολυνθιακὸς
99+
100+
Georgian:
101+
102+
From a Unicode conference invitation:
103+
104+
გთხოვთ ახლავე გაიაროთ რეგისტრაცია Unicode-ის მეათე საერთაშორისო
105+
კონფერენციაზე დასასწრებად, რომელიც გაიმართება 10-12 მარტს,
106+
ქ. მაინცში, გერმანიაში. კონფერენცია შეჰკრებს ერთად მსოფლიოს
107+
ექსპერტებს ისეთ დარგებში როგორიცაა ინტერნეტი და Unicode-ი,
108+
ინტერნაციონალიზაცია და ლოკალიზაცია, Unicode-ის გამოყენება
109+
ოპერაციულ სისტემებსა, და გამოყენებით პროგრამებში, შრიფტებში,
110+
ტექსტების დამუშავებასა და მრავალენოვან კომპიუტერულ სისტემებში.
111+
112+
Russian:
113+
114+
From a Unicode conference invitation:
115+
116+
Зарегистрируйтесь сейчас на Десятую Международную Конференцию по
117+
Unicode, которая состоится 10-12 марта 1997 года в Майнце в Германии.
118+
Конференция соберет широкий круг экспертов по вопросам глобального
119+
Интернета и Unicode, локализации и интернационализации, воплощению и
120+
применению Unicode в различных операционных системах и программных
121+
приложениях, шрифтах, верстке и многоязычных компьютерных системах.
122+
123+
Thai (UCS Level 2):
124+
125+
Excerpt from a poetry on The Romance of The Three Kingdoms (a Chinese
126+
classic 'San Gua'):
127+
128+
[----------------------------|------------------------]
129+
๏ แผ่นดินฮั่นเสื่อมโทรมแสนสังเวช พระปกเกศกองบู๊กู้ขึ้นใหม่
130+
สิบสองกษัตริย์ก่อนหน้าแลถัดไป สององค์ไซร้โง่เขลาเบาปัญญา
131+
ทรงนับถือขันทีเป็นที่พึ่ง บ้านเมืองจึงวิปริตเป็นนักหนา
132+
โฮจิ๋นเรียกทัพทั่วหัวเมืองมา หมายจะฆ่ามดชั่วตัวสำคัญ
133+
เหมือนขับไสไล่เสือจากเคหา รับหมาป่าเข้ามาเลยอาสัญ
134+
ฝ่ายอ้องอุ้นยุแยกให้แตกกัน ใช้สาวนั้นเป็นชนวนชื่นชวนใจ
135+
พลันลิฉุยกุยกีกลับก่อเหตุ ช่างอาเพศจริงหนาฟ้าร้องไห้
136+
ต้องรบราฆ่าฟันจนบรรลัย ฤๅหาใครค้ำชูกู้บรรลังก์ ฯ
137+
138+
(The above is a two-column text. If combining characters are handled
139+
correctly, the lines of the second column should be aligned with the
140+
| character above.)
141+
142+
Ethiopian:
143+
144+
Proverbs in the Amharic language:
145+
146+
ሰማይ አይታረስ ንጉሥ አይከሰስ።
147+
ብላ ካለኝ እንደአባቴ በቆመጠኝ።
148+
ጌጥ ያለቤቱ ቁምጥና ነው።
149+
ደሀ በሕልሙ ቅቤ ባይጠጣ ንጣት በገደለው።
150+
የአፍ ወለምታ በቅቤ አይታሽም።
151+
አይጥ በበላ ዳዋ ተመታ።
152+
ሲተረጉሙ ይደረግሙ።
153+
ቀስ በቀስ፥ ዕንቁላል በእግሩ ይሄዳል።
154+
ድር ቢያብር አንበሳ ያስር።
155+
ሰው እንደቤቱ እንጅ እንደ ጉረቤቱ አይተዳደርም።
156+
እግዜር የከፈተውን ጉሮሮ ሳይዘጋው አይድርም።
157+
የጎረቤት ሌባ፥ ቢያዩት ይስቅ ባያዩት ያጠልቅ።
158+
ሥራ ከመፍታት ልጄን ላፋታት።
159+
ዓባይ ማደሪያ የለው፥ ግንድ ይዞ ይዞራል።
160+
የእስላም አገሩ መካ የአሞራ አገሩ ዋርካ።
161+
ተንጋሎ ቢተፉ ተመልሶ ባፉ።
162+
ወዳጅህ ማር ቢሆን ጨርስህ አትላሰው።
163+
እግርህን በፍራሽህ ልክ ዘርጋ።
164+
165+
Runes:
166+
167+
ᚻᛖ ᚳᚹᚫᚦ ᚦᚫᛏ ᚻᛖ ᛒᚢᛞᛖ ᚩᚾ ᚦᚫᛗ ᛚᚪᚾᛞᛖ ᚾᚩᚱᚦᚹᛖᚪᚱᛞᚢᛗ ᚹᛁᚦ ᚦᚪ ᚹᛖᛥᚫ
168+
169+
(Old English, which transcribed into Latin reads 'He cwaeth that he
170+
bude thaem lande northweardum with tha Westsae.' and means 'He said
171+
that he lived in the northern land near the Western Sea.')
172+
173+
Braille:
174+
175+
⡌⠁⠧⠑ ⠼⠁⠒ ⡍⠜⠇⠑⠹⠰⠎ ⡣⠕⠌
176+
177+
⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠙⠑⠁⠙⠒ ⠞⠕ ⠃⠑⠛⠔ ⠺⠊⠹⠲ ⡹⠻⠑ ⠊⠎ ⠝⠕ ⠙⠳⠃⠞
178+
⠱⠁⠞⠑⠧⠻ ⠁⠃⠳⠞ ⠹⠁⠞⠲ ⡹⠑ ⠗⠑⠛⠊⠌⠻ ⠕⠋ ⠙⠊⠎ ⠃⠥⠗⠊⠁⠇ ⠺⠁⠎
179+
⠎⠊⠛⠝⠫ ⠃⠹ ⠹⠑ ⠊⠇⠻⠛⠹⠍⠁⠝⠂ ⠹⠑ ⠊⠇⠻⠅⠂ ⠹⠑ ⠥⠝⠙⠻⠞⠁⠅⠻⠂
180+
⠁⠝⠙ ⠹⠑ ⠡⠊⠑⠋ ⠍⠳⠗⠝⠻⠲ ⡎⠊⠗⠕⠕⠛⠑ ⠎⠊⠛⠝⠫ ⠊⠞⠲ ⡁⠝⠙
181+
⡎⠊⠗⠕⠕⠛⠑⠰⠎ ⠝⠁⠍⠑ ⠺⠁⠎ ⠛⠕⠕⠙ ⠥⠏⠕⠝ ⠰⡡⠁⠝⠛⠑⠂ ⠋⠕⠗ ⠁⠝⠹⠹⠔⠛ ⠙⠑
182+
⠡⠕⠎⠑ ⠞⠕ ⠏⠥⠞ ⠙⠊⠎ ⠙⠁⠝⠙ ⠞⠕⠲
183+
184+
⡕⠇⠙ ⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲
185+
186+
⡍⠔⠙⠖ ⡊ ⠙⠕⠝⠰⠞ ⠍⠑⠁⠝ ⠞⠕ ⠎⠁⠹ ⠹⠁⠞ ⡊ ⠅⠝⠪⠂ ⠕⠋ ⠍⠹
187+
⠪⠝ ⠅⠝⠪⠇⠫⠛⠑⠂ ⠱⠁⠞ ⠹⠻⠑ ⠊⠎ ⠏⠜⠞⠊⠊⠥⠇⠜⠇⠹ ⠙⠑⠁⠙ ⠁⠃⠳⠞
188+
⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲ ⡊ ⠍⠊⠣⠞ ⠙⠁⠧⠑ ⠃⠑⠲ ⠔⠊⠇⠔⠫⠂ ⠍⠹⠎⠑⠇⠋⠂ ⠞⠕
189+
⠗⠑⠛⠜⠙ ⠁ ⠊⠕⠋⠋⠔⠤⠝⠁⠊⠇ ⠁⠎ ⠹⠑ ⠙⠑⠁⠙⠑⠌ ⠏⠊⠑⠊⠑ ⠕⠋ ⠊⠗⠕⠝⠍⠕⠝⠛⠻⠹
190+
⠔ ⠹⠑ ⠞⠗⠁⠙⠑⠲ ⡃⠥⠞ ⠹⠑ ⠺⠊⠎⠙⠕⠍ ⠕⠋ ⠳⠗ ⠁⠝⠊⠑⠌⠕⠗⠎
191+
⠊⠎ ⠔ ⠹⠑ ⠎⠊⠍⠊⠇⠑⠆ ⠁⠝⠙ ⠍⠹ ⠥⠝⠙⠁⠇⠇⠪⠫ ⠙⠁⠝⠙⠎
192+
⠩⠁⠇⠇ ⠝⠕⠞ ⠙⠊⠌⠥⠗⠃ ⠊⠞⠂ ⠕⠗ ⠹⠑ ⡊⠳⠝⠞⠗⠹⠰⠎ ⠙⠕⠝⠑ ⠋⠕⠗⠲ ⡹⠳
193+
⠺⠊⠇⠇ ⠹⠻⠑⠋⠕⠗⠑ ⠏⠻⠍⠊⠞ ⠍⠑ ⠞⠕ ⠗⠑⠏⠑⠁⠞⠂ ⠑⠍⠏⠙⠁⠞⠊⠊⠁⠇⠇⠹⠂ ⠹⠁⠞
194+
⡍⠜⠇⠑⠹ ⠺⠁⠎ ⠁⠎ ⠙⠑⠁⠙ ⠁⠎ ⠁ ⠙⠕⠕⠗⠤⠝⠁⠊⠇⠲
195+
196+
(The first couple of paragraphs of "A Christmas Carol" by Dickens)
197+
198+
Compact font selection example text:
199+
200+
ABCDEFGHIJKLMNOPQRSTUVWXYZ /0123456789
201+
abcdefghijklmnopqrstuvwxyz £©µÀÆÖÞßéöÿ
202+
–—‘“”„†•…‰™œŠŸž€ ΑΒΓΔΩαβγδω АБВГДабвгд
203+
∀∂∈ℝ∧∪≡∞ ↑↗↨↻⇣ ┐┼╔╘░►☺♀ fi�⑀₂ἠḂӥẄɐː⍎אԱა
204+
205+
Greetings in various languages:
206+
207+
Hello world, Καλημέρα κόσμε, コンニチハ
208+
209+
Box drawing alignment tests: █
210+
211+
╔══╦══╗ ┌──┬──┐ ╭──┬──╮ ╭──┬──╮ ┏━━┳━━┓ ┎┒┏┑ ╷ ╻ ┏┯┓ ┌┰┐ ▊ ╱╲╱╲╳╳╳
212+
║┌─╨─┐║ │╔═╧═╗│ │╒═╪═╕│ │╓─╁─╖│ ┃┌─╂─┐┃ ┗╃╄┙ ╶┼╴╺╋╸┠┼┨ ┝╋┥ ▋ ╲╱╲╱╳╳╳
213+
║│╲ ╱│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╿ │┃ ┍╅╆┓ ╵ ╹ ┗┷┛ └┸┘ ▌ ╱╲╱╲╳╳╳
214+
╠╡ ╳ ╞╣ ├╢ ╟┤ ├┼─┼─┼┤ ├╫─╂─╫┤ ┣┿╾┼╼┿┫ ┕┛┖┚ ┌┄┄┐ ╎ ┏┅┅┓ ┋ ▍ ╲╱╲╱╳╳╳
215+
║│╱ ╲│║ │║ ║│ ││ │ ││ │║ ┃ ║│ ┃│ ╽ │┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▎
216+
║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏
217+
╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ ▗▄▖▛▀▜ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█
218+
▝▀▘▙▄▟
219+
220+
</pre>

test/tools/WebListener/Views/Home/Index.cshtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<ul>
33
<li><a href="/">/</a> - This page</li>
44
<li><a href="/Cert/">/Cert/</a> - Client Certificate Details</li>
5+
<li><a href="/Encoding/Utf8/">/Encoding/Utf8/</a> - Returns page containing UTF-8 data.</li>
56
<li><a href="/Get/">/Get/</a> - Emulates functionality of https://httpbin.org/get by returning GET headers, Arguments, and Request URL</li>
67
<li><a href="/Multipart/">/Multipart/</a> - Multipart/form-data submission testing</li>
78
<li><a href="/Redirect/">/Redirect/{count}</a> - 302 redirect <i>count</i> times.</li>

0 commit comments

Comments
 (0)