Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: option to fall through to middleware chain on source 404 (#248)#390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
aral wants to merge5 commits intochimurai:master
base:master
Choose a base branch
Loading
fromaral:404-fallthrough

Conversation

@aral
Copy link

@aralaral commentedJan 26, 2020
edited
Loading

By default, the proxy handles all requested routes on the given context(s), even if they are 404. This makes sense for routes that are actually handled by the target but there is a use case where it would be useful to be able to fall-through to the middleware chain if the target cannot handle the request. This would allow, for example, for a server’s functionality to be extended by another server.

This merge request adds afallthrough option. When present, any 404 errors fall through to the middleware stack of the server by callingnext().

Context:#248

@ghost
Copy link

ghost commentedJan 26, 2020
edited by ghost
Loading

DeepCode's analysis on#30855c found:

  • 0 critical issues.⚠️0 warnings and3 minor issues. ✔️0 issues were fixed.

💬 This comment has been generated by theDeepCode bot, installed by the owner of the repository. The DeepCode botprotects your repository by detecting and commenting on security vulnerabilities or other critical issues.


☺️ If you want to provide feedback on our bot, here is how tocontact us.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@aral

[8]ページ先頭

©2009-2025 Movatter.jp