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

0 views
Skip to first unread message

Florian Best

unread,
Jan 3, 2023, 3:58:34 PM1/3/23
to circui...@googlegroups.com
Branch: refs/heads/httoop
Home: https://github.com/circuits/circuits
Commit: 176593716b657b3226bdddddccaf1976663cd013
https://github.com/circuits/circuits/commit/176593716b657b3226bdddddccaf1976663cd013
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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

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


Commit: 9bae66e96b35c6cb76332b46ffac42701e2a2b25
https://github.com/circuits/circuits/commit/9bae66e96b35c6cb76332b46ffac42701e2a2b25
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 07512071a89ccb50060356ea30af3c8faa366587
https://github.com/circuits/circuits/commit/07512071a89ccb50060356ea30af3c8faa366587
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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

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


Commit: 974593397d382e2e9fff7a0779eb38a9c33e143e
https://github.com/circuits/circuits/commit/974593397d382e2e9fff7a0779eb38a9c33e143e
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 89e8da82aa70f512ab6e39bf3cd5b0807df7ddff
https://github.com/circuits/circuits/commit/89e8da82aa70f512ab6e39bf3cd5b0807df7ddff
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: f1ecb2cf45e6f6d163df8979b49aa9dd63329c5f
https://github.com/circuits/circuits/commit/f1ecb2cf45e6f6d163df8979b49aa9dd63329c5f
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/tools.py

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


Commit: 04220257daf6c1567ca9213151404a4ab3dfa5e6
https://github.com/circuits/circuits/commit/04220257daf6c1567ca9213151404a4ab3dfa5e6
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/utils.py

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


Commit: 73c8678c9ea13921d7f12a5503f5d053430e234a
https://github.com/circuits/circuits/commit/73c8678c9ea13921d7f12a5503f5d053430e234a
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/utils.py

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


Commit: 99f5a13253635a3124cd438341882c12b992db5c
https://github.com/circuits/circuits/commit/99f5a13253635a3124cd438341882c12b992db5c
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/tools.py

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


Commit: eae5798acb25ad3958982c221ba8e97dc2ac5674
https://github.com/circuits/circuits/commit/eae5798acb25ad3958982c221ba8e97dc2ac5674
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 2bbf879065eb23003ec17b3b1921f8d87d3db4ba
https://github.com/circuits/circuits/commit/2bbf879065eb23003ec17b3b1921f8d87d3db4ba
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/tools.py

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


Commit: 4fc7a85d270c3857802c1ec970d9a61759a424f5
https://github.com/circuits/circuits/commit/4fc7a85d270c3857802c1ec970d9a61759a424f5
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/tools.py

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


Commit: 26993529a5f9aed13c4fbd45e0a3830a24fd0adf
https://github.com/circuits/circuits/commit/26993529a5f9aed13c4fbd45e0a3830a24fd0adf
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 2326c39dc16adbd93729953cf231a3a85a5c6c43
https://github.com/circuits/circuits/commit/2326c39dc16adbd93729953cf231a3a85a5c6c43
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/protocols/http.py

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


Commit: 506951c3b9b33ee01bd59af7fb576a3cd9ecb1fd
https://github.com/circuits/circuits/commit/506951c3b9b33ee01bd59af7fb576a3cd9ecb1fd
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/client.py

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


Commit: 9e1b86f6e064d6d5f25544f1648b04fcef181bf1
https://github.com/circuits/circuits/commit/9e1b86f6e064d6d5f25544f1648b04fcef181bf1
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 07727f643c7db8d1301437e280404a3fc429334e
https://github.com/circuits/circuits/commit/07727f643c7db8d1301437e280404a3fc429334e
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: b405650ea358dbbebc8c8fbf1d20af74d61e0b04
https://github.com/circuits/circuits/commit/b405650ea358dbbebc8c8fbf1d20af74d61e0b04
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wsgi.py

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


Commit: 1e9aae544c65fcd7e7c0d1a668fb37e6d832e151
https://github.com/circuits/circuits/commit/1e9aae544c65fcd7e7c0d1a668fb37e6d832e151
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wsgi.py

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


Commit: e7e17287aac81be00c2347d87c6b842f43fab6cd
https://github.com/circuits/circuits/commit/e7e17287aac81be00c2347d87c6b842f43fab6cd
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wrappers.py

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


Commit: a53b416f7455f5afb679fd6ab4a51d57203cae08
https://github.com/circuits/circuits/commit/a53b416f7455f5afb679fd6ab4a51d57203cae08
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/utils.py

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


Commit: 199b332d746ad068add830bdacd95dfef63135b8
https://github.com/circuits/circuits/commit/199b332d746ad068add830bdacd95dfef63135b8
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/utils.py

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


Commit: 9f30ac371520fb5ccb77ec5d58877ecb7573d2c0
https://github.com/circuits/circuits/commit/9f30ac371520fb5ccb77ec5d58877ecb7573d2c0
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/utils.py

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


Commit: cd5242f421749edb55d7db031019cb414e1d4314
https://github.com/circuits/circuits/commit/cd5242f421749edb55d7db031019cb414e1d4314
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/errors.py

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


Commit: cc5ff8b5230f7437b7d578ee16eea8a5e3becdf5
https://github.com/circuits/circuits/commit/cc5ff8b5230f7437b7d578ee16eea8a5e3becdf5
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wrappers.py

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


Commit: 83e35ee858e9185a7d393e44ec01372ff5a7ef5c
https://github.com/circuits/circuits/commit/83e35ee858e9185a7d393e44ec01372ff5a7ef5c
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

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: 21ddf7b65f417abce24159915547db2c96c8cf25
https://github.com/circuits/circuits/commit/21ddf7b65f417abce24159915547db2c96c8cf25
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/http.py

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


Commit: 8f3bff6693f8537783e7d98a361e765f9fedb055
https://github.com/circuits/circuits/commit/8f3bff6693f8537783e7d98a361e765f9fedb055
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wrappers.py

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


Commit: 2aaf75fb63504e7b0ea428114694d7963d94477b
https://github.com/circuits/circuits/commit/2aaf75fb63504e7b0ea428114694d7963d94477b
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/http.py

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


Commit: b9c43f4e2385e1753d3959f32548c34276576285
https://github.com/circuits/circuits/commit/b9c43f4e2385e1753d3959f32548c34276576285
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/http.py

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


Commit: 6dc5bcd173099f40520541fb1d60e87043fd70d5
https://github.com/circuits/circuits/commit/6dc5bcd173099f40520541fb1d60e87043fd70d5
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wrappers.py

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


Commit: 4f90daa234f9a1c0303a975eee836eb0e5d78205
https://github.com/circuits/circuits/commit/4f90daa234f9a1c0303a975eee836eb0e5d78205
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wrappers.py

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


Commit: 091c0bac29a10aac35181e57e3c8fc9f5af13b04
https://github.com/circuits/circuits/commit/091c0bac29a10aac35181e57e3c8fc9f5af13b04
Author: SpaceOne <sp...@wechall.net>
Date: 2023-01-03 (Tue, 03 Jan 2023)

Changed paths:
M circuits/web/wsgi.py

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


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