Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving Static Html file for not found endpoints. #52

Open
tonespy opened this issue Jun 3, 2018 · 0 comments
Open

Serving Static Html file for not found endpoints. #52

tonespy opened this issue Jun 3, 2018 · 0 comments

Comments

@tonespy
Copy link

tonespy commented Jun 3, 2018

I was going through the documentation and I saw the explanation given about error handling.

What I am trying to achieve is being able to return an html file in a situation where the endpoint is not provided. I wanted to just go ahead and add my function for 404/not found errors.

But, I was concerned about it interfering with situations where I return a 404 itself. E.g: When a user makes a request to get information about a user and the user isn't available.

Your response and suggestion would be greatly appreciated.

Thanks

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

No branches or pull requests

1 participant