Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/node-ci-2019-03-12
/
.
/
test
/
parallel
/
test-http-client-invalid-path.js
blob: c042d61eda09999f22c2803be5f3b829b1e6f845 [
file
] [
edit
]
'use strict'
;
const
common
=
require
(
'../common'
);
const
http
=
require
(
'http'
);
common
.
expectsError
(()
=>
{
http
.
request
({
path
:
'/thisisinvalid\uffe2'
}).
end
();
},
{
code
:
'ERR_UNESCAPED_CHARACTERS'
,
type
:
TypeError
});