Coder Social home page Coder Social logo

Comments (2)

meeb avatar meeb commented on August 24, 2024 1

Thanks for the issue. I didn't really expect the IANA to add RDAP endpoints over HTTP but I guess they have. I've patched this in the above commit so it will silently skip insecure endpoints but emit a debug log. If you need to query objects from insecure RDAP endpoints (for example in this issue, .uz / Uzbekistanian domains) you can bootstrap with whoisit.bootstrap(allow_insecure=True) to enable them (defaults to False). I'll roll this patch up into a new 2.6.0 release shortly.

Edit: whoisit 2.6.0 is now available on PyPI containing this fix.

from whoisit.

mmlange avatar mmlange commented on August 24, 2024

I dug into it a bit more and see that the only protocol that is permitted to be used is https. If I override the PERMITTED_RDAP_PROTOCOLS variable in the Bootstrap class, I can get it to work. For example:
whoisit._bootstrap.PERMITTED_RDAP_PROTOCOLS = ( 'http', 'https')

Would it be possible to expose this through a method?

from whoisit.

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.