6 lines
168 B
JavaScript
6 lines
168 B
JavaScript
|
const unsupportedMethodResponse = (res) => {
|
||
|
res.writeHead(400);
|
||
|
res.write('Unsupported method');
|
||
|
};
|
||
|
exports.unsupportedMethodResponse = unsupportedMethodResponse;
|