Skip to content

Instantly share code, notes, and snippets.

@skayred
Created June 27, 2017 06:42
Show Gist options
  • Save skayred/dbfea897b85cfca34746137342c472cc to your computer and use it in GitHub Desktop.
Save skayred/dbfea897b85cfca34746137342c472cc to your computer and use it in GitHub Desktop.
response { requestConfig:
{ method: 'GET',
uri:
{ scheme: 'https',
host: 'beta1.stage.cian.ru',
path: '/api/geo/get-regions/',
basePath: '' },
body: undefined,
headers: [ [Object] ] },
requestURI:
URI {
scheme: 'https',
host: 'beta1.stage.cian.ru',
port: 443,
path: '/api/geo/get-regions/',
query: '' },
requestMethod: 'GET',
requestHeaders:
[ [ 'Accept',
'application/json, application/xml, application/vnd.api+json, text/play, text/html, *.*' ] ],
requestBody: '',
responseStatusCode: 301,
responseHeaders:
[ [ 'server', 'nginx' ],
[ 'date', 'Tue, 27 Jun 2017 06:41:24 GMT' ],
[ 'content-type', 'text/html' ],
[ 'content-length', '178' ],
[ 'connection', 'close' ],
[ 'location',
'https://www.beta1.stage.cian.ru/api/geo/get-regions/' ],
[ 'x-profilesessionkey',
'82d8c547-8414-47b2-ad7e-f50be34b52cc' ],
[ 'x-operationid', 'e4d423a3-3dfa-4fe1-a1e1-28bbfdff7be8' ],
[ 'x-profilespanid', '7b5b6aa7-bdd2-42a7-b570-d65def85b65d' ],
[ 'x-provided-by', 'beta-front-02' ],
[ 'x-profilesessionkey',
'82d8c547-8414-47b2-ad7e-f50be34b52cc' ],
[ 'x-operationid', 'e4d423a3-3dfa-4fe1-a1e1-28bbfdff7be8' ],
[ 'x-profilespanid', '7b5b6aa7-bdd2-42a7-b570-d65def85b65d' ] ],
responseBody: '<html>\r\n<head><title>301 Moved Permanently</title></head>\r\n<body bgcolor="white">\r\n<center><h1>301 Moved Permanently</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment