mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-25 13:45:48 +08:00
Add specific properties to iIncomingHttpHeaders
This commit is contained in:
@@ -1332,7 +1332,7 @@ namespace http_tests {
|
||||
// http headers
|
||||
{
|
||||
const headers: http.IncomingHttpHeaders = {
|
||||
'Content-Type': 'application/json',
|
||||
'content-type': 'application/json',
|
||||
'set-cookie': [ 'type=ninja', 'language=javascript' ]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user