PuTTY 将 http 重定向到 https

PuTTY 将 http 重定向到 https

我正在尝试发出一个简单的 GET 请求www.delek.co.il/stations使用PuTTY

在此处输入图片描述

标题如下:

GET /stations HTTP/1.1
Host: www.delek.co.il

我得到了 HTTP/1.1 301 Moved Permanently

HTTP/1.1 301 Moved Permanently
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
content-type: text/html
content-length: 707
date: Tue, 17 Aug 2021 22:28:36 GMT
server: LiteSpeed
location: https://www.delek.co.il/stations
x-content-type-options: nosniff

<!DOCTYPE html>
           <html style="height:100%">
                                     <head>
                                           <meta name="viewport" content="wi             dth=device-width, initial-scale=1, shrink-to-fit=no" />
                                                   <title> 301 Moved Permane         ntly
</title></head>
           <body style="color: #444; margin:0;font: normal 14px/20px Arial,          Helvetica, sans-serif; height:100%; background-color: #fff;">
                                                         <div style="height:             auto; min-height:100%; ">     <div style="text-align: center; width:800px; margi     n-        left: -400px; position:absolute; top: 30%; left:50%;">
                                                            <h1 style="margi             n:0; font-size:150px; line-height:150px; font-weight:bold;">301</h1>
                                                                <h2 style="m             argin-top:20px;font-size: 30px;">Moved Permanently
</h2>
 <p>The document has been permanently moved.</p>
                                                </div></div></body></html>

我如何才能对 https 重定向站点进行新的调用(地点:https://www.delek.co.il/stations) 使用 PuTTY?正确的标头参数是什么?

相关内容