Skip to content

Instantly share code, notes, and snippets.

@ispyinternet
Created August 14, 2018 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ispyinternet/da9ac9d42a4efda3d416b4616c6e0400 to your computer and use it in GitHub Desktop.
Save ispyinternet/da9ac9d42a4efda3d416b4616c6e0400 to your computer and use it in GitHub Desktop.
sapper request
{
"page": {
"pattern": {},
"parts": [null, {
"name": "blog_$slug",
"component": {
"filename": "/home/richard/TestCognito/Project/Server/Cognito/routes/blog/[slug].html",
"css": {
"code": ".content.svelte-gnxal1 h2{font-size:1.4em;font-weight:500}.content.svelte-gnxal1 pre{background-color:#f9f9f9;box-shadow:inset 1px 1px 5px rgba(0,0,0,0.05);padding:0.5em;border-radius:2px;overflow-x:auto}.content.svelte-gnxal1 pre code{background-color:transparent;padding:0}.content.svelte-gnxal1 ul{line-height:1.5}.content.svelte-gnxal1 li{margin:0 0 0.5em 0}",
"map": "{\"version\":3,\"file\":\"[slug].html\",\"sources\":[\"[slug].html\"],\"sourcesContent\":[\"<svelte:head>\\n\\t<title>{post.title}</title>\\n</svelte:head>\\n\\n<h1>{post.title}</h1>\\n\\n<div class='content'>\\n\\t{@html post.html}\\n</div>\\n\\n<style>\\n\\t/*\\n\\t\\tBy default, CSS is locally scoped to the component,\\n\\t\\tand any unused styles are dead-code-eliminated.\\n\\t\\tIn this page, Svelte can't know which elements are\\n\\t\\tgoing to appear inside the {{{post.html}}} block,\\n\\t\\tso we have to use the :global(...) modifier to target\\n\\t\\tall elements inside .content\\n\\t*/\\n\\t.content :global(h2) {\\n\\t\\tfont-size: 1.4em;\\n\\t\\tfont-weight: 500;\\n\\t}\\n\\n\\t.content :global(pre) {\\n\\t\\tbackground-color: #f9f9f9;\\n\\t\\tbox-shadow: inset 1px 1px 5px rgba(0,0,0,0.05);\\n\\t\\tpadding: 0.5em;\\n\\t\\tborder-radius: 2px;\\n\\t\\toverflow-x: auto;\\n\\t}\\n\\n\\t.content :global(pre) :global(code) {\\n\\t\\tbackground-color: transparent;\\n\\t\\tpadding: 0;\\n\\t}\\n\\n\\t.content :global(ul) {\\n\\t\\tline-height: 1.5;\\n\\t}\\n\\n\\t.content :global(li) {\\n\\t\\tmargin: 0 0 0.5em 0;\\n\\t}\\n</style>\\n\\n<script>\\n\\texport default {\\n\\t\\tasync preload({ params, query }) {\\n\\t\\t\\t// the `slug` parameter is available because\\n\\t\\t\\t// this file is called [slug].html\\n\\t\\t\\tconst res = await this.fetch(`blog/${params.slug}.json`);\\n\\t\\t\\tconst data = await res.json();\\n\\n\\t\\t\\tif (res.status === 200) {\\n\\t\\t\\t\\treturn { post: data };\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis.error(res.status, data.message);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n</script>\"],\"names\":[],\"mappings\":\"AAmBC,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,SAAS,CAAE,KAAK,CAChB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAE,CAAC,AACtB,gBAAgB,CAAE,OAAO,CACzB,UAAU,CAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAC9C,OAAO,CAAE,KAAK,CACd,aAAa,CAAE,GAAG,CAClB,UAAU,CAAE,IAAI,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAC,CAAC,AAAQ,IAAI,AAAE,CAAC,AACpC,gBAAgB,CAAE,WAAW,CAC7B,OAAO,CAAE,CAAC,AACX,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,MAAM,CAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,AACpB,CAAC\"}"
}
}
}]
},
"req": {
"_readableState": {
"objectMode": false,
"highWaterMark": 16384,
"buffer": {
"head": null,
"tail": null,
"length": 0
},
"length": 0,
"pipes": null,
"pipesCount": 0,
"flowing": null,
"ended": false,
"endEmitted": false,
"reading": false,
"sync": true,
"needReadable": false,
"emittedReadable": false,
"readableListening": false,
"resumeScheduled": false,
"destroyed": false,
"defaultEncoding": "utf8",
"awaitDrain": 0,
"readingMore": true,
"decoder": null,
"encoding": null
},
"readable": true,
"domain": null,
"_events": {},
"_eventsCount": 0,
"socket": {
"connecting": false,
"_hadError": false,
"_handle": {
"writeQueueSize": 0,
"owner": "~socket",
"reading": true,
"_consumed": true
},
"_parent": null,
"_host": null,
"_readableState": {
"objectMode": false,
"highWaterMark": 16384,
"buffer": {
"head": null,
"tail": null,
"length": 0
},
"length": 0,
"pipes": null,
"pipesCount": 0,
"flowing": true,
"ended": false,
"endEmitted": false,
"reading": true,
"sync": false,
"needReadable": true,
"emittedReadable": false,
"readableListening": false,
"resumeScheduled": false,
"destroyed": false,
"defaultEncoding": "utf8",
"awaitDrain": 0,
"readingMore": false,
"decoder": null,
"encoding": null
},
"readable": true,
"domain": null,
"_events": {
"end": [null, null],
"drain": [null, null],
"close": [null, null]
},
"_eventsCount": 10,
"_writableState": {
"objectMode": false,
"highWaterMark": 16384,
"finalCalled": false,
"needDrain": false,
"ending": false,
"ended": false,
"finished": false,
"destroyed": false,
"decodeStrings": false,
"defaultEncoding": "utf8",
"length": 2959,
"writing": false,
"corked": 1,
"sync": true,
"bufferProcessing": false,
"writecb": null,
"writelen": 0,
"bufferedRequest": {
"chunk": "HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nDate: Tue, 14 Aug 2018 02:44:27 GMT\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\nb0a",
"encoding": "latin1",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": {
"chunk": "{ \"page\": {\"pattern\":{},\"parts\":[null,{\"name\":\"blog_$slug\",\"component\":{\"filename\":\"/home/richard/TestCognito/Project/Server/Cognito/routes/blog/[slug].html\",\"css\":{\"code\":\".content.svelte-gnxal1 h2{font-size:1.4em;font-weight:500}.content.svelte-gnxal1 pre{background-color:#f9f9f9;box-shadow:inset 1px 1px 5px rgba(0,0,0,0.05);padding:0.5em;border-radius:2px;overflow-x:auto}.content.svelte-gnxal1 pre code{background-color:transparent;padding:0}.content.svelte-gnxal1 ul{line-height:1.5}.content.svelte-gnxal1 li{margin:0 0 0.5em 0}\",\"map\":\"{\\\"version\\\":3,\\\"file\\\":\\\"[slug].html\\\",\\\"sources\\\":[\\\"[slug].html\\\"],\\\"sourcesContent\\\":[\\\"<svelte:head>\\\\n\\\\t<title>{post.title}</title>\\\\n</svelte:head>\\\\n\\\\n<h1>{post.title}</h1>\\\\n\\\\n<div class='content'>\\\\n\\\\t{@html post.html}\\\\n</div>\\\\n\\\\n<style>\\\\n\\\\t/*\\\\n\\\\t\\\\tBy default, CSS is locally scoped to the component,\\\\n\\\\t\\\\tand any unused styles are dead-code-eliminated.\\\\n\\\\t\\\\tIn this page, Svelte can't know which elements are\\\\n\\\\t\\\\tgoing to appear inside the {{{post.html}}} block,\\\\n\\\\t\\\\tso we have to use the :global(...) modifier to target\\\\n\\\\t\\\\tall elements inside .content\\\\n\\\\t*/\\\\n\\\\t.content :global(h2) {\\\\n\\\\t\\\\tfont-size: 1.4em;\\\\n\\\\t\\\\tfont-weight: 500;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(pre) {\\\\n\\\\t\\\\tbackground-color: #f9f9f9;\\\\n\\\\t\\\\tbox-shadow: inset 1px 1px 5px rgba(0,0,0,0.05);\\\\n\\\\t\\\\tpadding: 0.5em;\\\\n\\\\t\\\\tborder-radius: 2px;\\\\n\\\\t\\\\toverflow-x: auto;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(pre) :global(code) {\\\\n\\\\t\\\\tbackground-color: transparent;\\\\n\\\\t\\\\tpadding: 0;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(ul) {\\\\n\\\\t\\\\tline-height: 1.5;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(li) {\\\\n\\\\t\\\\tmargin: 0 0 0.5em 0;\\\\n\\\\t}\\\\n</style>\\\\n\\\\n<script>\\\\n\\\\texport default {\\\\n\\\\t\\\\tasync preload({ params, query }) {\\\\n\\\\t\\\\t\\\\t// the `slug` parameter is available because\\\\n\\\\t\\\\t\\\\t// this file is called [slug].html\\\\n\\\\t\\\\t\\\\tconst res = await this.fetch(`blog/${params.slug}.json`);\\\\n\\\\t\\\\t\\\\tconst data = await res.json();\\\\n\\\\n\\\\t\\\\t\\\\tif (res.status === 200) {\\\\n\\\\t\\\\t\\\\t\\\\treturn { post: data };\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tthis.error(res.status, data.message);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t};\\\\n</script>\\\"],\\\"names\\\":[],\\\"mappings\\\":\\\"AAmBC,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,SAAS,CAAE,KAAK,CAChB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAE,CAAC,AACtB,gBAAgB,CAAE,OAAO,CACzB,UAAU,CAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAC9C,OAAO,CAAE,KAAK,CACd,aAAa,CAAE,GAAG,CAClB,UAAU,CAAE,IAAI,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAC,CAAC,AAAQ,IAAI,AAAE,CAAC,AACpC,gBAAgB,CAAE,WAAW,CAC7B,OAAO,CAAE,CAAC,AACX,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,MAAM,CAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,AACpB,CAAC\\\"}\"}}}]},",
"encoding": "utf8",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": null
}
}
}
},
"lastBufferedRequest": "~socket~_writableState~bufferedRequest~next~next~next",
"pendingcb": 4,
"prefinished": false,
"errorEmitted": false,
"bufferedRequestCount": 4,
"corkedRequestsFree": {
"next": null,
"entry": null
}
},
"writable": true,
"allowHalfOpen": true,
"_bytesDispatched": 0,
"_sockname": null,
"_pendingData": null,
"_pendingEncoding": "",
"server": {
"domain": null,
"_events": {
"listening": [null, null]
},
"_eventsCount": 5,
"_connections": 1,
"_handle": {
"writeQueueSize": 0,
"owner": "~socket~server"
},
"_usingSlaves": false,
"_slaves": [],
"_unref": false,
"allowHalfOpen": true,
"pauseOnConnect": false,
"httpAllowHalfOpen": false,
"timeout": 120000,
"keepAliveTimeout": 5000,
"_pendingResponseData": 0,
"maxHeadersCount": null,
"_socketPathSuffix": "tleph2aczn9",
"_binaryTypes": ["*/*"],
"_pipeName": "/tmp/server-tleph2aczn9.sock",
"_connectionKey": "-1:/tmp/server-tleph2aczn9.sock:-1",
"_isListening": true
},
"_server": "~socket~server",
"_idleTimeout": 120000,
"_idleNext": {
"_idleNext": "~socket",
"_idlePrev": "~socket",
"_timer": {
"_list": "~socket~_idleNext"
},
"_unrefed": true,
"msecs": 120000,
"nextTick": false
},
"_idlePrev": "~socket~_idleNext",
"_idleStart": 1378,
"_destroyed": false,
"parser": {
"_headers": [],
"_url": "",
"_consumed": true,
"socket": "~socket",
"incoming": "~",
"outgoing": null,
"maxHeaderPairs": 2000
},
"_paused": false,
"_consuming": true,
"_httpMessage": {
"domain": null,
"_events": {},
"_eventsCount": 1,
"output": [],
"outputEncodings": [],
"outputCallbacks": [],
"outputSize": 0,
"writable": true,
"_last": true,
"upgrading": false,
"chunkedEncoding": true,
"shouldKeepAlive": false,
"useChunkedEncodingByDefault": true,
"sendDate": true,
"_removedConnection": false,
"_removedContLen": false,
"_removedTE": false,
"_contentLength": null,
"_hasBody": true,
"_trailer": "",
"finished": false,
"_headerSent": true,
"socket": "~socket",
"connection": "~socket",
"_header": "HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nDate: Tue, 14 Aug 2018 02:44:27 GMT\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n",
"_sent100": false,
"_expect_continue": false,
"req": "~",
"locals": {},
"statusMessage": "OK",
"statusCode": 200
}
},
"connection": "~socket",
"httpVersionMajor": 1,
"httpVersionMinor": 1,
"httpVersion": "1.1",
"complete": false,
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"host": "cognito-api.eatmy.tv",
"pragma": "no-cache",
"referer": "https://cognito-api.eatmy.tv/about",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36",
"x-amzn-trace-id": "Root=1-5b724209-be5f744ef9d1904ef1fc4062",
"connection": "close"
},
"trailers": {},
"rawTrailers": [],
"upgrade": false,
"url": "/blog/what-is-sapper",
"method": "GET",
"statusCode": null,
"statusMessage": null,
"client": "~socket",
"_consuming": false,
"_dumped": false,
"baseUrl": "",
"originalUrl": "/blog/what-is-sapper",
"_parsedUrl": {
"protocol": null,
"slashes": null,
"auth": null,
"host": null,
"port": null,
"hostname": null,
"hash": null,
"search": null,
"query": null,
"pathname": "/blog/what-is-sapper",
"path": "/blog/what-is-sapper",
"href": "/blog/what-is-sapper",
"_raw": "/blog/what-is-sapper"
},
"params": {},
"query": {},
"res": "~socket~_httpMessage"
},
"res": {
"domain": null,
"_events": {},
"_eventsCount": 1,
"output": [],
"outputEncodings": [],
"outputCallbacks": [],
"outputSize": 0,
"writable": true,
"_last": true,
"upgrading": false,
"chunkedEncoding": true,
"shouldKeepAlive": false,
"useChunkedEncodingByDefault": true,
"sendDate": true,
"_removedConnection": false,
"_removedContLen": false,
"_removedTE": false,
"_contentLength": null,
"_hasBody": true,
"_trailer": "",
"finished": false,
"_headerSent": true,
"socket": {
"connecting": false,
"_hadError": false,
"_handle": {
"writeQueueSize": 0,
"owner": "~socket",
"reading": true,
"_consumed": true
},
"_parent": null,
"_host": null,
"_readableState": {
"objectMode": false,
"highWaterMark": 16384,
"buffer": {
"head": null,
"tail": null,
"length": 0
},
"length": 0,
"pipes": null,
"pipesCount": 0,
"flowing": true,
"ended": false,
"endEmitted": false,
"reading": true,
"sync": false,
"needReadable": true,
"emittedReadable": false,
"readableListening": false,
"resumeScheduled": false,
"destroyed": false,
"defaultEncoding": "utf8",
"awaitDrain": 0,
"readingMore": false,
"decoder": null,
"encoding": null
},
"readable": true,
"domain": null,
"_events": {
"end": [null, null],
"drain": [null, null],
"close": [null, null]
},
"_eventsCount": 10,
"_writableState": {
"objectMode": false,
"highWaterMark": 16384,
"finalCalled": false,
"needDrain": true,
"ending": false,
"ended": false,
"finished": false,
"destroyed": false,
"decodeStrings": false,
"defaultEncoding": "utf8",
"length": 17903,
"writing": false,
"corked": 2,
"sync": true,
"bufferProcessing": false,
"writecb": null,
"writelen": 0,
"bufferedRequest": {
"chunk": "HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nDate: Tue, 14 Aug 2018 02:44:27 GMT\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\nb0a",
"encoding": "latin1",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": {
"chunk": "{ \"page\": {\"pattern\":{},\"parts\":[null,{\"name\":\"blog_$slug\",\"component\":{\"filename\":\"/home/richard/TestCognito/Project/Server/Cognito/routes/blog/[slug].html\",\"css\":{\"code\":\".content.svelte-gnxal1 h2{font-size:1.4em;font-weight:500}.content.svelte-gnxal1 pre{background-color:#f9f9f9;box-shadow:inset 1px 1px 5px rgba(0,0,0,0.05);padding:0.5em;border-radius:2px;overflow-x:auto}.content.svelte-gnxal1 pre code{background-color:transparent;padding:0}.content.svelte-gnxal1 ul{line-height:1.5}.content.svelte-gnxal1 li{margin:0 0 0.5em 0}\",\"map\":\"{\\\"version\\\":3,\\\"file\\\":\\\"[slug].html\\\",\\\"sources\\\":[\\\"[slug].html\\\"],\\\"sourcesContent\\\":[\\\"<svelte:head>\\\\n\\\\t<title>{post.title}</title>\\\\n</svelte:head>\\\\n\\\\n<h1>{post.title}</h1>\\\\n\\\\n<div class='content'>\\\\n\\\\t{@html post.html}\\\\n</div>\\\\n\\\\n<style>\\\\n\\\\t/*\\\\n\\\\t\\\\tBy default, CSS is locally scoped to the component,\\\\n\\\\t\\\\tand any unused styles are dead-code-eliminated.\\\\n\\\\t\\\\tIn this page, Svelte can't know which elements are\\\\n\\\\t\\\\tgoing to appear inside the {{{post.html}}} block,\\\\n\\\\t\\\\tso we have to use the :global(...) modifier to target\\\\n\\\\t\\\\tall elements inside .content\\\\n\\\\t*/\\\\n\\\\t.content :global(h2) {\\\\n\\\\t\\\\tfont-size: 1.4em;\\\\n\\\\t\\\\tfont-weight: 500;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(pre) {\\\\n\\\\t\\\\tbackground-color: #f9f9f9;\\\\n\\\\t\\\\tbox-shadow: inset 1px 1px 5px rgba(0,0,0,0.05);\\\\n\\\\t\\\\tpadding: 0.5em;\\\\n\\\\t\\\\tborder-radius: 2px;\\\\n\\\\t\\\\toverflow-x: auto;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(pre) :global(code) {\\\\n\\\\t\\\\tbackground-color: transparent;\\\\n\\\\t\\\\tpadding: 0;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(ul) {\\\\n\\\\t\\\\tline-height: 1.5;\\\\n\\\\t}\\\\n\\\\n\\\\t.content :global(li) {\\\\n\\\\t\\\\tmargin: 0 0 0.5em 0;\\\\n\\\\t}\\\\n</style>\\\\n\\\\n<script>\\\\n\\\\texport default {\\\\n\\\\t\\\\tasync preload({ params, query }) {\\\\n\\\\t\\\\t\\\\t// the `slug` parameter is available because\\\\n\\\\t\\\\t\\\\t// this file is called [slug].html\\\\n\\\\t\\\\t\\\\tconst res = await this.fetch(`blog/${params.slug}.json`);\\\\n\\\\t\\\\t\\\\tconst data = await res.json();\\\\n\\\\n\\\\t\\\\t\\\\tif (res.status === 200) {\\\\n\\\\t\\\\t\\\\t\\\\treturn { post: data };\\\\n\\\\t\\\\t\\\\t} else {\\\\n\\\\t\\\\t\\\\t\\\\tthis.error(res.status, data.message);\\\\n\\\\t\\\\t\\\\t}\\\\n\\\\t\\\\t}\\\\n\\\\t};\\\\n</script>\\\"],\\\"names\\\":[],\\\"mappings\\\":\\\"AAmBC,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,SAAS,CAAE,KAAK,CAChB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAE,CAAC,AACtB,gBAAgB,CAAE,OAAO,CACzB,UAAU,CAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAC9C,OAAO,CAAE,KAAK,CACd,aAAa,CAAE,GAAG,CAClB,UAAU,CAAE,IAAI,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAC,CAAC,AAAQ,IAAI,AAAE,CAAC,AACpC,gBAAgB,CAAE,WAAW,CAC7B,OAAO,CAAE,CAAC,AACX,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,MAAM,CAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,AACpB,CAAC\\\"}\"}}}]},",
"encoding": "utf8",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": {
"chunk": "3a58",
"encoding": "latin1",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": {
"chunk": "\"req\": {\"_readableState\":{\"objectMode\":false,\"highWaterMark\":16384,\"buffer\":{\"head\":null,\"tail\":null,\"length\":0},\"length\":0,\"pipes\":null,\"pipesCount\":0,\"flowing\":null,\"ended\":false,\"endEmitted\":false,\"reading\":false,\"sync\":true,\"needReadable\":false,\"emittedReadable\":false,\"readableListening\":false,\"resumeScheduled\":false,\"destroyed\":false,\"defaultEncoding\":\"utf8\",\"awaitDrain\":0,\"readingMore\":true,\"decoder\":null,\"encoding\":null},\"readable\":true,\"domain\":null,\"_events\":{},\"_eventsCount\":0,\"socket\":{\"connecting\":false,\"_hadError\":false,\"_handle\":{\"writeQueueSize\":0,\"owner\":\"\\x7esocket\",\"reading\":true,\"_consumed\":true},\"_parent\":null,\"_host\":null,\"_readableState\":{\"objectMode\":false,\"highWaterMark\":16384,\"buffer\":{\"head\":null,\"tail\":null,\"length\":0},\"length\":0,\"pipes\":null,\"pipesCount\":0,\"flowing\":true,\"ended\":false,\"endEmitted\":false,\"reading\":true,\"sync\":false,\"needReadable\":true,\"emittedReadable\":false,\"readableListening\":false,\"resumeScheduled\":false,\"destroyed\":false,\"defaultEncoding\":\"utf8\",\"awaitDrain\":0,\"readingMore\":false,\"decoder\":null,\"encoding\":null},\"readable\":true,\"domain\":null,\"_events\":{\"end\":[null,null],\"drain\":[null,null],\"close\":[null,null]},\"_eventsCount\":10,\"_writableState\":{\"objectMode\":false,\"highWaterMark\":16384,\"finalCalled\":false,\"needDrain\":false,\"ending\":false,\"ended\":false,\"finished\":false,\"destroyed\":false,\"decodeStrings\":false,\"defaultEncoding\":\"utf8\",\"length\":2959,\"writing\":false,\"corked\":1,\"sync\":true,\"bufferProcessing\":false,\"writecb\":null,\"writelen\":0,\"bufferedRequest\":{\"chunk\":\"HTTP/1.1 200 OK\\r\\nX-Powered-By: Express\\r\\nDate: Tue, 14 Aug 2018 02:44:27 GMT\\r\\nConnection: close\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\nb0a\",\"encoding\":\"latin1\",\"isBuf\":false,\"next\":{\"chunk\":{\"type\":\"Buffer\",\"data\":[13,10]},\"encoding\":\"buffer\",\"isBuf\":true,\"next\":{\"chunk\":\"{ \\\"page\\\": {\\\"pattern\\\":{},\\\"parts\\\":[null,{\\\"name\\\":\\\"blog_$slug\\\",\\\"component\\\":{\\\"filename\\\":\\\"/home/richard/TestCognito/Project/Server/Cognito/routes/blog/[slug].html\\\",\\\"css\\\":{\\\"code\\\":\\\".content.svelte-gnxal1 h2{font-size:1.4em;font-weight:500}.content.svelte-gnxal1 pre{background-color:#f9f9f9;box-shadow:inset 1px 1px 5px rgba(0,0,0,0.05);padding:0.5em;border-radius:2px;overflow-x:auto}.content.svelte-gnxal1 pre code{background-color:transparent;padding:0}.content.svelte-gnxal1 ul{line-height:1.5}.content.svelte-gnxal1 li{margin:0 0 0.5em 0}\\\",\\\"map\\\":\\\"{\\\\\\\"version\\\\\\\":3,\\\\\\\"file\\\\\\\":\\\\\\\"[slug].html\\\\\\\",\\\\\\\"sources\\\\\\\":[\\\\\\\"[slug].html\\\\\\\"],\\\\\\\"sourcesContent\\\\\\\":[\\\\\\\"<svelte:head>\\\\\\\\n\\\\\\\\t<title>{post.title}</title>\\\\\\\\n</svelte:head>\\\\\\\\n\\\\\\\\n<h1>{post.title}</h1>\\\\\\\\n\\\\\\\\n<div class='content'>\\\\\\\\n\\\\\\\\t{@html post.html}\\\\\\\\n</div>\\\\\\\\n\\\\\\\\n<style>\\\\\\\\n\\\\\\\\t/*\\\\\\\\n\\\\\\\\t\\\\\\\\tBy default, CSS is locally scoped to the component,\\\\\\\\n\\\\\\\\t\\\\\\\\tand any unused styles are dead-code-eliminated.\\\\\\\\n\\\\\\\\t\\\\\\\\tIn this page, Svelte can't know which elements are\\\\\\\\n\\\\\\\\t\\\\\\\\tgoing to appear inside the {{{post.html}}} block,\\\\\\\\n\\\\\\\\t\\\\\\\\tso we have to use the :global(...) modifier to target\\\\\\\\n\\\\\\\\t\\\\\\\\tall elements inside .content\\\\\\\\n\\\\\\\\t*/\\\\\\\\n\\\\\\\\t.content :global(h2) {\\\\\\\\n\\\\\\\\t\\\\\\\\tfont-size: 1.4em;\\\\\\\\n\\\\\\\\t\\\\\\\\tfont-weight: 500;\\\\\\\\n\\\\\\\\t}\\\\\\\\n\\\\\\\\n\\\\\\\\t.content :global(pre) {\\\\\\\\n\\\\\\\\t\\\\\\\\tbackground-color: #f9f9f9;\\\\\\\\n\\\\\\\\t\\\\\\\\tbox-shadow: inset 1px 1px 5px rgba(0,0,0,0.05);\\\\\\\\n\\\\\\\\t\\\\\\\\tpadding: 0.5em;\\\\\\\\n\\\\\\\\t\\\\\\\\tborder-radius: 2px;\\\\\\\\n\\\\\\\\t\\\\\\\\toverflow-x: auto;\\\\\\\\n\\\\\\\\t}\\\\\\\\n\\\\\\\\n\\\\\\\\t.content :global(pre) :global(code) {\\\\\\\\n\\\\\\\\t\\\\\\\\tbackground-color: transparent;\\\\\\\\n\\\\\\\\t\\\\\\\\tpadding: 0;\\\\\\\\n\\\\\\\\t}\\\\\\\\n\\\\\\\\n\\\\\\\\t.content :global(ul) {\\\\\\\\n\\\\\\\\t\\\\\\\\tline-height: 1.5;\\\\\\\\n\\\\\\\\t}\\\\\\\\n\\\\\\\\n\\\\\\\\t.content :global(li) {\\\\\\\\n\\\\\\\\t\\\\\\\\tmargin: 0 0 0.5em 0;\\\\\\\\n\\\\\\\\t}\\\\\\\\n</style>\\\\\\\\n\\\\\\\\n<script>\\\\\\\\n\\\\\\\\texport default {\\\\\\\\n\\\\\\\\t\\\\\\\\tasync preload({ params, query }) {\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t// the `slug` parameter is available because\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t// this file is called [slug].html\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\tconst res = await this.fetch(`blog/${params.slug}.json`);\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\tconst data = await res.json();\\\\\\\\n\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\tif (res.status === 200) {\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\treturn { post: data };\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t} else {\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t\\\\\\\\tthis.error(res.status, data.message);\\\\\\\\n\\\\\\\\t\\\\\\\\t\\\\\\\\t}\\\\\\\\n\\\\\\\\t\\\\\\\\t}\\\\\\\\n\\\\\\\\t};\\\\\\\\n</script>\\\\\\\"],\\\\\\\"names\\\\\\\":[],\\\\\\\"mappings\\\\\\\":\\\\\\\"AAmBC,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,SAAS,CAAE,KAAK,CAChB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAE,CAAC,AACtB,gBAAgB,CAAE,OAAO,CACzB,UAAU,CAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAC9C,OAAO,CAAE,KAAK,CACd,aAAa,CAAE,GAAG,CAClB,UAAU,CAAE,IAAI,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,GAAG,AAAC,CAAC,AAAQ,IAAI,AAAE,CAAC,AACpC,gBAAgB,CAAE,WAAW,CAC7B,OAAO,CAAE,CAAC,AACX,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,WAAW,CAAE,GAAG,AACjB,CAAC,AAED,sBAAQ,CAAC,AAAQ,EAAE,AAAE,CAAC,AACrB,MAAM,CAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,AACpB,CAAC\\\\\\\"}\\\"}}}]},\",\"encoding\":\"utf8\",\"isBuf\":false,\"next\":{\"chunk\":{\"type\":\"Buffer\",\"data\":[13,10]},\"encoding\":\"buffer\",\"isBuf\":true,\"next\":null}}}},\"lastBufferedRequest\":\"~socket~_writableState~bufferedRequest~next~next~next\",\"pendingcb\":4,\"prefinished\":false,\"errorEmitted\":false,\"bufferedRequestCount\":4,\"corkedRequestsFree\":{\"next\":null,\"entry\":null}},\"writable\":true,\"allowHalfOpen\":true,\"_bytesDispatched\":0,\"_sockname\":null,\"_pendingData\":null,\"_pendingEncoding\":\"\",\"server\":{\"domain\":null,\"_events\":{\"listening\":[null,null]},\"_eventsCount\":5,\"_connections\":1,\"_handle\":{\"writeQueueSize\":0,\"owner\":\"~socket~server\"},\"_usingSlaves\":false,\"_slaves\":[],\"_unref\":false,\"allowHalfOpen\":true,\"pauseOnConnect\":false,\"httpAllowHalfOpen\":false,\"timeout\":120000,\"keepAliveTimeout\":5000,\"_pendingResponseData\":0,\"maxHeadersCount\":null,\"_socketPathSuffix\":\"tleph2aczn9\",\"_binaryTypes\":[\"*/*\"],\"_pipeName\":\"/tmp/server-tleph2aczn9.sock\",\"_connectionKey\":\"-1:/tmp/server-tleph2aczn9.sock:-1\",\"_isListening\":true},\"_server\":\"~socket~server\",\"_idleTimeout\":120000,\"_idleNext\":{\"_idleNext\":\"~socket\",\"_idlePrev\":\"~socket\",\"_timer\":{\"_list\":\"~socket~_idleNext\"},\"_unrefed\":true,\"msecs\":120000,\"nextTick\":false},\"_idlePrev\":\"~socket~_idleNext\",\"_idleStart\":1378,\"_destroyed\":false,\"parser\":{\"_headers\":[],\"_url\":\"\",\"_consumed\":true,\"socket\":\"~socket\",\"incoming\":\"~\",\"outgoing\":null,\"maxHeaderPairs\":2000},\"_paused\":false,\"_consuming\":true,\"_httpMessage\":{\"domain\":null,\"_events\":{},\"_eventsCount\":1,\"output\":[],\"outputEncodings\":[],\"outputCallbacks\":[],\"outputSize\":0,\"writable\":true,\"_last\":true,\"upgrading\":false,\"chunkedEncoding\":true,\"shouldKeepAlive\":false,\"useChunkedEncodingByDefault\":true,\"sendDate\":true,\"_removedConnection\":false,\"_removedContLen\":false,\"_removedTE\":false,\"_contentLength\":null,\"_hasBody\":true,\"_trailer\":\"\",\"finished\":false,\"_headerSent\":true,\"socket\":\"~socket\",\"connection\":\"~socket\",\"_header\":\"HTTP/1.1 200 OK\\r\\nX-Powered-By: Express\\r\\nDate: Tue, 14 Aug 2018 02:44:27 GMT\\r\\nConnection: close\\r\\nTransfer-Encoding: chunked\\r\\n\\r\\n\",\"_sent100\":false,\"_expect_continue\":false,\"req\":\"~\",\"locals\":{},\"statusMessage\":\"OK\",\"statusCode\":200}},\"connection\":\"~socket\",\"httpVersionMajor\":1,\"httpVersionMinor\":1,\"httpVersion\":\"1.1\",\"complete\":false,\"headers\":{\"accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"accept-encoding\":\"gzip, deflate, br\",\"accept-language\":\"en-US,en;q=0.9\",\"cache-control\":\"no-cache\",\"host\":\"cognito-api.eatmy.tv\",\"pragma\":\"no-cache\",\"referer\":\"https://cognito-api.eatmy.tv/about\",\"upgrade-insecure-requests\":\"1\",\"user-agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36\",\"x-amzn-trace-id\":\"Root=1-5b724209-be5f744ef9d1904ef1fc4062\",\"x-forwarded-for\":\"81.97.121.201\",\"x-forwarded-port\":\"443\",\"x-forwarded-proto\":\"https\",\"x-apigateway-event\":\"%7B%22resource%22%3A%22%2F%7Bproxy%2B%7D%22%2C%22path%22%3A%22%2Fblog%2Fwhat-is-sapper%22%2C%22httpMethod%22%3A%22GET%22%2C%22headers%22%3A%7B%22accept%22%3A%22text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2Cimage%2Fwebp%2Cimage%2Fapng%2C*%2F*%3Bq%3D0.8%22%2C%22accept-encoding%22%3A%22gzip%2C%20deflate%2C%20br%22%2C%22accept-language%22%3A%22en-US%2Cen%3Bq%3D0.9%22%2C%22cache-control%22%3A%22no-cache%22%2C%22Host%22%3A%22cognito-api.eatmy.tv%22%2C%22pragma%22%3A%22no-cache%22%2C%22referer%22%3A%22https%3A%2F%2Fcognito-api.eatmy.tv%2Fabout%22%2C%22upgrade-insecure-requests%22%3A%221%22%2C%22User-Agent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F67.0.3396.99%20Safari%2F537.36%22%2C%22X-Amzn-Trace-Id%22%3A%22Root%3D1-5b724209-be5f744ef9d1904ef1fc4062%22%2C%22X-Forwarded-For%22%3A%2281.97.121.201%22%2C%22X-Forwarded-Port%22%3A%22443%22%2C%22X-Forwarded-Proto%22%3A%22https%22%7D%2C%22queryStringParameters%22%3Anull%2C%22pathParameters%22%3A%7B%22proxy%22%3A%22blog%2Fwhat-is-sapper%22%7D%2C%22stageVariables%22%3Anull%2C%22requestContext%22%3A%7B%22resourceId%22%3A%228qm371%22%2C%22resourcePath%22%3A%22%2F%7Bproxy%2B%7D%22%2C%22httpMethod%22%3A%22GET%22%2C%22extendedRequestId%22%3A%22Ll9BfFe2DoEFwGQ%3D%22%2C%22requestTime%22%3A%2214%2FAug%2F2018%3A02%3A44%3A25%20%2B0000%22%2C%22path%22%3A%22%2Fblog%2Fwhat-is-sapper%22%2C%22accountId%22%3A%22817622417487%22%2C%22protocol%22%3A%22HTTP%2F1.1%22%2C%22stage%22%3A%22Prod%22%2C%22requestTimeEpoch%22%3A1534214665526%2C%22requestId%22%3A%22f4fba687-9f6b-11e8-9620-7368eef36f19%22%2C%22identity%22%3A%7B%22cognitoIdentityPoolId%22%3Anull%2C%22accountId%22%3Anull%2C%22cognitoIdentityId%22%3Anull%2C%22caller%22%3Anull%2C%22sourceIp%22%3A%2281.97.121.201%22%2C%22accessKey%22%3Anull%2C%22cognitoAuthenticationType%22%3Anull%2C%22cognitoAuthenticationProvider%22%3Anull%2C%22userArn%22%3Anull%2C%22userAgent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F67.0.3396.99%20Safari%2F537.36%22%2C%22user%22%3Anull%7D%2C%22apiId%22%3A%22rjnudc9633%22%7D%2C%22isBase64Encoded%22%3Afalse%7D\",\"x-apigateway-context\":\"%7B%22callbackWaitsForEmptyEventLoop%22%3Atrue%2C%22logGroupName%22%3A%22%2Faws%2Flambda%2FCognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%2C%22logStreamName%22%3A%222018%2F08%2F14%2F%5B%24LATEST%5Db73eaabd644547248000349d3c46f59d%22%2C%22functionName%22%3A%22CognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%2C%22memoryLimitInMB%22%3A%22128%22%2C%22functionVersion%22%3A%22%24LATEST%22%2C%22invokeid%22%3A%22f4fc1c7c-9f6b-11e8-89e6-71c097887084%22%2C%22awsRequestId%22%3A%22f4fc1c7c-9f6b-11e8-89e6-71c097887084%22%2C%22invokedFunctionArn%22%3A%22arn%3Aaws%3Alambda%3Aeu-west-1%3A817622417487%3Afunction%3ACognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%7D\",\"connection\":\"close\"},\"rawHeaders\":[\"accept\",\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8\",\"accept-encoding\",\"gzip, deflate, br\",\"accept-language\",\"en-US,en;q=0.9\",\"cache-control\",\"no-cache\",\"Host\",\"cognito-api.eatmy.tv\",\"pragma\",\"no-cache\",\"referer\",\"https://cognito-api.eatmy.tv/about\",\"upgrade-insecure-requests\",\"1\",\"User-Agent\",\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36\",\"X-Amzn-Trace-Id\",\"Root=1-5b724209-be5f744ef9d1904ef1fc4062\",\"X-Forwarded-For\",\"81.97.121.201\",\"X-Forwarded-Port\",\"443\",\"X-Forwarded-Proto\",\"https\",\"x-apigateway-event\",\"%7B%22resource%22%3A%22%2F%7Bproxy%2B%7D%22%2C%22path%22%3A%22%2Fblog%2Fwhat-is-sapper%22%2C%22httpMethod%22%3A%22GET%22%2C%22headers%22%3A%7B%22accept%22%3A%22text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2Cimage%2Fwebp%2Cimage%2Fapng%2C*%2F*%3Bq%3D0.8%22%2C%22accept-encoding%22%3A%22gzip%2C%20deflate%2C%20br%22%2C%22accept-language%22%3A%22en-US%2Cen%3Bq%3D0.9%22%2C%22cache-control%22%3A%22no-cache%22%2C%22Host%22%3A%22cognito-api.eatmy.tv%22%2C%22pragma%22%3A%22no-cache%22%2C%22referer%22%3A%22https%3A%2F%2Fcognito-api.eatmy.tv%2Fabout%22%2C%22upgrade-insecure-requests%22%3A%221%22%2C%22User-Agent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F67.0.3396.99%20Safari%2F537.36%22%2C%22X-Amzn-Trace-Id%22%3A%22Root%3D1-5b724209-be5f744ef9d1904ef1fc4062%22%2C%22X-Forwarded-For%22%3A%2281.97.121.201%22%2C%22X-Forwarded-Port%22%3A%22443%22%2C%22X-Forwarded-Proto%22%3A%22https%22%7D%2C%22queryStringParameters%22%3Anull%2C%22pathParameters%22%3A%7B%22proxy%22%3A%22blog%2Fwhat-is-sapper%22%7D%2C%22stageVariables%22%3Anull%2C%22requestContext%22%3A%7B%22resourceId%22%3A%228qm371%22%2C%22resourcePath%22%3A%22%2F%7Bproxy%2B%7D%22%2C%22httpMethod%22%3A%22GET%22%2C%22extendedRequestId%22%3A%22Ll9BfFe2DoEFwGQ%3D%22%2C%22requestTime%22%3A%2214%2FAug%2F2018%3A02%3A44%3A25%20%2B0000%22%2C%22path%22%3A%22%2Fblog%2Fwhat-is-sapper%22%2C%22accountId%22%3A%22817622417487%22%2C%22protocol%22%3A%22HTTP%2F1.1%22%2C%22stage%22%3A%22Prod%22%2C%22requestTimeEpoch%22%3A1534214665526%2C%22requestId%22%3A%22f4fba687-9f6b-11e8-9620-7368eef36f19%22%2C%22identity%22%3A%7B%22cognitoIdentityPoolId%22%3Anull%2C%22accountId%22%3Anull%2C%22cognitoIdentityId%22%3Anull%2C%22caller%22%3Anull%2C%22sourceIp%22%3A%2281.97.121.201%22%2C%22accessKey%22%3Anull%2C%22cognitoAuthenticationType%22%3Anull%2C%22cognitoAuthenticationProvider%22%3Anull%2C%22userArn%22%3Anull%2C%22userAgent%22%3A%22Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F67.0.3396.99%20Safari%2F537.36%22%2C%22user%22%3Anull%7D%2C%22apiId%22%3A%22rjnudc9633%22%7D%2C%22isBase64Encoded%22%3Afalse%7D\",\"x-apigateway-context\",\"%7B%22callbackWaitsForEmptyEventLoop%22%3Atrue%2C%22logGroupName%22%3A%22%2Faws%2Flambda%2FCognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%2C%22logStreamName%22%3A%222018%2F08%2F14%2F%5B%24LATEST%5Db73eaabd644547248000349d3c46f59d%22%2C%22functionName%22%3A%22CognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%2C%22memoryLimitInMB%22%3A%22128%22%2C%22functionVersion%22%3A%22%24LATEST%22%2C%22invokeid%22%3A%22f4fc1c7c-9f6b-11e8-89e6-71c097887084%22%2C%22awsRequestId%22%3A%22f4fc1c7c-9f6b-11e8-89e6-71c097887084%22%2C%22invokedFunctionArn%22%3A%22arn%3Aaws%3Alambda%3Aeu-west-1%3A817622417487%3Afunction%3ACognitoDemo-Server-CognitoFunction-1QX95G8H88BH%22%7D\",\"Connection\",\"close\"],\"trailers\":{},\"rawTrailers\":[],\"upgrade\":false,\"url\":\"/blog/what-is-sapper\",\"method\":\"GET\",\"statusCode\":null,\"statusMessage\":null,\"client\":\"~socket\",\"_consuming\":false,\"_dumped\":false,\"baseUrl\":\"\",\"originalUrl\":\"/blog/what-is-sapper\",\"_parsedUrl\":{\"protocol\":null,\"slashes\":null,\"auth\":null,\"host\":null,\"port\":null,\"hostname\":null,\"hash\":null,\"search\":null,\"query\":null,\"pathname\":\"/blog/what-is-sapper\",\"path\":\"/blog/what-is-sapper\",\"href\":\"/blog/what-is-sapper\",\"_raw\":\"/blog/what-is-sapper\"},\"params\":{},\"query\":{},\"res\":\"~socket~_httpMessage\"},",
"encoding": "utf8",
"isBuf": false,
"next": {
"chunk": {
"type": "Buffer",
"data": [13, 10]
},
"encoding": "buffer",
"isBuf": true,
"next": null
}
}
}
}
}
}
}
},
"lastBufferedRequest": "~socket~_writableState~bufferedRequest~next~next~next~next~next~next~next",
"pendingcb": 8,
"prefinished": false,
"errorEmitted": false,
"bufferedRequestCount": 8,
"corkedRequestsFree": {
"next": null,
"entry": null
}
},
"writable": true,
"allowHalfOpen": true,
"_bytesDispatched": 0,
"_sockname": null,
"_pendingData": null,
"_pendingEncoding": "",
"server": {
"domain": null,
"_events": {
"listening": [null, null]
},
"_eventsCount": 5,
"_connections": 1,
"_handle": {
"writeQueueSize": 0,
"owner": "~socket~server"
},
"_usingSlaves": false,
"_slaves": [],
"_unref": false,
"allowHalfOpen": true,
"pauseOnConnect": false,
"httpAllowHalfOpen": false,
"timeout": 120000,
"keepAliveTimeout": 5000,
"_pendingResponseData": 0,
"maxHeadersCount": null,
"_socketPathSuffix": "tleph2aczn9",
"_binaryTypes": ["*/*"],
"_pipeName": "/tmp/server-tleph2aczn9.sock",
"_connectionKey": "-1:/tmp/server-tleph2aczn9.sock:-1",
"_isListening": true
},
"_server": "~socket~server",
"_idleTimeout": 120000,
"_idleNext": {
"_idleNext": "~socket",
"_idlePrev": "~socket",
"_timer": {
"_list": "~socket~_idleNext"
},
"_unrefed": true,
"msecs": 120000,
"nextTick": false
},
"_idlePrev": "~socket~_idleNext",
"_idleStart": 1378,
"_destroyed": false,
"parser": {
"_headers": [],
"_url": "",
"_consumed": true,
"socket": "~socket",
"incoming": {
"_readableState": {
"objectMode": false,
"highWaterMark": 16384,
"buffer": {
"head": null,
"tail": null,
"length": 0
},
"length": 0,
"pipes": null,
"pipesCount": 0,
"flowing": null,
"ended": false,
"endEmitted": false,
"reading": false,
"sync": true,
"needReadable": false,
"emittedReadable": false,
"readableListening": false,
"resumeScheduled": false,
"destroyed": false,
"defaultEncoding": "utf8",
"awaitDrain": 0,
"readingMore": true,
"decoder": null,
"encoding": null
},
"readable": true,
"domain": null,
"_events": {},
"_eventsCount": 0,
"socket": "~socket",
"connection": "~socket",
"httpVersionMajor": 1,
"httpVersionMinor": 1,
"httpVersion": "1.1",
"complete": false,
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"accept-encoding": "gzip, deflate, br",
"accept-language": "en-US,en;q=0.9",
"cache-control": "no-cache",
"host": "cognito-api.eatmy.tv",
"pragma": "no-cache",
"referer": "https://cognito-api.eatmy.tv/about",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36",
"x-amzn-trace-id": "Root=1-5b724209-be5f744ef9d1904ef1fc4062",
"connection": "close"
},
"trailers": {},
"rawTrailers": [],
"upgrade": false,
"url": "/blog/what-is-sapper",
"method": "GET",
"statusCode": null,
"statusMessage": null,
"client": "~socket",
"_consuming": false,
"_dumped": false,
"baseUrl": "",
"originalUrl": "/blog/what-is-sapper",
"_parsedUrl": {
"protocol": null,
"slashes": null,
"auth": null,
"host": null,
"port": null,
"hostname": null,
"hash": null,
"search": null,
"query": null,
"pathname": "/blog/what-is-sapper",
"path": "/blog/what-is-sapper",
"href": "/blog/what-is-sapper",
"_raw": "/blog/what-is-sapper"
},
"params": {},
"query": {},
"res": "~"
},
"outgoing": null,
"maxHeaderPairs": 2000
},
"_paused": false,
"_consuming": true,
"_httpMessage": "~"
},
"connection": "~socket",
"_header": "HTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nDate: Tue, 14 Aug 2018 02:44:27 GMT\r\nConnection: close\r\nTransfer-Encoding: chunked\r\n\r\n",
"_sent100": false,
"_expect_continue": false,
"req": "~socket~parser~incoming",
"locals": {},
"statusMessage": "OK",
"statusCode": 200
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment