Coder Social home page Coder Social logo

Comments (2)

julsemaan avatar julsemaan commented on August 16, 2024 1

@jcuga

HTTPS can be fine tuned by changing the HttpClient in the Client struct and using HTTPS is possible by using it in the URL. That allows the client user to configure the HTTP connection behavior as he wishes. That I guess should cover most of your points.

Basic auth though cannot be controlled via the http.Client, so I'll add that as a configurable parameter in the Client itself as it has to be set on the http.Request and not the httpd.Client

I'll add basic auth + some polishing and get a PR shortly.

Thanks for the input!

from golongpoll.

jcuga avatar jcuga commented on August 16, 2024

Thanks--adding the client would be great! Feel free to make a pull request.

By the way, can your client support stuff like HTTP basic auth, HTTPS, and/or client certs? Just thinking about adding flexibility for anyone wanting to add extra security. I'm guessing that this is possible by specifying/passing-in the http.Client that gets used (but it's been a while so I'm just guessing without digging into the godocs...) What you have looks good, if you want improve the readme/examples and add a hook to support a variety of HTTP(s) connection support that would be awesome.

from golongpoll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.