Added comments and simplified internals of the Flags a bit.
Test chainability of Flags `set`, `unset` and `unsetAll` methods.
Add new internal Proxy class, based mainly on the code from node-mitm-proxy by Horaci Cuevas.
Add new internal FilteredProxy class.
Tiny change in filtering function of FilteredProxy: it now passess `isItForMe` to the filter function.
Small fix in FilteredProxy - allow to pre-set options.domains with custom domains (which of course have to point to the local IPs if you want them to be recognized as "local")
Fix FilteredProxy: if request is targetted to the proxy itself and no filter catches it, respond with 404.
Fixes needed to generate more or less correct JSDoc3 documentation.
Fixes needed to generate more or less correct JSDoc3 documentation.
Reordered some functions in `Proxy.js`, tiny language change in README.
Improved `addFilter` function description in `FilteredProxy.js`
Improve paths used in test requirements.
Moved hyperProxy from `node-mitm-proxy` to new `Proxy.js`. Removed unused files. Updated example to new options. Updated `PAC.js` to new options.
Updated comments/documentation. Proxy allows setting `proxy` for reqURL, which should allow others to decide per-request proxy. FiltereProxy supports per-filter-request proxy overrides. `overrideJSandCSSgeneric` function now tries files without `.min` (non-minified versions) only when its `data.tryNonMinimizedFiles` is set to true.
Small fix in hyperProxy.js
Improve debugging of `Proxy.whenAllDone`
Tiny, non-important cleanup/update of comments.
Tiny, non-important cleanup/update of comments.
Tiny, non-important cleanup/update of comments.
Pure node.js implementation of NTLM - still work in progress.