We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The main example from the package comment doesn't work:
http.Handle("/hello", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello\n")) }) log.Fatal(manners.ListenAndServe(":8080", nil))
This gives the panic mentioned in #39.
panic
(See also #40, but IMHO it would be better to make this work than to show a workaround in the README.)
The text was updated successfully, but these errors were encountered:
Use http.DefaultServeMux as default handler
d3f03c4
Fix for braintree#47 - makes ListenAndServe et al drop-in replacements for the corresponding methods in net/http.
No branches or pull requests
The main example from the package comment doesn't work:
This gives the
panic
mentioned in #39.(See also #40, but IMHO it would be better to make this work than to show a workaround in the README.)
The text was updated successfully, but these errors were encountered: