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

Logging requests and responses. #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zbohm
Copy link
Contributor

@zbohm zbohm commented Oct 4, 2021

Přidáno logování request a response. Hodí se to zejména při ladění spojení s bránou.

@zbohm zbohm force-pushed the add-logging branch 7 times, most recently from b31b195 to 50b0955 Compare October 5, 2021 07:57
@zbohm
Copy link
Contributor Author

zbohm commented Oct 5, 2021

Odebral jsem podporu Python verze 3.5 kvůli slovníkům, které v této verzi mají náhodné pořadí. To způsobuje, že testy, ve kterých je kontrola slovníku request.headers, kvůli tomu selžou. Pokud by měla být verze 3.5, tak by se tam musel použít OrderedDict.

I removed Python support for version 3.5 due to dictionaries that have a random order in this version. This causes tests that have the request.headers dictionary check to fail because of this. If the version should be 3.5, then OrderedDict would have to be used.

@zbohm zbohm mentioned this pull request Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant