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 a bug with whitespaces in url and token string and add defer for response #36

Open
wants to merge 44 commits into
base: main
Choose a base branch
from

Conversation

muhammadn
Copy link

@muhammadn muhammadn commented Feb 23, 2024

Describe your changes

Currently the go library does not trim whitespaces for token and url strings and this can cause errors like setting HTTP headers.

Another one is the missing of http defer in response.

Issue ticket number and link

Checklist before requesting a review

  • I have resolved any merge conflicts
  • I have run tests locally and they pass
  • I have linted and auto-formatted the code
  • If there is new or changed functionality, I have added/updated the tests
  • If there is new or changed functionality, I have added/updated the documentation

@muhammadn muhammadn changed the title Debug go lib Fix a bug with whitespaces in url and token string and add defer for response Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant