Skip to content

Latest version in original master#9

Open
pheyvaer wants to merge 343 commits intopheyvaer:masterfrom
http-party:master
Open

Latest version in original master#9
pheyvaer wants to merge 343 commits intopheyvaer:masterfrom
http-party:master

Conversation

@pheyvaer
Copy link
Owner

Please ensure that your pull request fulfills these requirements:

  • The pull request is being made against the master branch
  • Tests for the changes have been added (for bug fixes / features)

What is the purpose of this pull request? (bug fix, enhancement, new feature,...)

What changes did you make?

Provide some example code that this change will affect, if applicable:

Is there anything you'd like reviewers to focus on?

Please provide testing instructions, if applicable:

thornjad and others added 30 commits May 26, 2020 08:52
Suggesting to remove overwriting 0.0.0.0
Mention process.env.PORT in options
Make it easier to find in npm
Added https and https-server as suggested
Added a keyword in package.json
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
…proxy-1.18.1

Bump http-proxy from 1.18.0 to 1.18.1
Niels Giesen and others added 30 commits November 3, 2025 20:04
Adds a flag to change the default Content-Type header value to something
other than application/octet-stream. This feature may not have the
demand that it would have before the internalization of ecstatic,
however contentType was already managed as an option and there just
wasn't a flag in front of it, so I figured I'd finish what was started.

Co-authored-by: howardroark <howardroark@users.noreply.github.com>
Adds a flag which allows http-server to be used purely as a proxy
without serving any files.
* feat: add 'dir-overrides-404' flag

* tests: add tests

* docs: update documentation

---------

Co-authored-by: Eric Dubé <7225168+KernelDeimos@users.noreply.github.com>
Bumps  and [glob](https://github.com/isaacs/node-glob). These dependencies needed to be updated together.

Updates `glob` from 11.0.0 to 11.1.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](isaacs/node-glob@v11.0.0...v11.1.0)

Updates `glob` from 10.4.5 to 10.5.0
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](isaacs/node-glob@v11.0.0...v11.1.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 11.1.0
  dependency-type: indirect
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
In order to utilize some web features like SharedArrayBuffer via
localhost, COOP & COEP headers have to be set.  Add an --coop
option to let people easily opt-in to them.  These are important
for things like WebAssembly testing.

More information can be found at:
https://web.dev/cross-origin-isolation-guide/

Co-authored-by: Eric Dubé <7225168+KernelDeimos@users.noreply.github.com>
* fix: fail fast on `--password` without `--user`

When passing a password without a username, http-server will launch
successfully but the first request with an Authorization header will
crash the server. This behavior is very inconvenient. This commit makes
it fail fast instead so you know there's a problem before you log out of
SSH or walk out of the house or office. Also alised `--user` to
`--username` for added convenience.

Resolves #935

* doc: update documentation for `--username` flag
PR #839 was merged after a long time, so the test written for it was
written for a previous version of tap which had the `t.ifError()`
method. The current version has `t.error()` instead.

Introduced-By: a4c13ae
Prerequisite to merging #826 I would like there to already be tests for
timeout so that regressions can be detected.
* Fix timeout flag behavior for 0 value, negative value, and empty value. Add timeout flag to README.

* add docs

---------

Co-authored-by: Eric Dubé <7225168+KernelDeimos@users.noreply.github.com>
* Close server port on exit

* Set up "CTRL-C" hook, before printing out "Hit CTRL-C to stop the server"
* added proxy config for complex proxy rules

* fixed wrong proxy config value assignment and filtered match config

* added basic documentation for proxy-config

* fixed proxy config handling

* added first basic proxy config test

* added minmatch for glob matching

* fixed proxy config handling

* added proxy logging

* fixed proxy config test

* handled proxy all and config with hinting

* fixed proxyAll request handling
…te-Network header (#801)

This PR has stale tests for an older version of tap so a subsequent fix is required for the tests.

Co-authored-by: Eric Dubé <7225168+KernelDeimos@users.noreply.github.com>
PR #801 was merged. This PR has tests written for an older version of
`tap`, so these tests must now be updated.

The breaking change in `tap` is:
> `t.ifError()` => `t.error()`
* Add graceful shutdown and error handling

* Add to --help switch and turn into optional (ENV variables)'

* Add readme documentation

* Change documentation inside --help switch

* Add some tests and debugging (commented out).
Currently not functional due to switch not working

* Add documentation to http-server.1 file

* -n switch

* Fixes, commented out tests

* -

* Delte log files

* Add log files to gitignore

* Comment out all tests

* Delete tests

* Fixes (according to suggestion)

Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>

* Remove `-n` short argument and enhance the logfile name

* Apply suggestion from @KernelDeimos

* Apply suggestion from @KernelDeimos

---------

Co-authored-by: Octopus <66487668+J-P-S-O@users.noreply.github.com>
Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>
Co-authored-by: Eric Dubé <7225168+KernelDeimos@users.noreply.github.com>
cleanup show-dir, fix node version showing as "undefined"
docs: update copyright year in LICENSE
* add --hide-permissions flag to command line

* add to doc/http-server.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.