Skip to content

Commit

Permalink
Bugfix/flask process block (#652)
Browse files Browse the repository at this point in the history
* upgrade extra mock server, use aiohttp instead of flask

* Add raw headers line

* 1. fix:auto decompress gzip request; 2. fix:proxy wrong headers; 3. fix:crash if no requst data; 4.update:unsupport python 3.6; 5. update:support python3.10; 6. update: remove used import

* support read proxy info from query

* rm py3.10 tests and info

* support:set custom proxy query key
  • Loading branch information
zhaoye authored Jun 9, 2022
1 parent 1adb86b commit f5b031f
Show file tree
Hide file tree
Showing 5 changed files with 293 additions and 51 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
unittest:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.7", "3.8", "3.9"]
runs-on: macos-latest
name: Python ${{ matrix.python-version }} tests
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.7"
python-version: "3.8"
- name: Install dependency
run: |
pip install --upgrade pip
Expand Down
18 changes: 12 additions & 6 deletions install_requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ chardet==3.0.4
click==7.1.2
colorama==0.4.1
cryptography==3.2.1
dnspython==1.16.0
eventlet==0.30.1
Flask==1.1.1
Flask-RESTful==0.3.7
Flask-SocketIO==4.2.1
greenlet==1.1.2
h11==0.13.0
h2==4.1.0
hpack==4.0.0
Expand All @@ -30,7 +27,7 @@ msgpack==1.0.3
netifaces==0.11.0
packaging==19.0
passlib==1.7.4
Pillow==8.0.1
Pillow==9.1.1
portpicker==1.3.1
protobuf==3.13.0
publicsuffix2==2.20191221
Expand All @@ -42,7 +39,7 @@ pyperclip==1.8.2
python-engineio==3.14.2
python-socketio==4.6.1
pytz==2022.1
qrcode==6.1
qrcode==7.3.1
requests==2.21.0
ruamel.yaml==0.16.13
ruamel.yaml.clib==0.2.6
Expand All @@ -56,4 +53,13 @@ urllib3==1.24.2
urwid==2.1.2
Werkzeug==2.0.3
wsproto==0.15.0
zstandard==0.14.1
zstandard==0.14.1
aiohttp==3.8.1
async-timeout==4.0.2
attrs==21.4.0
multidict==6.0.2
yarl==1.7.2
frozenlist==1.3.0
charset-normalizer==2.0.12
aiosignal==1.2.0
idna==2.8
Loading

0 comments on commit f5b031f

Please sign in to comment.