| 1 |
Sample requests |
| 2 |
=============== |
| 3 |
|
| 4 |
Lots of sample requests, most ported from [http_parser][0] test suite. |
| 5 |
|
| 6 |
## Simple request |
| 7 |
|
| 8 |
<!-- meta={"type": "request"} --> |
| 9 |
```http |
| 10 |
OPTIONS /url HTTP/1.1 |
| 11 |
Header1: Value1 |
| 12 |
Header2:\t Value2 |
| 13 |
|
| 14 |
|
| 15 |
``` |
| 16 |
|
| 17 |
```log |
| 18 |
off=0 message begin |
| 19 |
off=0 len=7 span[method]="OPTIONS" |
| 20 |
off=7 method complete |
| 21 |
off=8 len=4 span[url]="/url" |
| 22 |
off=13 url complete |
| 23 |
off=18 len=3 span[version]="1.1" |
| 24 |
off=21 version complete |
| 25 |
off=23 len=7 span[header_field]="Header1" |
| 26 |
off=31 header_field complete |
| 27 |
off=32 len=6 span[header_value]="Value1" |
| 28 |
off=40 header_value complete |
| 29 |
off=40 len=7 span[header_field]="Header2" |
| 30 |
off=48 header_field complete |
| 31 |
off=50 len=6 span[header_value]="Value2" |
| 32 |
off=58 header_value complete |
| 33 |
off=60 headers complete method=6 v=1/1 flags=0 content_length=0 |
| 34 |
off=60 message complete |
| 35 |
``` |
| 36 |
|
| 37 |
## Request with method starting with `H` |
| 38 |
|
| 39 |
There's a optimization in `start_req_or_res` that passes execution to |
| 40 |
`start_req` when the first character is not `H` (because response must start |
| 41 |
with `HTTP/`). However, there're still methods like `HEAD` that should get |
| 42 |
to `start_req`. Verify that it still works after optimization. |
| 43 |
|
| 44 |
<!-- meta={"type": "request", "noScan": true } --> |
| 45 |
```http |
| 46 |
HEAD /url HTTP/1.1 |
| 47 |
|
| 48 |
|
| 49 |
``` |
| 50 |
|
| 51 |
```log |
| 52 |
off=0 message begin |
| 53 |
off=0 len=4 span[method]="HEAD" |
| 54 |
off=4 method complete |
| 55 |
off=5 len=4 span[url]="/url" |
| 56 |
off=10 url complete |
| 57 |
off=15 len=3 span[version]="1.1" |
| 58 |
off=18 version complete |
| 59 |
off=22 headers complete method=2 v=1/1 flags=0 content_length=0 |
| 60 |
off=22 message complete |
| 61 |
``` |
| 62 |
|
| 63 |
## curl GET |
| 64 |
|
| 65 |
<!-- meta={"type": "request"} --> |
| 66 |
```http |
| 67 |
GET /test HTTP/1.1 |
| 68 |
User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1 |
| 69 |
Host: 0.0.0.0=5000 |
| 70 |
Accept: */* |
| 71 |
|
| 72 |
|
| 73 |
``` |
| 74 |
|
| 75 |
```log |
| 76 |
off=0 message begin |
| 77 |
off=0 len=3 span[method]="GET" |
| 78 |
off=3 method complete |
| 79 |
off=4 len=5 span[url]="/test" |
| 80 |
off=10 url complete |
| 81 |
off=15 len=3 span[version]="1.1" |
| 82 |
off=18 version complete |
| 83 |
off=20 len=10 span[header_field]="User-Agent" |
| 84 |
off=31 header_field complete |
| 85 |
off=32 len=85 span[header_value]="curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1" |
| 86 |
off=119 header_value complete |
| 87 |
off=119 len=4 span[header_field]="Host" |
| 88 |
off=124 header_field complete |
| 89 |
off=125 len=12 span[header_value]="0.0.0.0=5000" |
| 90 |
off=139 header_value complete |
| 91 |
off=139 len=6 span[header_field]="Accept" |
| 92 |
off=146 header_field complete |
| 93 |
off=147 len=3 span[header_value]="*/*" |
| 94 |
off=152 header_value complete |
| 95 |
off=154 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 96 |
off=154 message complete |
| 97 |
``` |
| 98 |
|
| 99 |
## Firefox GET |
| 100 |
|
| 101 |
<!-- meta={"type": "request"} --> |
| 102 |
```http |
| 103 |
GET /favicon.ico HTTP/1.1 |
| 104 |
Host: 0.0.0.0=5000 |
| 105 |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0 |
| 106 |
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| 107 |
Accept-Language: en-us,en;q=0.5 |
| 108 |
Accept-Encoding: gzip,deflate |
| 109 |
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| 110 |
Keep-Alive: 300 |
| 111 |
Connection: keep-alive |
| 112 |
|
| 113 |
|
| 114 |
``` |
| 115 |
|
| 116 |
```log |
| 117 |
off=0 message begin |
| 118 |
off=0 len=3 span[method]="GET" |
| 119 |
off=3 method complete |
| 120 |
off=4 len=12 span[url]="/favicon.ico" |
| 121 |
off=17 url complete |
| 122 |
off=22 len=3 span[version]="1.1" |
| 123 |
off=25 version complete |
| 124 |
off=27 len=4 span[header_field]="Host" |
| 125 |
off=32 header_field complete |
| 126 |
off=33 len=12 span[header_value]="0.0.0.0=5000" |
| 127 |
off=47 header_value complete |
| 128 |
off=47 len=10 span[header_field]="User-Agent" |
| 129 |
off=58 header_field complete |
| 130 |
off=59 len=76 span[header_value]="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0" |
| 131 |
off=137 header_value complete |
| 132 |
off=137 len=6 span[header_field]="Accept" |
| 133 |
off=144 header_field complete |
| 134 |
off=145 len=63 span[header_value]="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" |
| 135 |
off=210 header_value complete |
| 136 |
off=210 len=15 span[header_field]="Accept-Language" |
| 137 |
off=226 header_field complete |
| 138 |
off=227 len=14 span[header_value]="en-us,en;q=0.5" |
| 139 |
off=243 header_value complete |
| 140 |
off=243 len=15 span[header_field]="Accept-Encoding" |
| 141 |
off=259 header_field complete |
| 142 |
off=260 len=12 span[header_value]="gzip,deflate" |
| 143 |
off=274 header_value complete |
| 144 |
off=274 len=14 span[header_field]="Accept-Charset" |
| 145 |
off=289 header_field complete |
| 146 |
off=290 len=30 span[header_value]="ISO-8859-1,utf-8;q=0.7,*;q=0.7" |
| 147 |
off=322 header_value complete |
| 148 |
off=322 len=10 span[header_field]="Keep-Alive" |
| 149 |
off=333 header_field complete |
| 150 |
off=334 len=3 span[header_value]="300" |
| 151 |
off=339 header_value complete |
| 152 |
off=339 len=10 span[header_field]="Connection" |
| 153 |
off=350 header_field complete |
| 154 |
off=351 len=10 span[header_value]="keep-alive" |
| 155 |
off=363 header_value complete |
| 156 |
off=365 headers complete method=1 v=1/1 flags=1 content_length=0 |
| 157 |
off=365 message complete |
| 158 |
``` |
| 159 |
|
| 160 |
## DUMBPACK |
| 161 |
|
| 162 |
<!-- meta={"type": "request"} --> |
| 163 |
```http |
| 164 |
GET /dumbpack HTTP/1.1 |
| 165 |
aaaaaaaaaaaaa:++++++++++ |
| 166 |
|
| 167 |
|
| 168 |
``` |
| 169 |
|
| 170 |
```log |
| 171 |
off=0 message begin |
| 172 |
off=0 len=3 span[method]="GET" |
| 173 |
off=3 method complete |
| 174 |
off=4 len=9 span[url]="/dumbpack" |
| 175 |
off=14 url complete |
| 176 |
off=19 len=3 span[version]="1.1" |
| 177 |
off=22 version complete |
| 178 |
off=24 len=13 span[header_field]="aaaaaaaaaaaaa" |
| 179 |
off=38 header_field complete |
| 180 |
off=38 len=10 span[header_value]="++++++++++" |
| 181 |
off=50 header_value complete |
| 182 |
off=52 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 183 |
off=52 message complete |
| 184 |
``` |
| 185 |
|
| 186 |
## No headers and no body |
| 187 |
|
| 188 |
<!-- meta={"type": "request"} --> |
| 189 |
```http |
| 190 |
GET /get_no_headers_no_body/world HTTP/1.1 |
| 191 |
|
| 192 |
|
| 193 |
``` |
| 194 |
|
| 195 |
```log |
| 196 |
off=0 message begin |
| 197 |
off=0 len=3 span[method]="GET" |
| 198 |
off=3 method complete |
| 199 |
off=4 len=29 span[url]="/get_no_headers_no_body/world" |
| 200 |
off=34 url complete |
| 201 |
off=39 len=3 span[version]="1.1" |
| 202 |
off=42 version complete |
| 203 |
off=46 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 204 |
off=46 message complete |
| 205 |
``` |
| 206 |
|
| 207 |
## One header and no body |
| 208 |
|
| 209 |
<!-- meta={"type": "request"} --> |
| 210 |
```http |
| 211 |
GET /get_one_header_no_body HTTP/1.1 |
| 212 |
Accept: */* |
| 213 |
|
| 214 |
|
| 215 |
``` |
| 216 |
|
| 217 |
```log |
| 218 |
off=0 message begin |
| 219 |
off=0 len=3 span[method]="GET" |
| 220 |
off=3 method complete |
| 221 |
off=4 len=23 span[url]="/get_one_header_no_body" |
| 222 |
off=28 url complete |
| 223 |
off=33 len=3 span[version]="1.1" |
| 224 |
off=36 version complete |
| 225 |
off=38 len=6 span[header_field]="Accept" |
| 226 |
off=45 header_field complete |
| 227 |
off=46 len=3 span[header_value]="*/*" |
| 228 |
off=51 header_value complete |
| 229 |
off=53 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 230 |
off=53 message complete |
| 231 |
``` |
| 232 |
|
| 233 |
## Apache bench GET |
| 234 |
|
| 235 |
The server receiving this request SHOULD NOT wait for EOF to know that |
| 236 |
`Content-Length == 0`. |
| 237 |
|
| 238 |
<!-- meta={"type": "request"} --> |
| 239 |
```http |
| 240 |
GET /test HTTP/1.0 |
| 241 |
Host: 0.0.0.0:5000 |
| 242 |
User-Agent: ApacheBench/2.3 |
| 243 |
Accept: */* |
| 244 |
|
| 245 |
|
| 246 |
``` |
| 247 |
|
| 248 |
```log |
| 249 |
off=0 message begin |
| 250 |
off=0 len=3 span[method]="GET" |
| 251 |
off=3 method complete |
| 252 |
off=4 len=5 span[url]="/test" |
| 253 |
off=10 url complete |
| 254 |
off=15 len=3 span[version]="1.0" |
| 255 |
off=18 version complete |
| 256 |
off=20 len=4 span[header_field]="Host" |
| 257 |
off=25 header_field complete |
| 258 |
off=26 len=12 span[header_value]="0.0.0.0:5000" |
| 259 |
off=40 header_value complete |
| 260 |
off=40 len=10 span[header_field]="User-Agent" |
| 261 |
off=51 header_field complete |
| 262 |
off=52 len=15 span[header_value]="ApacheBench/2.3" |
| 263 |
off=69 header_value complete |
| 264 |
off=69 len=6 span[header_field]="Accept" |
| 265 |
off=76 header_field complete |
| 266 |
off=77 len=3 span[header_value]="*/*" |
| 267 |
off=82 header_value complete |
| 268 |
off=84 headers complete method=1 v=1/0 flags=0 content_length=0 |
| 269 |
off=84 message complete |
| 270 |
``` |
| 271 |
|
| 272 |
## Prefix newline |
| 273 |
|
| 274 |
Some clients, especially after a POST in a keep-alive connection, |
| 275 |
will send an extra CRLF before the next request. |
| 276 |
|
| 277 |
<!-- meta={"type": "request"} --> |
| 278 |
```http |
| 279 |
\r\nGET /test HTTP/1.1 |
| 280 |
|
| 281 |
|
| 282 |
``` |
| 283 |
|
| 284 |
```log |
| 285 |
off=2 message begin |
| 286 |
off=2 len=3 span[method]="GET" |
| 287 |
off=5 method complete |
| 288 |
off=6 len=5 span[url]="/test" |
| 289 |
off=12 url complete |
| 290 |
off=17 len=3 span[version]="1.1" |
| 291 |
off=20 version complete |
| 292 |
off=24 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 293 |
off=24 message complete |
| 294 |
``` |
| 295 |
|
| 296 |
## No HTTP version |
| 297 |
|
| 298 |
<!-- meta={"type": "request"} --> |
| 299 |
```http |
| 300 |
GET / |
| 301 |
|
| 302 |
|
| 303 |
``` |
| 304 |
|
| 305 |
```log |
| 306 |
off=0 message begin |
| 307 |
off=0 len=3 span[method]="GET" |
| 308 |
off=3 method complete |
| 309 |
off=4 len=1 span[url]="/" |
| 310 |
off=7 url complete |
| 311 |
off=9 headers complete method=1 v=0/9 flags=0 content_length=0 |
| 312 |
off=9 message complete |
| 313 |
``` |
| 314 |
|
| 315 |
## Line folding in header value with CRLF |
| 316 |
|
| 317 |
<!-- meta={"type": "request-lenient-headers"} --> |
| 318 |
```http |
| 319 |
GET / HTTP/1.1 |
| 320 |
Line1: abc |
| 321 |
\tdef |
| 322 |
ghi |
| 323 |
\t\tjkl |
| 324 |
mno |
| 325 |
\t \tqrs |
| 326 |
Line2: \t line2\t |
| 327 |
Line3: |
| 328 |
line3 |
| 329 |
Line4: |
| 330 |
|
| 331 |
Connection: |
| 332 |
close |
| 333 |
|
| 334 |
|
| 335 |
``` |
| 336 |
|
| 337 |
```log |
| 338 |
off=0 message begin |
| 339 |
off=0 len=3 span[method]="GET" |
| 340 |
off=3 method complete |
| 341 |
off=4 len=1 span[url]="/" |
| 342 |
off=6 url complete |
| 343 |
off=11 len=3 span[version]="1.1" |
| 344 |
off=14 version complete |
| 345 |
off=16 len=5 span[header_field]="Line1" |
| 346 |
off=22 header_field complete |
| 347 |
off=25 len=3 span[header_value]="abc" |
| 348 |
off=30 len=4 span[header_value]="\tdef" |
| 349 |
off=36 len=4 span[header_value]=" ghi" |
| 350 |
off=42 len=5 span[header_value]="\t\tjkl" |
| 351 |
off=49 len=6 span[header_value]=" mno " |
| 352 |
off=57 len=6 span[header_value]="\t \tqrs" |
| 353 |
off=65 header_value complete |
| 354 |
off=65 len=5 span[header_field]="Line2" |
| 355 |
off=71 header_field complete |
| 356 |
off=74 len=6 span[header_value]="line2\t" |
| 357 |
off=82 header_value complete |
| 358 |
off=82 len=5 span[header_field]="Line3" |
| 359 |
off=88 header_field complete |
| 360 |
off=91 len=5 span[header_value]="line3" |
| 361 |
off=98 header_value complete |
| 362 |
off=98 len=5 span[header_field]="Line4" |
| 363 |
off=104 header_field complete |
| 364 |
off=110 len=0 span[header_value]="" |
| 365 |
off=110 header_value complete |
| 366 |
off=110 len=10 span[header_field]="Connection" |
| 367 |
off=121 header_field complete |
| 368 |
off=124 len=5 span[header_value]="close" |
| 369 |
off=131 header_value complete |
| 370 |
off=133 headers complete method=1 v=1/1 flags=2 content_length=0 |
| 371 |
off=133 message complete |
| 372 |
``` |
| 373 |
|
| 374 |
## Line folding in header value with LF |
| 375 |
|
| 376 |
<!-- meta={"type": "request"} --> |
| 377 |
|
| 378 |
```http |
| 379 |
GET / HTTP/1.1 |
| 380 |
Line1: abc\n\ |
| 381 |
\tdef\n\ |
| 382 |
ghi\n\ |
| 383 |
\t\tjkl\n\ |
| 384 |
mno \n\ |
| 385 |
\t \tqrs\n\ |
| 386 |
Line2: \t line2\t\n\ |
| 387 |
Line3:\n\ |
| 388 |
line3\n\ |
| 389 |
Line4: \n\ |
| 390 |
\n\ |
| 391 |
Connection:\n\ |
| 392 |
close\n\ |
| 393 |
\n |
| 394 |
``` |
| 395 |
|
| 396 |
```log |
| 397 |
off=0 message begin |
| 398 |
off=0 len=3 span[method]="GET" |
| 399 |
off=3 method complete |
| 400 |
off=4 len=1 span[url]="/" |
| 401 |
off=6 url complete |
| 402 |
off=11 len=3 span[version]="1.1" |
| 403 |
off=14 version complete |
| 404 |
off=16 len=5 span[header_field]="Line1" |
| 405 |
off=22 header_field complete |
| 406 |
off=25 len=3 span[header_value]="abc" |
| 407 |
off=28 error code=25 reason="Missing expected CR after header value" |
| 408 |
``` |
| 409 |
|
| 410 |
## No LF after CR |
| 411 |
|
| 412 |
<!-- meta={"type":"request"} --> |
| 413 |
|
| 414 |
```http |
| 415 |
GET / HTTP/1.1\rLine: 1 |
| 416 |
|
| 417 |
``` |
| 418 |
|
| 419 |
```log |
| 420 |
off=0 message begin |
| 421 |
off=0 len=3 span[method]="GET" |
| 422 |
off=3 method complete |
| 423 |
off=4 len=1 span[url]="/" |
| 424 |
off=6 url complete |
| 425 |
off=11 len=3 span[version]="1.1" |
| 426 |
off=14 version complete |
| 427 |
off=15 error code=2 reason="Expected CRLF after version" |
| 428 |
``` |
| 429 |
|
| 430 |
## No LF after CR (lenient) |
| 431 |
|
| 432 |
<!-- meta={"type":"request-lenient-optional-lf-after-cr"} --> |
| 433 |
|
| 434 |
```http |
| 435 |
GET / HTTP/1.1\rLine: 1 |
| 436 |
|
| 437 |
``` |
| 438 |
|
| 439 |
```log |
| 440 |
off=0 message begin |
| 441 |
off=0 len=3 span[method]="GET" |
| 442 |
off=3 method complete |
| 443 |
off=4 len=1 span[url]="/" |
| 444 |
off=6 url complete |
| 445 |
off=11 len=3 span[version]="1.1" |
| 446 |
off=14 version complete |
| 447 |
off=15 len=4 span[header_field]="Line" |
| 448 |
off=20 header_field complete |
| 449 |
off=21 len=1 span[header_value]="1" |
| 450 |
``` |
| 451 |
|
| 452 |
## Request starting with CRLF |
| 453 |
|
| 454 |
<!-- meta={"type": "request"} --> |
| 455 |
```http |
| 456 |
\r\nGET /url HTTP/1.1 |
| 457 |
Header1: Value1 |
| 458 |
|
| 459 |
|
| 460 |
``` |
| 461 |
|
| 462 |
```log |
| 463 |
off=2 message begin |
| 464 |
off=2 len=3 span[method]="GET" |
| 465 |
off=5 method complete |
| 466 |
off=6 len=4 span[url]="/url" |
| 467 |
off=11 url complete |
| 468 |
off=16 len=3 span[version]="1.1" |
| 469 |
off=19 version complete |
| 470 |
off=21 len=7 span[header_field]="Header1" |
| 471 |
off=29 header_field complete |
| 472 |
off=30 len=6 span[header_value]="Value1" |
| 473 |
off=38 header_value complete |
| 474 |
off=40 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 475 |
off=40 message complete |
| 476 |
``` |
| 477 |
|
| 478 |
## Extended Characters |
| 479 |
|
| 480 |
See nodejs/test/parallel/test-http-headers-obstext.js |
| 481 |
|
| 482 |
<!-- meta={"type": "request", "noScan": true} --> |
| 483 |
```http |
| 484 |
GET / HTTP/1.1 |
| 485 |
Test: Düsseldorf |
| 486 |
|
| 487 |
|
| 488 |
``` |
| 489 |
|
| 490 |
```log |
| 491 |
off=0 message begin |
| 492 |
off=0 len=3 span[method]="GET" |
| 493 |
off=3 method complete |
| 494 |
off=4 len=1 span[url]="/" |
| 495 |
off=6 url complete |
| 496 |
off=11 len=3 span[version]="1.1" |
| 497 |
off=14 version complete |
| 498 |
off=16 len=4 span[header_field]="Test" |
| 499 |
off=21 header_field complete |
| 500 |
off=22 len=11 span[header_value]="Düsseldorf" |
| 501 |
off=35 header_value complete |
| 502 |
off=37 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 503 |
off=37 message complete |
| 504 |
``` |
| 505 |
|
| 506 |
## 255 ASCII in header value |
| 507 |
|
| 508 |
Note: `Buffer.from([ 0xff ]).toString('latin1') === 'ÿ'`. |
| 509 |
|
| 510 |
<!-- meta={"type": "request", "noScan": true} --> |
| 511 |
```http |
| 512 |
OPTIONS /url HTTP/1.1 |
| 513 |
Header1: Value1 |
| 514 |
Header2: \xffValue2 |
| 515 |
|
| 516 |
|
| 517 |
``` |
| 518 |
|
| 519 |
```log |
| 520 |
off=0 message begin |
| 521 |
off=0 len=7 span[method]="OPTIONS" |
| 522 |
off=7 method complete |
| 523 |
off=8 len=4 span[url]="/url" |
| 524 |
off=13 url complete |
| 525 |
off=18 len=3 span[version]="1.1" |
| 526 |
off=21 version complete |
| 527 |
off=23 len=7 span[header_field]="Header1" |
| 528 |
off=31 header_field complete |
| 529 |
off=32 len=6 span[header_value]="Value1" |
| 530 |
off=40 header_value complete |
| 531 |
off=40 len=7 span[header_field]="Header2" |
| 532 |
off=48 header_field complete |
| 533 |
off=49 len=8 span[header_value]="ÿValue2" |
| 534 |
off=59 header_value complete |
| 535 |
off=61 headers complete method=6 v=1/1 flags=0 content_length=0 |
| 536 |
off=61 message complete |
| 537 |
``` |
| 538 |
|
| 539 |
## X-SSL-Nonsense |
| 540 |
|
| 541 |
See nodejs/test/parallel/test-http-headers-obstext.js |
| 542 |
|
| 543 |
<!-- meta={"type": "request-lenient-headers"} --> |
| 544 |
```http |
| 545 |
GET / HTTP/1.1 |
| 546 |
X-SSL-Nonsense: -----BEGIN CERTIFICATE----- |
| 547 |
\tMIIFbTCCBFWgAwIBAgICH4cwDQYJKoZIhvcNAQEFBQAwcDELMAkGA1UEBhMCVUsx |
| 548 |
\tETAPBgNVBAoTCGVTY2llbmNlMRIwEAYDVQQLEwlBdXRob3JpdHkxCzAJBgNVBAMT |
| 549 |
\tAkNBMS0wKwYJKoZIhvcNAQkBFh5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMu |
| 550 |
\tdWswHhcNMDYwNzI3MTQxMzI4WhcNMDcwNzI3MTQxMzI4WjBbMQswCQYDVQQGEwJV |
| 551 |
\tSzERMA8GA1UEChMIZVNjaWVuY2UxEzARBgNVBAsTCk1hbmNoZXN0ZXIxCzAJBgNV |
| 552 |
\tBAcTmrsogriqMWLAk1DMRcwFQYDVQQDEw5taWNoYWVsIHBhcmQYJKoZIhvcNAQEB |
| 553 |
\tBQADggEPADCCAQoCggEBANPEQBgl1IaKdSS1TbhF3hEXSl72G9J+WC/1R64fAcEF |
| 554 |
\tW51rEyFYiIeZGx/BVzwXbeBoNUK41OK65sxGuflMo5gLflbwJtHBRIEKAfVVp3YR |
| 555 |
\tgW7cMA/s/XKgL1GEC7rQw8lIZT8RApukCGqOVHSi/F1SiFlPDxuDfmdiNzL31+sL |
| 556 |
\t0iwHDdNkGjy5pyBSB8Y79dsSJtCW/iaLB0/n8Sj7HgvvZJ7x0fr+RQjYOUUfrePP |
| 557 |
\tu2MSpFyf+9BbC/aXgaZuiCvSR+8Snv3xApQY+fULK/xY8h8Ua51iXoQ5jrgu2SqR |
| 558 |
\twgA7BUi3G8LFzMBl8FRCDYGUDy7M6QaHXx1ZWIPWNKsCAwEAAaOCAiQwggIgMAwG |
| 559 |
\tA1UdEwEB/wQCMAAwEQYJYIZIAYb4QgHTTPAQDAgWgMA4GA1UdDwEB/wQEAwID6DAs |
| 560 |
\tBglghkgBhvhCAQ0EHxYdVUsgZS1TY2llbmNlIFVzZXIgQ2VydGlmaWNhdGUwHQYD |
| 561 |
\tVR0OBBYEFDTt/sf9PeMaZDHkUIldrDYMNTBZMIGaBgNVHSMEgZIwgY+AFAI4qxGj |
| 562 |
\tloCLDdMVKwiljjDastqooXSkcjBwMQswCQYDVQQGEwJVSzERMA8GA1UEChMIZVNj |
| 563 |
\taWVuY2UxEjAQBgNVBAsTCUF1dGhvcml0eTELMAkGA1UEAxMCQ0ExLTArBgkqhkiG |
| 564 |
\t9w0BCQEWHmNhLW9wZXJhdG9yQGdyaWQtc3VwcG9ydC5hYy51a4IBADApBgNVHRIE |
| 565 |
\tIjAggR5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMudWswGQYDVR0gBBIwEDAO |
| 566 |
\tBgwrBgEEAdkvAQEBAQYwPQYJYIZIAYb4QgEEBDAWLmh0dHA6Ly9jYS5ncmlkLXN1 |
| 567 |
\tcHBvcnQuYWMudmT4sopwqlBWsvcHViL2NybC9jYWNybC5jcmwwPQYJYIZIAYb4QgEDBDAWLmh0 |
| 568 |
\tdHA6Ly9jYS5ncmlkLXN1cHBvcnQuYWMudWsvcHViL2NybC9jYWNybC5jcmwwPwYD |
| 569 |
\tVR0fBDgwNjA0oDKgMIYuaHR0cDovL2NhLmdyaWQt5hYy51ay9wdWIv |
| 570 |
\tY3JsL2NhY3JsLmNybDANBgkqhkiG9w0BAQUFAAOCAQEAS/U4iiooBENGW/Hwmmd3 |
| 571 |
\tXCy6Zrt08YjKCzGNjorT98g8uGsqYjSxv/hmi0qlnlHs+k/3Iobc3LjS5AMYr5L8 |
| 572 |
\tUO7OSkgFFlLHQyC9JzPfmLCAugvzEbyv4Olnsr8hbxF1MbKZoQxUZtMVu29wjfXk |
| 573 |
\thTeApBv7eaKCWpSp7MCbvgzm74izKhu3vlDk9w6qVrxePfGgpKPqfHiOoGhFnbTK |
| 574 |
\twTC6o2xq5y0qZ03JonF7OJspEd3I5zKY3E+ov7/ZhW6DqT8UFvsAdjvQbXyhV8Eu |
| 575 |
\tYhixw1aKEPzNjNowuIseVogKOLXxWI5vAi5HgXdS0/ES5gDGsABo4fqovUKlgop3 |
| 576 |
\tRA== |
| 577 |
\t-----END CERTIFICATE----- |
| 578 |
|
| 579 |
|
| 580 |
``` |
| 581 |
|
| 582 |
```log |
| 583 |
off=0 message begin |
| 584 |
off=0 len=3 span[method]="GET" |
| 585 |
off=3 method complete |
| 586 |
off=4 len=1 span[url]="/" |
| 587 |
off=6 url complete |
| 588 |
off=11 len=3 span[version]="1.1" |
| 589 |
off=14 version complete |
| 590 |
off=16 len=14 span[header_field]="X-SSL-Nonsense" |
| 591 |
off=31 header_field complete |
| 592 |
off=34 len=27 span[header_value]="-----BEGIN CERTIFICATE-----" |
| 593 |
off=63 len=65 span[header_value]="\tMIIFbTCCBFWgAwIBAgICH4cwDQYJKoZIhvcNAQEFBQAwcDELMAkGA1UEBhMCVUsx" |
| 594 |
off=130 len=65 span[header_value]="\tETAPBgNVBAoTCGVTY2llbmNlMRIwEAYDVQQLEwlBdXRob3JpdHkxCzAJBgNVBAMT" |
| 595 |
off=197 len=65 span[header_value]="\tAkNBMS0wKwYJKoZIhvcNAQkBFh5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMu" |
| 596 |
off=264 len=65 span[header_value]="\tdWswHhcNMDYwNzI3MTQxMzI4WhcNMDcwNzI3MTQxMzI4WjBbMQswCQYDVQQGEwJV" |
| 597 |
off=331 len=65 span[header_value]="\tSzERMA8GA1UEChMIZVNjaWVuY2UxEzARBgNVBAsTCk1hbmNoZXN0ZXIxCzAJBgNV" |
| 598 |
off=398 len=65 span[header_value]="\tBAcTmrsogriqMWLAk1DMRcwFQYDVQQDEw5taWNoYWVsIHBhcmQYJKoZIhvcNAQEB" |
| 599 |
off=465 len=65 span[header_value]="\tBQADggEPADCCAQoCggEBANPEQBgl1IaKdSS1TbhF3hEXSl72G9J+WC/1R64fAcEF" |
| 600 |
off=532 len=65 span[header_value]="\tW51rEyFYiIeZGx/BVzwXbeBoNUK41OK65sxGuflMo5gLflbwJtHBRIEKAfVVp3YR" |
| 601 |
off=599 len=65 span[header_value]="\tgW7cMA/s/XKgL1GEC7rQw8lIZT8RApukCGqOVHSi/F1SiFlPDxuDfmdiNzL31+sL" |
| 602 |
off=666 len=65 span[header_value]="\t0iwHDdNkGjy5pyBSB8Y79dsSJtCW/iaLB0/n8Sj7HgvvZJ7x0fr+RQjYOUUfrePP" |
| 603 |
off=733 len=65 span[header_value]="\tu2MSpFyf+9BbC/aXgaZuiCvSR+8Snv3xApQY+fULK/xY8h8Ua51iXoQ5jrgu2SqR" |
| 604 |
off=800 len=65 span[header_value]="\twgA7BUi3G8LFzMBl8FRCDYGUDy7M6QaHXx1ZWIPWNKsCAwEAAaOCAiQwggIgMAwG" |
| 605 |
off=867 len=66 span[header_value]="\tA1UdEwEB/wQCMAAwEQYJYIZIAYb4QgHTTPAQDAgWgMA4GA1UdDwEB/wQEAwID6DAs" |
| 606 |
off=935 len=65 span[header_value]="\tBglghkgBhvhCAQ0EHxYdVUsgZS1TY2llbmNlIFVzZXIgQ2VydGlmaWNhdGUwHQYD" |
| 607 |
off=1002 len=65 span[header_value]="\tVR0OBBYEFDTt/sf9PeMaZDHkUIldrDYMNTBZMIGaBgNVHSMEgZIwgY+AFAI4qxGj" |
| 608 |
off=1069 len=65 span[header_value]="\tloCLDdMVKwiljjDastqooXSkcjBwMQswCQYDVQQGEwJVSzERMA8GA1UEChMIZVNj" |
| 609 |
off=1136 len=65 span[header_value]="\taWVuY2UxEjAQBgNVBAsTCUF1dGhvcml0eTELMAkGA1UEAxMCQ0ExLTArBgkqhkiG" |
| 610 |
off=1203 len=65 span[header_value]="\t9w0BCQEWHmNhLW9wZXJhdG9yQGdyaWQtc3VwcG9ydC5hYy51a4IBADApBgNVHRIE" |
| 611 |
off=1270 len=65 span[header_value]="\tIjAggR5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMudWswGQYDVR0gBBIwEDAO" |
| 612 |
off=1337 len=65 span[header_value]="\tBgwrBgEEAdkvAQEBAQYwPQYJYIZIAYb4QgEEBDAWLmh0dHA6Ly9jYS5ncmlkLXN1" |
| 613 |
off=1404 len=75 span[header_value]="\tcHBvcnQuYWMudmT4sopwqlBWsvcHViL2NybC9jYWNybC5jcmwwPQYJYIZIAYb4QgEDBDAWLmh0" |
| 614 |
off=1481 len=65 span[header_value]="\tdHA6Ly9jYS5ncmlkLXN1cHBvcnQuYWMudWsvcHViL2NybC9jYWNybC5jcmwwPwYD" |
| 615 |
off=1548 len=55 span[header_value]="\tVR0fBDgwNjA0oDKgMIYuaHR0cDovL2NhLmdyaWQt5hYy51ay9wdWIv" |
| 616 |
off=1605 len=65 span[header_value]="\tY3JsL2NhY3JsLmNybDANBgkqhkiG9w0BAQUFAAOCAQEAS/U4iiooBENGW/Hwmmd3" |
| 617 |
off=1672 len=65 span[header_value]="\tXCy6Zrt08YjKCzGNjorT98g8uGsqYjSxv/hmi0qlnlHs+k/3Iobc3LjS5AMYr5L8" |
| 618 |
off=1739 len=65 span[header_value]="\tUO7OSkgFFlLHQyC9JzPfmLCAugvzEbyv4Olnsr8hbxF1MbKZoQxUZtMVu29wjfXk" |
| 619 |
off=1806 len=65 span[header_value]="\thTeApBv7eaKCWpSp7MCbvgzm74izKhu3vlDk9w6qVrxePfGgpKPqfHiOoGhFnbTK" |
| 620 |
off=1873 len=65 span[header_value]="\twTC6o2xq5y0qZ03JonF7OJspEd3I5zKY3E+ov7/ZhW6DqT8UFvsAdjvQbXyhV8Eu" |
| 621 |
off=1940 len=65 span[header_value]="\tYhixw1aKEPzNjNowuIseVogKOLXxWI5vAi5HgXdS0/ES5gDGsABo4fqovUKlgop3" |
| 622 |
off=2007 len=5 span[header_value]="\tRA==" |
| 623 |
off=2014 len=26 span[header_value]="\t-----END CERTIFICATE-----" |
| 624 |
off=2042 header_value complete |
| 625 |
off=2044 headers complete method=1 v=1/1 flags=0 content_length=0 |
| 626 |
off=2044 message complete |
| 627 |
``` |
| 628 |
|
| 629 |
[0]: https://github.com/nodejs/http-parser |