blob: c042d61eda09999f22c2803be5f3b829b1e6f845 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'use strict';
const common = require('../common');
const http = require('http');
common.expectsError(() => {
http.request({
path: '/thisisinvalid\uffe2'
}).end();
}, {
code: 'ERR_UNESCAPED_CHARACTERS',
type: TypeError
});
|