{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/1224","repository_url":"https://api.github.com/repos/nodejitsu/node-http-proxy","labels_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/1224/labels{/name}","comments_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/1224/comments","events_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/1224/events","html_url":"https://github.com/nodejitsu/node-http-proxy/issues/1224","id":283710139,"number":1224,"title":"no content return to the google bot agent","user":{"login":"qqnc","id":4175853,"avatar_url":"https://avatars2.githubusercontent.com/u/4175853?v=4","gravatar_id":"","url":"https://api.github.com/users/qqnc","html_url":"https://github.com/qqnc","followers_url":"https://api.github.com/users/qqnc/followers","following_url":"https://api.github.com/users/qqnc/following{/other_user}","gists_url":"https://api.github.com/users/qqnc/gists{/gist_id}","starred_url":"https://api.github.com/users/qqnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qqnc/subscriptions","organizations_url":"https://api.github.com/users/qqnc/orgs","repos_url":"https://api.github.com/users/qqnc/repos","events_url":"https://api.github.com/users/qqnc/events{/privacy}","received_events_url":"https://api.github.com/users/qqnc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-20T22:08:35Z","updated_at":"2017-12-20T22:08:35Z","closed_at":null,"author_association":"NONE","body":"I have a https proxy to a apache server\r\nThe apache server is behind the node proxy at https://localhost:444\r\nvar httpsServer = https.createServer(options, function(req, res) {\r\n    sslproxy.web(req, res, {\r\n        target: \"https://localhost:444\"\r\n    });\r\n}).listen(443);\r\n\r\nWhen I use browser to browser, the content rendered ok.  However, if I use something like redleg fileviewer. https://aw-snap.info/file-viewer/ or fetch by google to fetch the page.  The content is empty like:\r\n\r\n\r\nHTTP/1.1 200 OK\r\ndate: Wed, 20 Dec 2017 22:05:33 GMT\r\nserver: Apache/2.4.25 (Debian)\r\nset-cookie: ct_cookies_test=aeeeadff0ae23e02715de88576a89e37; path=/\r\nx-frame-options: SAMEORIGIN\r\ncontent-length: 0\r\nconnection: close\r\ncontent-type: text/html; charset=UTF-8\r\n"}}
{"actor":{"display_login":"qqnc"}}