討論:HTTPS:修訂版本之間的差異

出自福留子孫
跳轉到: 導覽搜尋
第 18 行: 第 18 行:
  
 
200 OK</pre>
 
200 OK</pre>
 +
回應
 +
<pre>1-AA
 +
check1:HTTP/1.1 400 Bad Request Server: nginx/1.13.6 Date: Fri, 06 Jul 2018 07:07:21 GMT Content-Type: text/html Content-Length: 271 Connection: close
 +
400 Bad Request
 +
The plain HTTP request was sent to HTTPS port
 +
---------------------------------------------
 +
nginx/1.13.6</pre>

2018年7月6日 (五) 15:09的修訂版本

參考資料:

  1. PHP中如何使用socket进行通信?
  2. 通过Socket进行HttP/HTTPS网页操作(ASP)
  3. 对HTTP、HTTPS、Socket的理解以及三者的关系
  4. TCP/IP SOCKET HTTP及HTTPS之间的关系及各自特性

https://jendo.org/test.php

回應頭

X-Firefox-Spdy: h2
cf-ray: 435fb03e5a095390-LAX
content-encoding: br
content-type: text/html; charset=UTF-8
date: Fri, 06 Jul 2018 05:32:02 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
vary: Accept-Encoding

200 OK

回應

1-AA
check1:HTTP/1.1 400 Bad Request Server: nginx/1.13.6 Date: Fri, 06 Jul 2018 07:07:21 GMT Content-Type: text/html Content-Length: 271 Connection: close
400 Bad Request
The plain HTTP request was sent to HTTPS port
---------------------------------------------
nginx/1.13.6