Skip to content

Conversation

@bradstimpson
Copy link

added an http forwarder dispatcher - can be configured in the config.json with http://host/test

Copy link
Member

@thisisaaronland thisisaaronland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. A general-purpose "relay to an HTTP endpoint" dispatcher would be useful. I've added some comments and questions.

Copy link
Member

@thisisaaronland thisisaaronland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the first round of updates and apologies for the delay in getting to them. It all looks good but I've flagged a few more "details".

Copy link
Member

@thisisaaronland thisisaaronland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like http.go and http_test.go are both still using the bespoek HTTPClient rather than a plain-vanilla http.Client{} instance?

@bradstimpson
Copy link
Author

@thisisaaronland any suggestions on how to modify this?

@thisisaaronland
Copy link
Member

Something like this?

#29 (comment)

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

Successfully merging this pull request may close these issues.

3 participants