Skip to content

NoMethodError #87

@confact

Description

@confact

I am using this doing http checks on many urls many times per day.

And i get this error many times per day, is it a bug or a problem i have done?

NoMethodErrorlib/net/http/persistent.rb in block in request at line 929
undefined method `<=' for nil:NilClass Did you mean? <=>

This is the code where it fails:

      begin
        connection.requests += 1

        response = http.request req, &block

        if req.connection_close? ||
           ((response.http_version <= '1.0') &&

Could this be wrong url or anything else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions