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

Issue with API Gateway #175

Open
matthewcummings opened this issue Nov 8, 2018 · 0 comments
Open

Issue with API Gateway #175

matthewcummings opened this issue Nov 8, 2018 · 0 comments

Comments

@matthewcummings
Copy link

I'm not sure yet why this is happening but when I serve my Swagger UI with this plugin via AWS API Gateway, it displays incorrectly - I see a page of garbled binary characters. Everything works fine when I run Hapi locally though. When I curl the endpoint I receive valid HTML however if I add this header "Accept-Encoding: gzip, deflate, br" to my curl command, I see the ame behavior.

Interestingly, the behavior is similar to hapi-swagger/hapi-swagger#528 which makes me wonder if this isn't a problem in the underlying hapi library itself.

Any help is appreciated.

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