omserv 0.0.0.dev409__py3-none-any.whl → 0.0.0.dev411__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- omserv/__about__.py +1 -1
- omserv/server/protocols/h2.py +3 -5
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/METADATA +4 -4
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/RECORD +8 -8
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/WHEEL +0 -0
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/entry_points.txt +0 -0
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/licenses/LICENSE +0 -0
- {omserv-0.0.0.dev409.dist-info → omserv-0.0.0.dev411.dist-info}/top_level.txt +0 -0
omserv/__about__.py
CHANGED
omserv/server/protocols/h2.py
CHANGED
@@ -153,8 +153,7 @@ class H2Protocol(Protocol):
|
|
153
153
|
await self._flush()
|
154
154
|
|
155
155
|
if headers is not None:
|
156
|
-
event = h2.events.RequestReceived()
|
157
|
-
event.stream_id = 1
|
156
|
+
event = h2.events.RequestReceived(stream_id=1)
|
158
157
|
event.headers = [hpack.HeaderTuple(*t) for t in headers]
|
159
158
|
await self._create_stream(event)
|
160
159
|
await self.streams[event.stream_id].handle(EndBody(stream_id=event.stream_id))
|
@@ -396,7 +395,7 @@ class H2Protocol(Protocol):
|
|
396
395
|
|
397
396
|
await self.streams[stream_id].handle(Request(
|
398
397
|
stream_id=stream_id,
|
399
|
-
headers=filter_pseudo_headers(check.not_none(request.headers)),
|
398
|
+
headers=filter_pseudo_headers(check.not_none(request.headers)),
|
400
399
|
http_version='2',
|
401
400
|
method=method,
|
402
401
|
raw_path=raw_path,
|
@@ -429,8 +428,7 @@ class H2Protocol(Protocol):
|
|
429
428
|
pass
|
430
429
|
|
431
430
|
else:
|
432
|
-
event = h2.events.RequestReceived()
|
433
|
-
event.stream_id = push_stream_id
|
431
|
+
event = h2.events.RequestReceived(stream_id=push_stream_id)
|
434
432
|
event.headers = [hpack.HeaderTuple(*t) for t in request_headers]
|
435
433
|
await self._create_stream(event)
|
436
434
|
await self.streams[event.stream_id].handle(EndBody(stream_id=event.stream_id))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: omserv
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev411
|
4
4
|
Summary: omserv
|
5
5
|
Author: wrmsr
|
6
6
|
License-Expression: BSD-3-Clause
|
@@ -14,16 +14,16 @@ Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Python: >=3.13
|
15
15
|
Description-Content-Type: text/markdown
|
16
16
|
License-File: LICENSE
|
17
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
+
Requires-Dist: omlish==0.0.0.dev411
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: h11~=0.16; extra == "all"
|
20
|
-
Requires-Dist: h2~=4.
|
20
|
+
Requires-Dist: h2~=4.3; extra == "all"
|
21
21
|
Requires-Dist: priority~=2.0; extra == "all"
|
22
22
|
Requires-Dist: wsproto~=1.2; extra == "all"
|
23
23
|
Requires-Dist: jinja2~=3.1; extra == "all"
|
24
24
|
Provides-Extra: server
|
25
25
|
Requires-Dist: h11~=0.16; extra == "server"
|
26
|
-
Requires-Dist: h2~=4.
|
26
|
+
Requires-Dist: h2~=4.3; extra == "server"
|
27
27
|
Requires-Dist: priority~=2.0; extra == "server"
|
28
28
|
Requires-Dist: wsproto~=1.2; extra == "server"
|
29
29
|
Provides-Extra: templates
|
@@ -1,5 +1,5 @@
|
|
1
1
|
omserv/.manifests.json,sha256=mKVND4MOWwi6PcMlPy7E0cW0d5gZOxtYYL5sjcSAOOI,254
|
2
|
-
omserv/__about__.py,sha256=
|
2
|
+
omserv/__about__.py,sha256=NckRtD8Hgoc4qVvyM5hszf52ar41rSzznK7mog2xO1s,765
|
3
3
|
omserv/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
omserv/apps/__init__.py,sha256=buRI0lsNdbR08TjRKLhGsFHWETS2Br_mb6mm-8u9FII,617
|
5
5
|
omserv/apps/base.py,sha256=HYsWbDot7zOnsdSL8dF_ANrNXEYgWIGzlnBdCU7n8v8,376
|
@@ -37,7 +37,7 @@ omserv/server/types.py,sha256=mUgmhjBT3bPd5vgyX3dq8L4iWTODgsh142xEI6HqLq0,2060
|
|
37
37
|
omserv/server/workercontext.py,sha256=psCQXv3KqF1aaT-15VcSRcg415k_45Sw3rWJm5c-ABM,1207
|
38
38
|
omserv/server/protocols/__init__.py,sha256=Ryu2PDZ1TUI6F2l-HBEYgyzZ7wHqE6VmjqnS0tIvmQI,47
|
39
39
|
omserv/server/protocols/h11.py,sha256=fXHUch4ztBJivCs_Dii2DXG_0Vd56KDs0J6n9LBfQbQ,11967
|
40
|
-
omserv/server/protocols/h2.py,sha256=
|
40
|
+
omserv/server/protocols/h2.py,sha256=UTAq1QzvzVR9dY8Jp6_aGSouBlND7ieiEi7aZmlj1P0,15965
|
41
41
|
omserv/server/protocols/protocols.py,sha256=r8erX1Ivpu71T8lJTKfJjQQe6WVi9yZSstlaM0SfrqM,2796
|
42
42
|
omserv/server/protocols/types.py,sha256=jAZ8kz-07WbbjPGnF7ioWPNkJaTQfGY0tnn2HCpqnpg,445
|
43
43
|
omserv/server/resources/__init__.py,sha256=KppZbvZBKX1TdyaQZYY92oEKpdB3nuUXxharAgrbAIA,193
|
@@ -46,9 +46,9 @@ omserv/server/streams/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
|
|
46
46
|
omserv/server/streams/httpstream.py,sha256=bxlpmVyVyAlKIV8DOBqD-Oa6Pgd4jwT3isv_iJ1onVk,8021
|
47
47
|
omserv/server/streams/utils.py,sha256=wgYrZGG3c1MkNVeEfDmYX2uUKYSbmGQsjeakc1xV_YQ,1532
|
48
48
|
omserv/server/streams/wsstream.py,sha256=EmVnWINOPn8cvqyiIXP74RJtLn459Z9ey0TX7PuF5-Y,15487
|
49
|
-
omserv-0.0.0.
|
50
|
-
omserv-0.0.0.
|
51
|
-
omserv-0.0.0.
|
52
|
-
omserv-0.0.0.
|
53
|
-
omserv-0.0.0.
|
54
|
-
omserv-0.0.0.
|
49
|
+
omserv-0.0.0.dev411.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
50
|
+
omserv-0.0.0.dev411.dist-info/METADATA,sha256=_VYRSX8mIeNS4vvP_wI1ngXZDpifv0OULHrQW88v5Y4,1400
|
51
|
+
omserv-0.0.0.dev411.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
52
|
+
omserv-0.0.0.dev411.dist-info/entry_points.txt,sha256=ivSrdA_ahEbI-eVMu-XZS-z4VrnQISvpecIkOqC9zFM,35
|
53
|
+
omserv-0.0.0.dev411.dist-info/top_level.txt,sha256=HXehpnxeKscKNULzKNzZ27oNawBrsh1PaNAirbX-XNA,7
|
54
|
+
omserv-0.0.0.dev411.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|