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

Fix: Handle HTTP NO CONTENT status code (204) to prevent null reference exceptions in HttpBase.cs #188

Merged
merged 1 commit into from
Dec 9, 2021

Commits on Oct 7, 2021

  1. Fix: Handle HTTP NO CONTENT status code (204) to prevent null reference

    exceptions. NO_CONTENT is not considered as being an error, and
    therefore previous code would try to parse body data even with a
    NO_CONTENT being returned. Various backend frameworks use NO_CONTENT as
    a way to gracefully indicates that a specific resource is empty (for
    instance, if you try to get the list of items in a player's inventory
    and the inventory is empty).
    L-Naej committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    2eb2cfc View commit details
    Browse the repository at this point in the history