Skip to content

Redirect issue with CreateRelease() or UpdateRelease() #804

Description

@clarsonneur

Hi,

I built a small code to create or update release in a github entreprise url thanks to your project.
But I made a small mistake by forgotten the s in the http url string. My fault ;-)

Because of that, all queries that I made (ListReleases, ListTags, and login) got the 301 return code and redirect appropriately to the https equivalent.

But not for CreateRelease or UpdateRelease.

I'm wondering if this behavior is normal one. I'm wondering if those functiona should redirect as well to the appropriate link, like others.

I would consider this as a bug, but I'd like to see if you do consider it as well.

If so, I could spend time to review the code and propose a patch.

Thanks

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions