Commit 73a9743
committed
test(node): exercise streamed byte-budget guard with chunked body
Use with_chunked_body instead of with_body so mockito sends no
Content-Length, pinning the no-length streamed accumulation guard.
Assert the "exceeded" message to distinguish from the declared-length
check.1 parent cb8999a commit 73a9743
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
1874 | | - | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1875 | 1877 | | |
1876 | 1878 | | |
1877 | 1879 | | |
1878 | 1880 | | |
1879 | 1881 | | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
1880 | 1885 | | |
1881 | 1886 | | |
1882 | | - | |
| 1887 | + | |
1883 | 1888 | | |
1884 | 1889 | | |
1885 | 1890 | | |
| |||
0 commit comments