From f1f4bee83f8b8aa6668a14ad42cbef2b494a2b6b Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Tue, 23 Dec 2014 11:17:37 -0800 Subject: [PATCH 1/2] Link to source of UTF-8-demo.txt --- httpbin/templates/UTF-8-demo.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpbin/templates/UTF-8-demo.txt b/httpbin/templates/UTF-8-demo.txt index 3c35349..726dd62 100644 --- a/httpbin/templates/UTF-8-demo.txt +++ b/httpbin/templates/UTF-8-demo.txt @@ -1,6 +1,7 @@

Unicode Demo

-

Taken from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

+

Taken from http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

 

From 771be3aa6618708ff5149b27833d1f7f839c0c77 Mon Sep 17 00:00:00 2001
From: Marc Abramowitz 
Date: Tue, 23 Dec 2014 11:18:11 -0800
Subject: [PATCH 2/2] httpbin.1.html: Add /encoding/utf8

---
 httpbin/templates/httpbin.1.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/httpbin/templates/httpbin.1.html b/httpbin/templates/httpbin.1.html
index 2119255..6cc883b 100644
--- a/httpbin/templates/httpbin.1.html
+++ b/httpbin/templates/httpbin.1.html
@@ -16,6 +16,7 @@
 
  • /patch Returns PATCH data.
  • /put Returns PUT data.
  • /delete Returns DELETE data
  • +
  • /encoding/utf8 Returns page containing UTF-8 data.
  • /gzip Returns gzip-encoded data.
  • /deflate Returns deflate-encoded data.
  • /status/:code Returns given HTTP Status code.