Skip to content

Null Response vs Error 0 #11

@Estecka

Description

@Estecka

A while ago, I tested our project's error handling by completely disconnecting my computer from internet. In this scenario, all responses returned by SimpleHTTP would be null; I just accepted this was its way of saying "Server did not respond" and made sure to catch it.
However right now, we've been facing responses that are not null, but still came with an empty body a,d a Status Code of 0, and all other sources I found say that 0 is also what usually means that the server did not respond.

I'm still trying to figure out what causes these Status 0 to happen, so I'd like to know, what is the difference between a null response and a response with Status 0 ?

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