0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/lib/uri.js
isaacs 2b3d9e4ad0 Use "url" module instead of "uri" module in http.js.
Deprecate the URI module and remove tests for it.
- Rename "uri" to "url".
- Use the "url" module instead of the "uri" module.
- Remove the url parsing from http.js
- Update http.cat with the changed field names.
- Update tests for changes to http.js
- Update documentation for changes in http.js
2010-01-04 21:22:46 -08:00

6 lines
300 B
JavaScript

process.stdio.writeError("\nWARNING: uri module is deprecated. Please use require(\"url\") instead.\n");
exports.decode = exports.parse = exports.format = exports.resolveObject = exports.resolve = function () {
throw new Error("uri module is deprecated. Please use require(\"url\") instead.");
};