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
Describe the bug Superfluous writeHeader calls are made in the registerBaseHandler function of topic.go file.
http: superfluous response.WriteHeader call from github.com/dapr/go-sdk/service/http.(*Server).registerBaseHandler.func6 (topic.go:200)
To Reproduce Here's the sample code to reproduce the behavior.
func ActorFactory() actor.ServerContext { client, err := dapr.NewClient() if err != nil { panic(err) } agent := &BackupStatusMonitoringAgent{ DaprClient: client, HttpClient: &http.Client{}, DaprHttpPort: 3500, } return agent } var appPort = 9001 func main() { s := daprd.NewService(fmt.Sprintf(":%v", appPort)) s.RegisterActorImplFactoryContext(server.ActorFactory) if err := s.Start(); err != nil && err != http.ErrServerClosed { log.Fatalf("error listenning: %v", err) } }
Expected behavior The status code headers must be mutually exclusive and not superfluous
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Superfluous writeHeader calls are made in the registerBaseHandler function of topic.go file.
http: superfluous response.WriteHeader call from github.com/dapr/go-sdk/service/http.(*Server).registerBaseHandler.func6 (topic.go:200)
To Reproduce
Here's the sample code to reproduce the behavior.
Expected behavior
The status code headers must be mutually exclusive and not superfluous
The text was updated successfully, but these errors were encountered: