App-DubiousHTTP
view release on metacpan or search on metacpan
lib/App/DubiousHTTP/Tests/Broken.pm view on Meta::CPAN
[ INVALID, 'colon;chunked;do_clen' => 'line with empty field name (single colon on line), followed by TE chunked, not served chunked'],
[ INVALID, '177;chunked' => 'line \177\r\n, followed by TE chunked, served chunked' ],
[ INVALID, '177;chunked;do_clen' => 'line \177\r\n, followed by TE chunked, not served chunked' ],
[ INVALID, 'data:\000;chunked' => 'line \000\r\n, followed by TE chunked, served chunked' ],
[ INVALID, 'data:\000;chunked;do_clen' => 'line \000\r\n, followed by TE chunked, not served chunked' ],
[ COMMON_INVALID, 'junkline;chunked' => 'ASCII junk line w/o colon, followed by TE chunked, served chunked'],
[ INVALID, 'junkline;chunked;do_clen' => 'ASCII junk line w/o colon, followed by TE chunked, not served chunked'],
[ COMMON_INVALID, 'spacehdr;chunked' => 'header containing space, followed by TE chunked, served chunked'],
[ INVALID, 'spacehdr;chunked;do_clen' => 'header containing space, followed by TE chunked, not served chunked'],
[ COMMON_INVALID, 'conthdr;chunked' => 'header with continuation line, followed by TE chunked, served chunked'],
[ INVALID, 'conthdr;chunked;do_clen' => 'header with continuation line, followed by TE chunked, not served chunked'],
[ INVALID, 'cr;chunked' => 'line just containing <CR>: \r\r\n, followed by TE chunked'],
[ INVALID, 'lf;chunked' => 'line just containing <LF>: \n\r\n, followed by TE chunked'],
[ INVALID, 'crcr;chunked' => 'line just containing <CR><CR>: \r\r\r\n, followed by TE chunked'],
[ INVALID, 'lfcr;chunked' => 'line just containing <LF><CR>: \n\r\r\n, followed by TE chunked'],
[ INVALID, 'crcronly;chunked' => 'TE chunked prefixed with <CR><CR>,served chunked' ],
[ INVALID, 'cr-cronly;chunked' => 'TE chunked prefixed with <CR><space><CR>, served chunked' ],
[ INVALID, 'crcronly;chunked;do_clen' => 'TE chunked prefixed with <CR><CR>, not served chunked' ],
[ INVALID, 'cr-cronly;chunked;do_clen' => 'TE chunked prefixed with <CR><space><CR>, not served chunked' ],
[ INVALID, 'lflfonly;chunked' => 'TE chunked prefixed with <LF><LF>,served chunked' ],
[ INVALID, 'lf-lfonly;chunked' => 'TE chunked prefixed with <LF><space><LF>, served chunked' ],
[ INVALID, 'lflfonly;chunked;do_clen' => 'TE chunked prefixed with <LF><LF>, not served chunked' ],
[ INVALID, 'lf-lfonly;chunked;do_clen' => 'TE chunked prefixed with <LF><space><LF>, not served chunked' ],
[ INVALID, 'crlf-crlfonly;chunked' => 'TE chunked prefixed with <CR><LF><space><CR><LF>, served chunked' ],
[ INVALID, 'crlf-crlfonly;chunked;do_clen' => 'TE chunked prefixed with <CR><LF><space><CR><LF>, not served chunked' ],
[ INVALID, 'te:chu\000nked;do_chunked' => '"Transfer-Encoding:chu\000nked", served chunked' ],
[ INVALID, 'te:chu\015\012\040nked;do_chunked' => '"Transfer-Encoding:chu\r\n nked", served chunked' ],
[ INVALID, 'te:chu\015\012\040nked;do_clen' => '"Transfer-Encoding:chu\r\n nked", not served chunked' ],
[ INVALID, 'te:chu\015\012nked;do_chunked' => '"Transfer-Encoding:chu\r\nnked", served chunked' ],
[ INVALID, 'te:chu\015\012nked;do_clen' => '"Transfer-Encoding:chu\r\nnked", not served chunked' ],
[ INVALID, 'data:Transfer\000-encoding:chunked\015\012;do_chunked' => '"Transfer\000-Encoding:chunked", served chunked' ],
[ INVALID, 'data:Transfer\000-encoding:chun\000ked\015\012;do_chunked' => '"Transfer\000-Encoding:chun\000ked", served chunked' ],
[ INVALID, 'te\000:chunked;do_chunked' => '"Transfer-Encoding\000:chunked", served chunked' ],
[ INVALID, 'te\040\011\040\011\040:chunked;do_chunked' => '"Transfer-Encoding \t \t :chunked", served chunked' ],
[ INVALID, 'te\013:chunked;do_chunked' => '"Transfer-Encoding\v:chunked", served chunked' ],
[ INVALID, 'te\014:chunked;do_chunked' => '"Transfer-Encoding\f:chunked", served chunked' ],
[ INVALID, 'te\012\040:chunked;do_chunked' => '"Transfer-Encoding\n :chunked", served chunked' ],
[ INVALID, 'te\015\040:chunked;do_chunked' => '"Transfer-Encoding\r :chunked", served chunked' ],
[ INVALID, 'te\015\012\040:chunked;do_chunked' => '"Transfer-Encoding\r\n :chunked", served chunked' ],
[ INVALID, 'te\015\012\040:\015\012\040chunked;do_chunked' => '"Transfer-Encoding\r\n :\r\n chunked", served chunked' ],
[ INVALID, 'te\015\012\040\015\012\040:\015\012\040chunked;do_chunked' => '"Transfer-Encoding\r\n \r\n :\r\n chunked", served chunked' ],
[ INVALID, 'te\012\000:chunked;do_chunked' => '"Transfer-Encoding\n\000:chunked", served chunked' ],
[ INVALID, 'te:,chunked;do_chunked' => '"Transfer-Encoding:,chunked", served chunked' ],
[ INVALID, 'te:\073chunked;do_chunked' => '"Transfer-Encoding:;chunked", served chunked' ],
[ INVALID, 'te:\000chunked;do_chunked' => '"Transfer-Encoding:\000chunked", served chunked' ],
[ INVALID, 'te:\013chunked;do_chunked' => '"Transfer-Encoding:\vchunked", served chunked' ],
[ INVALID, 'te:\014chunked;do_chunked' => '"Transfer-Encoding:\fchunked", served chunked' ],
[ INVALID, 'te:\240chunked;do_chunked' => '"Transfer-Encoding:\240chunked", served chunked' ],
[ INVALID, 'te:\012\000chunked;do_chunked' => '"Transfer-Encoding:\n\000chunked", served chunked' ],
[ INVALID, 'te:\012\013chunked;do_chunked' => '"Transfer-Encoding:\n\vchunked", served chunked' ],
[ INVALID, 'te:\012\014chunked;do_chunked' => '"Transfer-Encoding:\n\fchunked", served chunked' ],
[ INVALID, 'te:\012\240chunked;do_chunked' => '"Transfer-Encoding:\n\240chunked", served chunked' ],
[ INVALID, 'te:chunked,;do_chunked' => '"Transfer-Encoding:chunked,", served chunked' ],
[ INVALID, 'te:chunked\073;do_chunked' => '"Transfer-Encoding:chunked;", served chunked' ],
[ INVALID, 'te:chunked\000;do_chunked' => '"Transfer-Encoding:chunked\000", served chunked' ],
[ INVALID, 'te:\177chunked;do_chunked' => '"Transfer-Encoding:\177chunked", served chunked' ],
[ INVALID, 'te:chunked\177;do_chunked' => '"Transfer-Encoding:chunked\177", served chunked' ],
[ INVALID, 'te:chu\177nked;do_chunked' => '"Transfer-Encoding:chu\177nked", served chunked' ],
[ INVALID, 'te:\357\273\277chunked;do_chunked' => '"Transfer-Encoding:<UTF8-BOM>chunked", served chunked' ],
[ INVALID, 'te:\302\204chunked;do_chunked' => '"Transfer-Encoding:<UTF8-NBSP>chunked", served chunked' ],
[ INVALID, 'ce:gz\000ip;do_gzip' => '"Content-Encoding:gz\000ip", served gzipped' ],
[ INVALID, 'data:Content\000-encoding:gzip\015\012;do_gzip' => '"Content\000-Encoding:gzip", served gzipped' ],
[ INVALID, 'ce\000:gzip;do_gzip' => '"Content-Encoding\000:gzip", served gzipped' ],
[ INVALID, 'ce\015\012\040:gzip;do_gzip' => '"Content-Encoding\r\n :gzip", served gzipped' ],
[ INVALID, 'ce\015\012\040:\015\012\040gzip;do_gzip' => '"Content-Encoding\r\n :\r\n gzip", served gzipped' ],
[ INVALID, 'ce\013:gzip;do_gzip' => '"Content-Encoding\v:gzip", served gzipped' ],
[ INVALID, 'ce\014:gzip;do_gzip' => '"Content-Encoding\f:gzip", served gzipped' ],
[ INVALID, 'ce:,gzip;do_gzip' => '"Content-Encoding:,gzip", served gzipped' ],
[ INVALID, 'ce:\073gzip;do_gzip' => '"Content-Encoding:;gzip", served gzipped' ],
[ INVALID, 'ce:\000gzip;do_gzip' => '"Content-Encoding:\000gzip", served gzipped' ],
[ INVALID, 'ce:\013gzip;do_gzip' => '"Content-Encoding:\vgzip", served gzipped' ],
[ INVALID, 'ce:\014gzip;do_gzip' => '"Content-Encoding:\fgzip", served gzipped' ],
[ INVALID, 'ce:\240gzip;do_gzip' => '"Content-Encoding:\240gzip", served gzipped' ],
[ INVALID, 'ce:\012\000gzip;do_gzip' => '"Content-Encoding:\n\000gzip", served gzipped' ],
[ INVALID, 'ce:\012\013gzip;do_gzip' => '"Content-Encoding:\n\vgzip", served gzipped' ],
[ INVALID, 'ce:\012\014gzip;do_gzip' => '"Content-Encoding:\n\fgzip", served gzipped' ],
[ INVALID, 'ce:\012\240gzip;do_gzip' => '"Content-Encoding:\n\240gzip", served gzipped' ],
[ INVALID, 'ce:gzip,;do_gzip' => '"Content-Encoding:gzip,", served gzipped' ],
[ INVALID, 'ce:gzip\073;do_gzip' => '"Content-Encoding:gzip;", served gzipped' ],
[ INVALID, 'ce:gzip\000;do_gzip' => '"Content-Encoding:gzip\000", served gzipped' ],
[ INVALID, 'ce:gzip\013;do_gzip' => '"Content-Encoding:gzip\v", served gzipped' ],
[ INVALID, 'ce:gzip\014;do_gzip' => '"Content-Encoding:gzip\f", served gzipped' ],
[ INVALID, 'ce:gzip\240;do_gzip' => '"Content-Encoding:gzip\240", served gzipped' ],
[ INVALID, 'ce:def\000late;do_deflate' => '"Content-Encoding:def\000late", served with deflate' ],
[ INVALID, 'data:Content\000-encoding:deflate\015\012;do_deflate' => '"Content\000-Encoding:deflate", served with deflate' ],
[ INVALID, 'ce\000:deflate;do_deflate' => '"Content-Encoding\000:deflate", served with deflate' ],
[ INVALID, 'ce\015\012\040:deflate;do_deflate' => '"Content-Encoding\r\n :deflate", served with deflate' ],
[ INVALID, 'ce\015\012\040:\015\012\040deflate;do_deflate' => '"Content-Encoding\r\n :\r\n deflate", served with deflate' ],
[ INVALID, 'ce\013:deflate;do_deflate' => '"Content-Encoding\v:deflate", served with deflate' ],
[ INVALID, 'ce\014:deflate;do_deflate' => '"Content-Encoding\f:deflate", served with deflate' ],
[ INVALID, 'ce:,deflate;do_deflate' => '"Content-Encoding:,deflate", served with deflate' ],
[ INVALID, 'ce:\073deflate;do_deflate' => '"Content-Encoding:;deflate", served with deflate' ],
[ INVALID, 'ce:\000deflate;do_deflate' => '"Content-Encoding:\000deflate", served with deflate' ],
[ INVALID, 'ce:\013deflate;do_deflate' => '"Content-Encoding:\vdeflate", served with deflate' ],
[ INVALID, 'ce:\014deflate;do_deflate' => '"Content-Encoding:\fdeflate", served with deflate' ],
[ INVALID, 'ce:\240deflate;do_deflate' => '"Content-Encoding:\240deflate", served with deflate' ],
[ INVALID, 'ce:deflate,;do_deflate' => '"Content-Encoding:deflate,", served with deflate' ],
[ INVALID, 'ce:\012\000deflate;do_deflate' => '"Content-Encoding:\n\000deflate", served with deflate' ],
[ INVALID, 'ce:\012\013deflate;do_deflate' => '"Content-Encoding:\n\vdeflate", served with deflate' ],
[ INVALID, 'ce:\012\014deflate;do_deflate' => '"Content-Encoding:\n\fdeflate", served with deflate' ],
[ INVALID, 'ce:\012\240deflate;do_deflate' => '"Content-Encoding:\n\240deflate", served with deflate' ],
[ INVALID, 'ce:deflate\073;do_deflate' => '"Content-Encoding:deflate;", served with deflate' ],
[ INVALID, 'ce:deflate\000;do_deflate' => '"Content-Encoding:deflate\000", served with deflate' ],
[ INVALID, 'ce:deflate\013;do_deflate' => '"Content-Encoding:deflate\v", served with deflate' ],
[ INVALID, 'ce:deflate\014;do_deflate' => '"Content-Encoding:deflate\f", served with deflate' ],
[ INVALID, 'ce:deflate\240;do_deflate' => '"Content-Encoding:deflate\240", served with deflate' ],
[ 'INVALID: various broken responses' ],
[ INVALID, 'emptycont' => 'empty continuation line'],
[ INVALID, '8bitkey' => 'line using 8bit field name'],
[ INVALID, 'colon' => 'line with empty field name (single colon on line)'],
[ INVALID, 'data:\000' => 'line \000\r\n' ],
[ INVALID, '177' => 'line \177\r\n' ],
[ INVALID, '177;only' => 'line \177\r\n and then the body, no other header after status line' ],
[ INVALID, 'junkline' => 'ASCII junk line w/o colon'],
[ INVALID, 'spacehdr' => 'header containing space'],
[ INVALID, 'cr' => 'line just containing <CR>: \r\r\n'],
( run in 0.594 second using v1.01-cache-2.11-cpan-39bf76dae61 )