|
| 1 | +HTTP/1.1 200 OK |
| 2 | +Access-Control-Allow-Credentials: true |
| 3 | +Access-Control-Allow-Origin: * |
| 4 | +Connection: keep-alive |
| 5 | +Content-Length: 523 |
| 6 | +Content-Type: application/json |
| 7 | +Server: gunicorn/19.9.0 |
| 8 | +X-Kong-Proxy-Latency: 1 |
| 9 | +X-Kong-Upstream-Latency: 1 |
| 10 | +{ |
| 11 | + "args": {}, |
| 12 | + "data": "", |
| 13 | + "files": {}, |
| 14 | + "form": {}, |
| 15 | + "headers": { |
| 16 | + "Accept": "*/*", |
| 17 | + "Accept-Encoding": "gzip, deflate", |
| 18 | + "Connection": "close", |
| 19 | + "Host": "httpbin.org", |
| 20 | + "User-Agent": "HTTPie/1.0.2", |
| 21 | + "X-Forwarded-Host": "example.com" |
| 22 | + }, |
| 23 | + "json": null, |
| 24 | + "method": "GET", |
| 25 | + "origin": "172.19.0.1, 52.201.239.166", |
| 26 | + "url": "http://example.com/anything" |
| 27 | +} |
| 28 | + |
| 29 | +---------------------------------------------------- |
| 30 | + |
| 31 | +[ |
| 32 | + ["response-status", [ |
| 33 | + ["http-version", "HTTP/1.1"], |
| 34 | + ["status-code", "200"], |
| 35 | + ["reason-phrase", "OK"] |
| 36 | + ]], |
| 37 | + |
| 38 | + ["header-name", "Access-Control-Allow-Credentials:"], |
| 39 | + " true\r\n", |
| 40 | + |
| 41 | + ["header-name", "Access-Control-Allow-Origin:"], |
| 42 | + " *\r\n", |
| 43 | + |
| 44 | + ["header-name", "Connection:"], |
| 45 | + " keep-alive\r\n", |
| 46 | + |
| 47 | + ["header-name", "Content-Length:"], |
| 48 | + " 523\r\n", |
| 49 | + |
| 50 | + ["header-name", "Content-Type:"], |
| 51 | + " application/json\r\n", |
| 52 | + |
| 53 | + ["header-name", "Server:"], |
| 54 | + " gunicorn/19.9.0\r\n", |
| 55 | + |
| 56 | + ["header-name", "X-Kong-Proxy-Latency:"], |
| 57 | + " 1\r\n", |
| 58 | + |
| 59 | + ["header-name", "X-Kong-Upstream-Latency:"], |
| 60 | + " 1\r\n", |
| 61 | + |
| 62 | + ["application-json", [ |
| 63 | + ["punctuation", "{"], |
| 64 | + |
| 65 | + ["property", "\"args\""], |
| 66 | + ["operator", ":"], |
| 67 | + ["punctuation", "{"], |
| 68 | + ["punctuation", "}"], |
| 69 | + ["punctuation", ","], |
| 70 | + |
| 71 | + ["property", "\"data\""], |
| 72 | + ["operator", ":"], |
| 73 | + ["string", "\"\""], |
| 74 | + ["punctuation", ","], |
| 75 | + |
| 76 | + ["property", "\"files\""], |
| 77 | + ["operator", ":"], |
| 78 | + ["punctuation", "{"], |
| 79 | + ["punctuation", "}"], |
| 80 | + ["punctuation", ","], |
| 81 | + |
| 82 | + ["property", "\"form\""], |
| 83 | + ["operator", ":"], |
| 84 | + ["punctuation", "{"], |
| 85 | + ["punctuation", "}"], |
| 86 | + ["punctuation", ","], |
| 87 | + |
| 88 | + ["property", "\"headers\""], |
| 89 | + ["operator", ":"], |
| 90 | + ["punctuation", "{"], |
| 91 | + |
| 92 | + ["property", "\"Accept\""], |
| 93 | + ["operator", ":"], |
| 94 | + ["string", "\"*/*\""], |
| 95 | + ["punctuation", ","], |
| 96 | + |
| 97 | + ["property", "\"Accept-Encoding\""], |
| 98 | + ["operator", ":"], |
| 99 | + ["string", "\"gzip, deflate\""], |
| 100 | + ["punctuation", ","], |
| 101 | + |
| 102 | + ["property", "\"Connection\""], |
| 103 | + ["operator", ":"], |
| 104 | + ["string", "\"close\""], |
| 105 | + ["punctuation", ","], |
| 106 | + |
| 107 | + ["property", "\"Host\""], |
| 108 | + ["operator", ":"], |
| 109 | + ["string", "\"httpbin.org\""], |
| 110 | + ["punctuation", ","], |
| 111 | + |
| 112 | + ["property", "\"User-Agent\""], |
| 113 | + ["operator", ":"], |
| 114 | + ["string", "\"HTTPie/1.0.2\""], |
| 115 | + ["punctuation", ","], |
| 116 | + |
| 117 | + ["property", "\"X-Forwarded-Host\""], |
| 118 | + ["operator", ":"], |
| 119 | + ["string", "\"example.com\""], |
| 120 | + |
| 121 | + ["punctuation", "}"], |
| 122 | + ["punctuation", ","], |
| 123 | + |
| 124 | + ["property", "\"json\""], |
| 125 | + ["operator", ":"], |
| 126 | + ["null", "null"], |
| 127 | + ["punctuation", ","], |
| 128 | + |
| 129 | + ["property", "\"method\""], |
| 130 | + ["operator", ":"], |
| 131 | + ["string", "\"GET\""], |
| 132 | + ["punctuation", ","], |
| 133 | + |
| 134 | + ["property", "\"origin\""], |
| 135 | + ["operator", ":"], |
| 136 | + ["string", "\"172.19.0.1, 52.201.239.166\""], |
| 137 | + ["punctuation", ","], |
| 138 | + |
| 139 | + ["property", "\"url\""], |
| 140 | + ["operator", ":"], |
| 141 | + ["string", "\"http://example.com/anything\""], |
| 142 | + |
| 143 | + ["punctuation", "}"] |
| 144 | + ]] |
| 145 | +] |
0 commit comments