about summary refs log tree commit diff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-07-05 21:54:21 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-05 14:54:21 +0200
commit5e6acf960183aea9440ce0d9e28c86f043e88c54 (patch)
tree145946d82afd2ee204e3bfc9e7dcb5d5069eb45f /spec/fixtures
parentb52a5e6bd60be3f9548cf59eb313b1e6c2f5920e (diff)
Fix Nokogiri::HTML at FetchLinkCardService (#4072)
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/requests/sjis.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/fixtures/requests/sjis.txt b/spec/fixtures/requests/sjis.txt
new file mode 100644
index 000000000..9041aa25d
--- /dev/null
+++ b/spec/fixtures/requests/sjis.txt
@@ -0,0 +1,20 @@
+HTTP/1.1 200 OK
+Server: nginx/1.11.10
+Date: Tue, 04 Jul 2017 16:43:39 GMT
+Content-Type: text/html
+Content-Length: 273
+Connection: keep-alive
+Last-Modified: Tue, 04 Jul 2017 16:41:34 GMT
+Accept-Ranges: bytes
+
+<HTML>
+<HEAD>
+  <META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0J Mac">
+  <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=x-sjis">
+  <TITLE>JSISのページ</TITLE>
+</HEAD>
+<BODY>
+<P><CENTER><B><FONT SIZE="+2">SJISのページ</FONT></B><BR>
+<HR><BR>
+</BODY>
+</HTML>