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

Add comprehensive host test #429

Merged
merged 1 commit into from Sep 24, 2018
Merged

Add comprehensive host test #429

merged 1 commit into from Sep 24, 2018

Commits on Sep 17, 2018

  1. Add comprehensive host test

    Add table driven test for handling of host in request URL, request
    header and TLS server name. In addition to testing various uses of host
    names, this test also confirms that host names are handled the same as
    the net/http client.
    
    The new table driven test replaces TestDialTLS, TestDialTLSNoverify,
    TestDialTLSBadCert and TestHostHeader.
    
    Eliminate duplicated code for constructing root CA.
    Steven Scott committed Sep 17, 2018
    Copy the full SHA
    0afc664 View commit details
    Browse the repository at this point in the history