[circuits/circuits] 3c53e4: build(circuits.web): add httoop to dependencies

0 views
Skip to first unread message

Florian Best

unread,
Dec 31, 2022, 11:16:15 AM12/31/22
to circui...@googlegroups.com
Branch: refs/heads/httoop
Home: https://github.com/circuits/circuits
Commit: 3c53e44f5ec4d229857c05247c96293aee10ca19
https://github.com/circuits/circuits/commit/3c53e44f5ec4d229857c05247c96293aee10ca19
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M requirements.txt
M setup.py
M tox.ini

Log Message:
-----------
build(circuits.web): add httoop to dependencies


Commit: 4a6427ece7737ecf72c3958e74442cb6cb1ebc28
https://github.com/circuits/circuits/commit/4a6427ece7737ecf72c3958e74442cb6cb1ebc28
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/http.py
M circuits/web/wrappers.py

Log Message:
-----------
refactor(circuits.web): call wrappers.Response.prepare() explicitly


Commit: 865e8ddd72c5f8aefed44190648efc5d717ac517
https://github.com/circuits/circuits/commit/865e8ddd72c5f8aefed44190648efc5d717ac517
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/http.py
M circuits/web/parsers/__init__.py
R circuits/web/parsers/http.py
M circuits/web/servers.py
R docs/source/api/circuits.web.parsers.http.rst
M docs/source/api/circuits.web.parsers.rst

Log Message:
-----------
refactor(circuits.web.http): use httoop for parsing HTTP messages


Commit: 0edf13b807a8092fa970992e4a68b9b2bca994de
https://github.com/circuits/circuits/commit/0edf13b807a8092fa970992e4a68b9b2bca994de
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/http.py
M circuits/web/wrappers.py

Log Message:
-----------
refactor(circuits.web.wrappers): replace wrappers with httoop objects


Commit: 89a29fbcfd22e33414a8a0c78ada1f765b89b0d2
https://github.com/circuits/circuits/commit/89a29fbcfd22e33414a8a0c78ada1f765b89b0d2
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/parsers/__init__.py
R circuits/web/parsers/multipart.py
M circuits/web/processors.py
R docs/source/api/circuits.web.parsers.multipart.rst
M docs/source/api/circuits.web.parsers.rst
M setup.cfg

Log Message:
-----------
refactor(circuits.web.parsers.multipart): replace multipart parser with httoop


Commit: df10089b4da7944716823a3a14dff1850642a486
https://github.com/circuits/circuits/commit/df10089b4da7944716823a3a14dff1850642a486
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/dispatchers/dispatcher.py
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): remove `parse_qs()`

* `?123,456` format is probably not used at all


Commit: 8cf08830799e199e8992cbf888d7c378551e11dc
https://github.com/circuits/circuits/commit/8cf08830799e199e8992cbf888d7c378551e11dc
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/tools.py

Log Message:
-----------
refactor(circuits.web.tools): replace Range evaluation with httoop


Commit: 5c08a6792a2078764e9c4753fbab3861dbc8babc
https://github.com/circuits/circuits/commit/5c08a6792a2078764e9c4753fbab3861dbc8babc
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): rewrite get_ranges() using httoop


Commit: 8d72338f23e5f6684ce9799a956e2d65899d09a0
https://github.com/circuits/circuits/commit/8d72338f23e5f6684ce9799a956e2d65899d09a0
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): remove unused parse_body() and dictform()


Commit: b3bc7080e383d89c1bdd964d7f8ce9688cd606c1
https://github.com/circuits/circuits/commit/b3bc7080e383d89c1bdd964d7f8ce9688cd606c1
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/tools.py

Log Message:
-----------
refactor(circuits.web.tools): replace gzip() with httoop


Commit: 8bcd69ec2f92f38f7a798fc2c8e234a7be722f49
https://github.com/circuits/circuits/commit/8bcd69ec2f92f38f7a798fc2c8e234a7be722f49
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/tools.py

Log Message:
-----------
refactor(circuits.web.tools.expires): use httoop

TODO: note that httoop works with UTC while HTTP works with GMT.
does it have side effects in other areas?


Commit: 71e1ecc38e7bd07591462227f46f93967fbb645f
https://github.com/circuits/circuits/commit/71e1ecc38e7bd07591462227f46f93967fbb645f
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/tools.py

Log Message:
-----------
refactor(circuits.web.tools.validate_etags): use httoop


Commit: 19c2ffa10131ebea0f6071737568edc78c5526da
https://github.com/circuits/circuits/commit/19c2ffa10131ebea0f6071737568edc78c5526da
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/tools.py

Log Message:
-----------
refactor(circuits.web.tools.validate_since): use httoop


Commit: e87490b046c1bda734d823765d21a70594ddb0c6
https://github.com/circuits/circuits/commit/e87490b046c1bda734d823765d21a70594ddb0c6
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
R circuits/web/_httpauth.py
M circuits/web/tools.py
M examples/web/shadowauth.py
M tests/web/test_basicauth.py

Log Message:
-----------
WIP: refactor(circuits.web.tools.check_auth)!: use httoop

encrypt function takes bytes! or should it get str?


Commit: 890db644c42c925e28b51daad033d6b22a4ca0fe
https://github.com/circuits/circuits/commit/890db644c42c925e28b51daad033d6b22a4ca0fe
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/protocols/http.py

Log Message:
-----------
refactor(circuits.protocols.http): use httoop


Commit: 6f1ddd5158d4725414455108f1cc3a57bd6735b6
https://github.com/circuits/circuits/commit/6f1ddd5158d4725414455108f1cc3a57bd6735b6
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/client.py

Log Message:
-----------
refactor(circuits.web.clients): change to httoop


Commit: 513c44ad9ee962f40aa75c6ea39aecd12d8ec42c
https://github.com/circuits/circuits/commit/513c44ad9ee962f40aa75c6ea39aecd12d8ec42c
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/constants.py
M circuits/web/errors.py
M circuits/web/exceptions.py

Log Message:
-----------
refactor(circuits.web.errors): change status reason to httoop


Commit: 8d368603f46331c8081d5e3a66264a6f8cce018f
https://github.com/circuits/circuits/commit/8d368603f46331c8081d5e3a66264a6f8cce018f
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/headers.py
M circuits/web/tools.py
M tests/web/test_multipartformdata.py

Log Message:
-----------
refactor(circuits.web.headers)!: change to httoop

BREAKING CHANGE: `headers['Content-Length'] = int(10)` is not possible anymore


Commit: 749b1d21c6f8706d4a3bcec4f84ad90eec3ef09a
https://github.com/circuits/circuits/commit/749b1d21c6f8706d4a3bcec4f84ad90eec3ef09a
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/wsgi.py

Log Message:
-----------
refactor(circuits.web.wsgi): use httoop


Commit: c3d2a9e3593bdd5b2e4c317b0c0865ffed7b6b2e
https://github.com/circuits/circuits/commit/c3d2a9e3593bdd5b2e4c317b0c0865ffed7b6b2e
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/wsgi.py

Log Message:
-----------
WIP: squash! refactor(circuits.web.wsgi): use httoop


Commit: 26d691876c1caa8ac160023d21be62f7740f88b9
https://github.com/circuits/circuits/commit/26d691876c1caa8ac160023d21be62f7740f88b9
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/wrappers.py

Log Message:
-----------
TODO: wsgi requires this change somehow


Commit: 51f24cd0169a29a3091ed423cff42d659d73e632
https://github.com/circuits/circuits/commit/51f24cd0169a29a3091ed423cff42d659d73e632
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): remove unused quoted_slash


Commit: 71e1f3a777aa8800d083e85aeda99767a3b19adc
https://github.com/circuits/circuits/commit/71e1f3a777aa8800d083e85aeda99767a3b19adc
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): remove unused is_ssl_handshake import


Commit: f8762a5c76139009bd6a9e9ea53cecedf8c348c6
https://github.com/circuits/circuits/commit/f8762a5c76139009bd6a9e9ea53cecedf8c348c6
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/utils.py

Log Message:
-----------
refactor(circuits.web.utils): replace gzip compress() with httoop


Commit: 2ed1ba7a5db972a5920bccd1bae337cc81c13155
https://github.com/circuits/circuits/commit/2ed1ba7a5db972a5920bccd1bae337cc81c13155
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/errors.py

Log Message:
-----------
WIP: useful for debugging tests


Commit: 58760e0c625addacbf3b0913f470fca566030716
https://github.com/circuits/circuits/commit/58760e0c625addacbf3b0913f470fca566030716
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/wrappers.py
M tests/web/test_static.py

Log Message:
-----------
WIP: quote path as it is not the quoted original anymore


Commit: e03390bd23d581838b382875425aec988299887d
https://github.com/circuits/circuits/commit/e03390bd23d581838b382875425aec988299887d
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M .github/workflows/python-app.yml

Log Message:
-----------
test with latest httoop


Commit: 5c50255272e4982c1ce1b72e65f9c2b01d32340b
https://github.com/circuits/circuits/commit/5c50255272e4982c1ce1b72e65f9c2b01d32340b
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/http.py

Log Message:
-----------
WIP: how to handle this correctly?

tests/web/test_gzip.py::test2 fails with:

Traceback (most recent call last):
File "git/circuits/circuits/core/manager.py", line 674, in _dispatcher
value = event_handler(*eargs, **ekwargs)
File "git/circuits/circuits/web/http.py", line 139, in _on_stream
if res.chunked:
AttributeError: 'list_iterator' object has no attribute 'close'

wrappers.response.body._set() change? do we need to set in gzip() a file instead of a iter()?


Commit: 56001d9c748d48376fb76116ad6bff52997c00d4
https://github.com/circuits/circuits/commit/56001d9c748d48376fb76116ad6bff52997c00d4
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M circuits/web/http.py

Log Message:
-----------
TEMP


Commit: 6fd355d54d853d1ee8feee54f41087fd293e274b
https://github.com/circuits/circuits/commit/6fd355d54d853d1ee8feee54f41087fd293e274b
Author: SpaceOne <sp...@wechall.net>
Date: 2022-12-31 (Sat, 31 Dec 2022)

Changed paths:
M .github/workflows/python-app.yml

Log Message:
-----------
Revert "test with latest httoop"

This reverts commit 9001e0b1b7f42cf774616b3d0495e0bf0e4742b9.


Compare: https://github.com/circuits/circuits/compare/d96ad0ea15d7...6fd355d54d85
Reply all
Reply to author
Forward
0 new messages