Skip to content

HEAD command seems to not be supported #9

Description

@fdur

When a HEAD command is sent, the process is not fully made.
In http.c file, in http_dataAPI, seems that after

--size; 
++data;

the following code needs to be added:

            if (!size)
            {
                // Case of HEAD (no body content)
                *read = 0;
                return 0;
            }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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