-
Notifications
You must be signed in to change notification settings - Fork 309
Adds support for the Content-Encoding header #256
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
base: master
Are you sure you want to change the base?
Conversation
Hi Amin, thanks for the PR! I've only given it a brief look so far but will spend some time on it today. In the meantime I did trigger the tests which run on a range of systems, they're all marked as failed simply because the same test failed in all environments; so it looks all red but it is really just about one test :-) From the output:
To run this validation yourself, start Webdis with websockets enabled (set - "websockets": false,
+ "websockets": true, and in the You'll need to install cd tests
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./basic.py
./ws-tests.py |
Hello @nicolasff, I appreciate you taking the time to review the PR. |
suffix = ext + 1; | ||
suffix_len = uri + uri_len - suffix; | ||
|
||
for(ext = ext - 1; ext != uri && *ext != '/'; --ext) { |
Check notice
Code scanning / CodeQL
For loop variable changed in body Note
loop
suffix = ext + 1; | ||
suffix_len = uri + uri_len - suffix; | ||
|
||
for(ext = ext - 1; ext != uri && *ext != '/'; --ext) { |
Check notice
Code scanning / CodeQL
For loop variable changed in body Note
loop
|
||
for(ext = ext - 1; ext != uri && *ext != '/'; --ext) { | ||
if(*ext == '.') { | ||
ext++; |
Check notice
Code scanning / CodeQL
For loop variable changed in body Note
loop
Loop counters should not be modified in the body of the
loop
Will fix the unit tests later today. The python gzip implementation includes a timestamp. |
Done. |
Fixes #255