-
Notifications
You must be signed in to change notification settings - Fork 41
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 base url #34
Fix base url #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test this in demisto-sdk?
CHANGELOG.md
Outdated
@@ -4,7 +4,8 @@ | |||
|
|||
[1]: https://pypi.org/project/demisto-py/#history | |||
## 2.0.9 | |||
Improved error message when missing authentication parameters. | |||
* Improved error message when missing authentication parameters. | |||
* fix base_url slash inconsistency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's configuration.host and not base_url
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, fixing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested generic_request_func directly with the next options:
- base/ + /path
2.base + / path
- base + path
4.base/ + path
@@ -4,7 +4,8 @@ | |||
|
|||
[1]: https://pypi.org/project/demisto-py/#history | |||
## 2.0.9 | |||
Improved error message when missing authentication parameters. | |||
* Improved error message when missing authentication parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the change log entries to a new version: 2.0.10
. 2.0.9 was released alread.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just commit the changes to the changelog. Otherwise, we walked through this and it works well.
CHANGELOG.md
Outdated
@@ -3,8 +3,11 @@ | |||
[PyPI History][1] | |||
|
|||
[1]: https://pypi.org/project/demisto-py/#history | |||
## 2.0.10 | |||
* fix configuration.host slash inconsistency |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* fix configuration.host slash inconsistency | |
* Enabled host and path parameters to function with trailing or leading slashes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job. 👍
Status
Ready
Fixes
https://github.com/demisto/etc/issues/22837
Description
DEMISTO_BASE_URL slash inconsistency
Must have