0
0
Fork 0

Fix Nokogiri::HTML at FetchLinkCardService (#4072)

This commit is contained in:
abcang 2017-07-05 21:54:21 +09:00 committed by Eugen Rochko
parent b52a5e6bd6
commit 5e6acf9601
3 changed files with 33 additions and 1 deletions

20
spec/fixtures/requests/sjis.txt vendored Normal file
View file

@ -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>