winrt-Windows.Web.Http.Headers 2.0.0b1__tar.gz → 2.0.1__tar.gz

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.
Files changed (21) hide show
  1. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/PKG-INFO +10 -2
  2. winrt_windows_web_http_headers-2.0.1/all-requirements.txt +8 -0
  3. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/py.Windows.Web.Http.Headers.cpp +31 -4
  4. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_web_http_headers-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_web_http_headers-2.0.1/setup.py +31 -0
  8. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt/_winrt_windows_web_http_headers.pyi +103 -40
  9. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt/windows/web/http/headers/__init__.py +1 -1
  10. winrt_windows_web_http_headers-2.0.1/winrt/windows/web/http/headers/py.typed +0 -0
  11. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt_Windows.Web.Http.Headers.egg-info/PKG-INFO +10 -2
  12. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt_Windows.Web.Http.Headers.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_web_http_headers-2.0.1/winrt_Windows.Web.Http.Headers.egg-info/requires.txt +9 -0
  14. winrt-Windows.Web.Http.Headers-2.0.0b1/all-requirements.txt +0 -8
  15. winrt-Windows.Web.Http.Headers-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.Web.Http.Headers-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.Web.Http.Headers-2.0.0b1/winrt_Windows.Web.Http.Headers.egg-info/requires.txt +0 -9
  18. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/README.md +0 -0
  19. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt_Windows.Web.Http.Headers.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.Web.Http.Headers-2.0.0b1 → winrt_windows_web_http_headers-2.0.1}/winrt_Windows.Web.Http.Headers.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Web.Http.Headers
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,14 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Globalization[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Networking[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.0.1; extra == "all"
15
23
 
16
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
25
 
@@ -0,0 +1,8 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Foundation[all]==2.0.1
4
+ winrt-Windows.Foundation.Collections[all]==2.0.1
5
+ winrt-Windows.Globalization[all]==2.0.1
6
+ winrt-Windows.Networking[all]==2.0.1
7
+ winrt-Windows.Storage.Streams[all]==2.0.1
8
+ winrt-Windows.Web.Http[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.Web.Http.Headers.h"
4
4
 
@@ -6321,9 +6321,18 @@ namespace py::cpp::Windows::Web::Http::Headers
6321
6321
  {
6322
6322
  try
6323
6323
  {
6324
- auto value = self->obj.TryLookup(py::convert_to<winrt::hstring>(key));
6324
+ auto _key = py::convert_to<winrt::hstring>(key);
6325
+ auto value = self->obj.TryLookup(_key);
6325
6326
 
6326
6327
  if (!value) {
6328
+ if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
6329
+ {
6330
+ if (self->obj.HasKey(_key))
6331
+ {
6332
+ Py_RETURN_NONE;
6333
+ }
6334
+ }
6335
+
6327
6336
  PyErr_SetObject(PyExc_KeyError, key);
6328
6337
  return nullptr;
6329
6338
  }
@@ -16123,9 +16132,18 @@ namespace py::cpp::Windows::Web::Http::Headers
16123
16132
  {
16124
16133
  try
16125
16134
  {
16126
- auto value = self->obj.TryLookup(py::convert_to<winrt::hstring>(key));
16135
+ auto _key = py::convert_to<winrt::hstring>(key);
16136
+ auto value = self->obj.TryLookup(_key);
16127
16137
 
16128
16138
  if (!value) {
16139
+ if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
16140
+ {
16141
+ if (self->obj.HasKey(_key))
16142
+ {
16143
+ Py_RETURN_NONE;
16144
+ }
16145
+ }
16146
+
16129
16147
  PyErr_SetObject(PyExc_KeyError, key);
16130
16148
  return nullptr;
16131
16149
  }
@@ -16961,9 +16979,18 @@ namespace py::cpp::Windows::Web::Http::Headers
16961
16979
  {
16962
16980
  try
16963
16981
  {
16964
- auto value = self->obj.TryLookup(py::convert_to<winrt::hstring>(key));
16982
+ auto _key = py::convert_to<winrt::hstring>(key);
16983
+ auto value = self->obj.TryLookup(_key);
16965
16984
 
16966
16985
  if (!value) {
16986
+ if constexpr (std::is_base_of_v<winrt::Windows::Foundation::IUnknown, decltype(value)>)
16987
+ {
16988
+ if (self->obj.HasKey(_key))
16989
+ {
16990
+ Py_RETURN_NONE;
16991
+ }
16992
+ }
16993
+
16967
16994
  PyErr_SetObject(PyExc_KeyError, key);
16968
16995
  return nullptr;
16969
16996
  }
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
19
19
  requires-python = ">=3.9,<3.13"
20
20
 
21
21
  [project.urls]
22
- # Homepage = "https://github.com/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
22
+ # Homepage = "https://github.com/pywinrt/pywinrt"
23
+ Documentation = "https://pywinrt.readthedocs.io"
24
+ Repository = "https://github.com/pywinrt/pywinrt"
25
25
  Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
26
 
27
27
  [tool.setuptools.dynamic]
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
+ [tool.setuptools.package-data]
33
+ "*" = ["*.pyi", "py.typed"]
34
+
32
35
  [tool.cibuildwheel]
33
36
  # use local winrt-sdk build dependency
34
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
3
+ winrt-runtime==2.0.1
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_web_http_headers",
26
+ sources=["py.Windows.Web.Http.Headers.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -18,19 +18,21 @@ import winrt.windows.web.http
18
18
 
19
19
  Self = typing.TypeVar('Self')
20
20
 
21
+ @typing.final
21
22
  class HttpCacheDirectiveHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpNameValueHeaderValue]):
22
23
  def __str__(self) -> str: ...
23
24
  def __len__(self) -> int: ...
25
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpNameValueHeaderValue]: ...
24
26
  @typing.overload
25
- def __getitem__(self, index: int) -> HttpNameValueHeaderValue: ...
27
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpNameValueHeaderValue: ...
26
28
  @typing.overload
27
29
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpNameValueHeaderValue]: ...
28
30
  @typing.overload
29
- def __delitem__(self, index: int) -> None: ...
31
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
30
32
  @typing.overload
31
33
  def __delitem__(self, index: slice) -> None: ...
32
34
  @typing.overload
33
- def __setitem__(self, index: int, value: HttpNameValueHeaderValue) -> None: ...
35
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpNameValueHeaderValue) -> None: ...
34
36
  @typing.overload
35
37
  def __setitem__(self, index: slice, value: typing.Iterable[HttpNameValueHeaderValue]) -> None: ...
36
38
  @staticmethod
@@ -69,10 +71,12 @@ class HttpCacheDirectiveHeaderValueCollection(winrt.system.Object, winrt._winrt.
69
71
  @max_age.setter
70
72
  def max_age(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
71
73
 
74
+ @typing.final
72
75
  class HttpChallengeHeaderValue_Static(type):
73
76
  def parse(cls, input: str, /) -> typing.Optional[HttpChallengeHeaderValue]: ...
74
77
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpChallengeHeaderValue]]: ...
75
78
 
79
+ @typing.final
76
80
  class HttpChallengeHeaderValue(winrt.system.Object, metaclass=HttpChallengeHeaderValue_Static):
77
81
  def __str__(self) -> str: ...
78
82
  @staticmethod
@@ -89,19 +93,21 @@ class HttpChallengeHeaderValue(winrt.system.Object, metaclass=HttpChallengeHeade
89
93
  @_property
90
94
  def token(self) -> str: ...
91
95
 
96
+ @typing.final
92
97
  class HttpChallengeHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpChallengeHeaderValue]):
93
98
  def __str__(self) -> str: ...
94
99
  def __len__(self) -> int: ...
100
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpChallengeHeaderValue]: ...
95
101
  @typing.overload
96
- def __getitem__(self, index: int) -> HttpChallengeHeaderValue: ...
102
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpChallengeHeaderValue: ...
97
103
  @typing.overload
98
104
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpChallengeHeaderValue]: ...
99
105
  @typing.overload
100
- def __delitem__(self, index: int) -> None: ...
106
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
101
107
  @typing.overload
102
108
  def __delitem__(self, index: slice) -> None: ...
103
109
  @typing.overload
104
- def __setitem__(self, index: int, value: HttpChallengeHeaderValue) -> None: ...
110
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpChallengeHeaderValue) -> None: ...
105
111
  @typing.overload
106
112
  def __setitem__(self, index: slice, value: typing.Iterable[HttpChallengeHeaderValue]) -> None: ...
107
113
  @staticmethod
@@ -124,10 +130,12 @@ class HttpChallengeHeaderValueCollection(winrt.system.Object, winrt._winrt.Mutab
124
130
  @_property
125
131
  def size(self) -> winrt.system.UInt32: ...
126
132
 
133
+ @typing.final
127
134
  class HttpConnectionOptionHeaderValue_Static(type):
128
135
  def parse(cls, input: str, /) -> typing.Optional[HttpConnectionOptionHeaderValue]: ...
129
136
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpConnectionOptionHeaderValue]]: ...
130
137
 
138
+ @typing.final
131
139
  class HttpConnectionOptionHeaderValue(winrt.system.Object, metaclass=HttpConnectionOptionHeaderValue_Static):
132
140
  def __str__(self) -> str: ...
133
141
  @staticmethod
@@ -137,19 +145,21 @@ class HttpConnectionOptionHeaderValue(winrt.system.Object, metaclass=HttpConnect
137
145
  @_property
138
146
  def token(self) -> str: ...
139
147
 
148
+ @typing.final
140
149
  class HttpConnectionOptionHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpConnectionOptionHeaderValue]):
141
150
  def __str__(self) -> str: ...
142
151
  def __len__(self) -> int: ...
152
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpConnectionOptionHeaderValue]: ...
143
153
  @typing.overload
144
- def __getitem__(self, index: int) -> HttpConnectionOptionHeaderValue: ...
154
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpConnectionOptionHeaderValue: ...
145
155
  @typing.overload
146
156
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpConnectionOptionHeaderValue]: ...
147
157
  @typing.overload
148
- def __delitem__(self, index: int) -> None: ...
158
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
149
159
  @typing.overload
150
160
  def __delitem__(self, index: slice) -> None: ...
151
161
  @typing.overload
152
- def __setitem__(self, index: int, value: HttpConnectionOptionHeaderValue) -> None: ...
162
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpConnectionOptionHeaderValue) -> None: ...
153
163
  @typing.overload
154
164
  def __setitem__(self, index: slice, value: typing.Iterable[HttpConnectionOptionHeaderValue]) -> None: ...
155
165
  @staticmethod
@@ -172,10 +182,12 @@ class HttpConnectionOptionHeaderValueCollection(winrt.system.Object, winrt._winr
172
182
  @_property
173
183
  def size(self) -> winrt.system.UInt32: ...
174
184
 
185
+ @typing.final
175
186
  class HttpContentCodingHeaderValue_Static(type):
176
187
  def parse(cls, input: str, /) -> typing.Optional[HttpContentCodingHeaderValue]: ...
177
188
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpContentCodingHeaderValue]]: ...
178
189
 
190
+ @typing.final
179
191
  class HttpContentCodingHeaderValue(winrt.system.Object, metaclass=HttpContentCodingHeaderValue_Static):
180
192
  def __str__(self) -> str: ...
181
193
  @staticmethod
@@ -185,19 +197,21 @@ class HttpContentCodingHeaderValue(winrt.system.Object, metaclass=HttpContentCod
185
197
  @_property
186
198
  def content_coding(self) -> str: ...
187
199
 
200
+ @typing.final
188
201
  class HttpContentCodingHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpContentCodingHeaderValue]):
189
202
  def __str__(self) -> str: ...
190
203
  def __len__(self) -> int: ...
204
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpContentCodingHeaderValue]: ...
191
205
  @typing.overload
192
- def __getitem__(self, index: int) -> HttpContentCodingHeaderValue: ...
206
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpContentCodingHeaderValue: ...
193
207
  @typing.overload
194
208
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpContentCodingHeaderValue]: ...
195
209
  @typing.overload
196
- def __delitem__(self, index: int) -> None: ...
210
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
197
211
  @typing.overload
198
212
  def __delitem__(self, index: slice) -> None: ...
199
213
  @typing.overload
200
- def __setitem__(self, index: int, value: HttpContentCodingHeaderValue) -> None: ...
214
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpContentCodingHeaderValue) -> None: ...
201
215
  @typing.overload
202
216
  def __setitem__(self, index: slice, value: typing.Iterable[HttpContentCodingHeaderValue]) -> None: ...
203
217
  @staticmethod
@@ -220,10 +234,12 @@ class HttpContentCodingHeaderValueCollection(winrt.system.Object, winrt._winrt.M
220
234
  @_property
221
235
  def size(self) -> winrt.system.UInt32: ...
222
236
 
237
+ @typing.final
223
238
  class HttpContentCodingWithQualityHeaderValue_Static(type):
224
239
  def parse(cls, input: str, /) -> typing.Optional[HttpContentCodingWithQualityHeaderValue]: ...
225
240
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpContentCodingWithQualityHeaderValue]]: ...
226
241
 
242
+ @typing.final
227
243
  class HttpContentCodingWithQualityHeaderValue(winrt.system.Object, metaclass=HttpContentCodingWithQualityHeaderValue_Static):
228
244
  def __str__(self) -> str: ...
229
245
  @staticmethod
@@ -238,19 +254,21 @@ class HttpContentCodingWithQualityHeaderValue(winrt.system.Object, metaclass=Htt
238
254
  @_property
239
255
  def quality(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
240
256
 
257
+ @typing.final
241
258
  class HttpContentCodingWithQualityHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpContentCodingWithQualityHeaderValue]):
242
259
  def __str__(self) -> str: ...
243
260
  def __len__(self) -> int: ...
261
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpContentCodingWithQualityHeaderValue]: ...
244
262
  @typing.overload
245
- def __getitem__(self, index: int) -> HttpContentCodingWithQualityHeaderValue: ...
263
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpContentCodingWithQualityHeaderValue: ...
246
264
  @typing.overload
247
265
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpContentCodingWithQualityHeaderValue]: ...
248
266
  @typing.overload
249
- def __delitem__(self, index: int) -> None: ...
267
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
250
268
  @typing.overload
251
269
  def __delitem__(self, index: slice) -> None: ...
252
270
  @typing.overload
253
- def __setitem__(self, index: int, value: HttpContentCodingWithQualityHeaderValue) -> None: ...
271
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpContentCodingWithQualityHeaderValue) -> None: ...
254
272
  @typing.overload
255
273
  def __setitem__(self, index: slice, value: typing.Iterable[HttpContentCodingWithQualityHeaderValue]) -> None: ...
256
274
  @staticmethod
@@ -273,10 +291,12 @@ class HttpContentCodingWithQualityHeaderValueCollection(winrt.system.Object, win
273
291
  @_property
274
292
  def size(self) -> winrt.system.UInt32: ...
275
293
 
294
+ @typing.final
276
295
  class HttpContentDispositionHeaderValue_Static(type):
277
296
  def parse(cls, input: str, /) -> typing.Optional[HttpContentDispositionHeaderValue]: ...
278
297
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpContentDispositionHeaderValue]]: ...
279
298
 
299
+ @typing.final
280
300
  class HttpContentDispositionHeaderValue(winrt.system.Object, metaclass=HttpContentDispositionHeaderValue_Static):
281
301
  def __str__(self) -> str: ...
282
302
  @staticmethod
@@ -306,6 +326,7 @@ class HttpContentDispositionHeaderValue(winrt.system.Object, metaclass=HttpConte
306
326
  @_property
307
327
  def parameters(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[HttpNameValueHeaderValue]]: ...
308
328
 
329
+ @typing.final
309
330
  class HttpContentHeaderCollection(winrt.system.Object, winrt._winrt.MutableMapping[str, str]):
310
331
  def __str__(self) -> str: ...
311
332
  def __len__(self) -> int: ...
@@ -366,10 +387,12 @@ class HttpContentHeaderCollection(winrt.system.Object, winrt._winrt.MutableMappi
366
387
  @_property
367
388
  def content_language(self) -> typing.Optional[HttpLanguageHeaderValueCollection]: ...
368
389
 
390
+ @typing.final
369
391
  class HttpContentRangeHeaderValue_Static(type):
370
392
  def parse(cls, input: str, /) -> typing.Optional[HttpContentRangeHeaderValue]: ...
371
393
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpContentRangeHeaderValue]]: ...
372
394
 
395
+ @typing.final
373
396
  class HttpContentRangeHeaderValue(winrt.system.Object, metaclass=HttpContentRangeHeaderValue_Static):
374
397
  def __str__(self) -> str: ...
375
398
  @staticmethod
@@ -392,10 +415,12 @@ class HttpContentRangeHeaderValue(winrt.system.Object, metaclass=HttpContentRang
392
415
  @_property
393
416
  def length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
394
417
 
418
+ @typing.final
395
419
  class HttpCookiePairHeaderValue_Static(type):
396
420
  def parse(cls, input: str, /) -> typing.Optional[HttpCookiePairHeaderValue]: ...
397
421
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpCookiePairHeaderValue]]: ...
398
422
 
423
+ @typing.final
399
424
  class HttpCookiePairHeaderValue(winrt.system.Object, metaclass=HttpCookiePairHeaderValue_Static):
400
425
  def __str__(self) -> str: ...
401
426
  @staticmethod
@@ -412,19 +437,21 @@ class HttpCookiePairHeaderValue(winrt.system.Object, metaclass=HttpCookiePairHea
412
437
  @_property
413
438
  def name(self) -> str: ...
414
439
 
440
+ @typing.final
415
441
  class HttpCookiePairHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpCookiePairHeaderValue]):
416
442
  def __str__(self) -> str: ...
417
443
  def __len__(self) -> int: ...
444
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpCookiePairHeaderValue]: ...
418
445
  @typing.overload
419
- def __getitem__(self, index: int) -> HttpCookiePairHeaderValue: ...
446
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpCookiePairHeaderValue: ...
420
447
  @typing.overload
421
448
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpCookiePairHeaderValue]: ...
422
449
  @typing.overload
423
- def __delitem__(self, index: int) -> None: ...
450
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
424
451
  @typing.overload
425
452
  def __delitem__(self, index: slice) -> None: ...
426
453
  @typing.overload
427
- def __setitem__(self, index: int, value: HttpCookiePairHeaderValue) -> None: ...
454
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpCookiePairHeaderValue) -> None: ...
428
455
  @typing.overload
429
456
  def __setitem__(self, index: slice, value: typing.Iterable[HttpCookiePairHeaderValue]) -> None: ...
430
457
  @staticmethod
@@ -447,10 +474,12 @@ class HttpCookiePairHeaderValueCollection(winrt.system.Object, winrt._winrt.Muta
447
474
  @_property
448
475
  def size(self) -> winrt.system.UInt32: ...
449
476
 
477
+ @typing.final
450
478
  class HttpCredentialsHeaderValue_Static(type):
451
479
  def parse(cls, input: str, /) -> typing.Optional[HttpCredentialsHeaderValue]: ...
452
480
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpCredentialsHeaderValue]]: ...
453
481
 
482
+ @typing.final
454
483
  class HttpCredentialsHeaderValue(winrt.system.Object, metaclass=HttpCredentialsHeaderValue_Static):
455
484
  def __str__(self) -> str: ...
456
485
  @staticmethod
@@ -467,10 +496,12 @@ class HttpCredentialsHeaderValue(winrt.system.Object, metaclass=HttpCredentialsH
467
496
  @_property
468
497
  def token(self) -> str: ...
469
498
 
499
+ @typing.final
470
500
  class HttpDateOrDeltaHeaderValue_Static(type):
471
501
  def parse(cls, input: str, /) -> typing.Optional[HttpDateOrDeltaHeaderValue]: ...
472
502
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpDateOrDeltaHeaderValue]]: ...
473
503
 
504
+ @typing.final
474
505
  class HttpDateOrDeltaHeaderValue(winrt.system.Object, metaclass=HttpDateOrDeltaHeaderValue_Static):
475
506
  def __str__(self) -> str: ...
476
507
  @staticmethod
@@ -481,10 +512,12 @@ class HttpDateOrDeltaHeaderValue(winrt.system.Object, metaclass=HttpDateOrDeltaH
481
512
  @_property
482
513
  def delta(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
483
514
 
515
+ @typing.final
484
516
  class HttpExpectationHeaderValue_Static(type):
485
517
  def parse(cls, input: str, /) -> typing.Optional[HttpExpectationHeaderValue]: ...
486
518
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpExpectationHeaderValue]]: ...
487
519
 
520
+ @typing.final
488
521
  class HttpExpectationHeaderValue(winrt.system.Object, metaclass=HttpExpectationHeaderValue_Static):
489
522
  def __str__(self) -> str: ...
490
523
  @staticmethod
@@ -503,19 +536,21 @@ class HttpExpectationHeaderValue(winrt.system.Object, metaclass=HttpExpectationH
503
536
  @_property
504
537
  def parameters(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[HttpNameValueHeaderValue]]: ...
505
538
 
539
+ @typing.final
506
540
  class HttpExpectationHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpExpectationHeaderValue]):
507
541
  def __str__(self) -> str: ...
508
542
  def __len__(self) -> int: ...
543
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpExpectationHeaderValue]: ...
509
544
  @typing.overload
510
- def __getitem__(self, index: int) -> HttpExpectationHeaderValue: ...
545
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpExpectationHeaderValue: ...
511
546
  @typing.overload
512
547
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpExpectationHeaderValue]: ...
513
548
  @typing.overload
514
- def __delitem__(self, index: int) -> None: ...
549
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
515
550
  @typing.overload
516
551
  def __delitem__(self, index: slice) -> None: ...
517
552
  @typing.overload
518
- def __setitem__(self, index: int, value: HttpExpectationHeaderValue) -> None: ...
553
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpExpectationHeaderValue) -> None: ...
519
554
  @typing.overload
520
555
  def __setitem__(self, index: slice, value: typing.Iterable[HttpExpectationHeaderValue]) -> None: ...
521
556
  @staticmethod
@@ -538,19 +573,21 @@ class HttpExpectationHeaderValueCollection(winrt.system.Object, winrt._winrt.Mut
538
573
  @_property
539
574
  def size(self) -> winrt.system.UInt32: ...
540
575
 
576
+ @typing.final
541
577
  class HttpLanguageHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[winrt.windows.globalization.Language]):
542
578
  def __str__(self) -> str: ...
543
579
  def __len__(self) -> int: ...
580
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[winrt.windows.globalization.Language]: ...
544
581
  @typing.overload
545
- def __getitem__(self, index: int) -> winrt.windows.globalization.Language: ...
582
+ def __getitem__(self, index: typing.SupportsIndex) -> winrt.windows.globalization.Language: ...
546
583
  @typing.overload
547
584
  def __getitem__(self, index: slice) -> winrt.system.Array[winrt.windows.globalization.Language]: ...
548
585
  @typing.overload
549
- def __delitem__(self, index: int) -> None: ...
586
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
550
587
  @typing.overload
551
588
  def __delitem__(self, index: slice) -> None: ...
552
589
  @typing.overload
553
- def __setitem__(self, index: int, value: winrt.windows.globalization.Language) -> None: ...
590
+ def __setitem__(self, index: typing.SupportsIndex, value: winrt.windows.globalization.Language) -> None: ...
554
591
  @typing.overload
555
592
  def __setitem__(self, index: slice, value: typing.Iterable[winrt.windows.globalization.Language]) -> None: ...
556
593
  @staticmethod
@@ -573,10 +610,12 @@ class HttpLanguageHeaderValueCollection(winrt.system.Object, winrt._winrt.Mutabl
573
610
  @_property
574
611
  def size(self) -> winrt.system.UInt32: ...
575
612
 
613
+ @typing.final
576
614
  class HttpLanguageRangeWithQualityHeaderValue_Static(type):
577
615
  def parse(cls, input: str, /) -> typing.Optional[HttpLanguageRangeWithQualityHeaderValue]: ...
578
616
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpLanguageRangeWithQualityHeaderValue]]: ...
579
617
 
618
+ @typing.final
580
619
  class HttpLanguageRangeWithQualityHeaderValue(winrt.system.Object, metaclass=HttpLanguageRangeWithQualityHeaderValue_Static):
581
620
  def __str__(self) -> str: ...
582
621
  @staticmethod
@@ -591,19 +630,21 @@ class HttpLanguageRangeWithQualityHeaderValue(winrt.system.Object, metaclass=Htt
591
630
  @_property
592
631
  def quality(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
593
632
 
633
+ @typing.final
594
634
  class HttpLanguageRangeWithQualityHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpLanguageRangeWithQualityHeaderValue]):
595
635
  def __str__(self) -> str: ...
596
636
  def __len__(self) -> int: ...
637
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpLanguageRangeWithQualityHeaderValue]: ...
597
638
  @typing.overload
598
- def __getitem__(self, index: int) -> HttpLanguageRangeWithQualityHeaderValue: ...
639
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpLanguageRangeWithQualityHeaderValue: ...
599
640
  @typing.overload
600
641
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpLanguageRangeWithQualityHeaderValue]: ...
601
642
  @typing.overload
602
- def __delitem__(self, index: int) -> None: ...
643
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
603
644
  @typing.overload
604
645
  def __delitem__(self, index: slice) -> None: ...
605
646
  @typing.overload
606
- def __setitem__(self, index: int, value: HttpLanguageRangeWithQualityHeaderValue) -> None: ...
647
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpLanguageRangeWithQualityHeaderValue) -> None: ...
607
648
  @typing.overload
608
649
  def __setitem__(self, index: slice, value: typing.Iterable[HttpLanguageRangeWithQualityHeaderValue]) -> None: ...
609
650
  @staticmethod
@@ -626,10 +667,12 @@ class HttpLanguageRangeWithQualityHeaderValueCollection(winrt.system.Object, win
626
667
  @_property
627
668
  def size(self) -> winrt.system.UInt32: ...
628
669
 
670
+ @typing.final
629
671
  class HttpMediaTypeHeaderValue_Static(type):
630
672
  def parse(cls, input: str, /) -> typing.Optional[HttpMediaTypeHeaderValue]: ...
631
673
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpMediaTypeHeaderValue]]: ...
632
674
 
675
+ @typing.final
633
676
  class HttpMediaTypeHeaderValue(winrt.system.Object, metaclass=HttpMediaTypeHeaderValue_Static):
634
677
  def __str__(self) -> str: ...
635
678
  @staticmethod
@@ -647,10 +690,12 @@ class HttpMediaTypeHeaderValue(winrt.system.Object, metaclass=HttpMediaTypeHeade
647
690
  @_property
648
691
  def parameters(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[HttpNameValueHeaderValue]]: ...
649
692
 
693
+ @typing.final
650
694
  class HttpMediaTypeWithQualityHeaderValue_Static(type):
651
695
  def parse(cls, input: str, /) -> typing.Optional[HttpMediaTypeWithQualityHeaderValue]: ...
652
696
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpMediaTypeWithQualityHeaderValue]]: ...
653
697
 
698
+ @typing.final
654
699
  class HttpMediaTypeWithQualityHeaderValue(winrt.system.Object, metaclass=HttpMediaTypeWithQualityHeaderValue_Static):
655
700
  def __str__(self) -> str: ...
656
701
  @staticmethod
@@ -675,19 +720,21 @@ class HttpMediaTypeWithQualityHeaderValue(winrt.system.Object, metaclass=HttpMed
675
720
  @_property
676
721
  def parameters(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[HttpNameValueHeaderValue]]: ...
677
722
 
723
+ @typing.final
678
724
  class HttpMediaTypeWithQualityHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpMediaTypeWithQualityHeaderValue]):
679
725
  def __str__(self) -> str: ...
680
726
  def __len__(self) -> int: ...
727
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpMediaTypeWithQualityHeaderValue]: ...
681
728
  @typing.overload
682
- def __getitem__(self, index: int) -> HttpMediaTypeWithQualityHeaderValue: ...
729
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpMediaTypeWithQualityHeaderValue: ...
683
730
  @typing.overload
684
731
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpMediaTypeWithQualityHeaderValue]: ...
685
732
  @typing.overload
686
- def __delitem__(self, index: int) -> None: ...
733
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
687
734
  @typing.overload
688
735
  def __delitem__(self, index: slice) -> None: ...
689
736
  @typing.overload
690
- def __setitem__(self, index: int, value: HttpMediaTypeWithQualityHeaderValue) -> None: ...
737
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpMediaTypeWithQualityHeaderValue) -> None: ...
691
738
  @typing.overload
692
739
  def __setitem__(self, index: slice, value: typing.Iterable[HttpMediaTypeWithQualityHeaderValue]) -> None: ...
693
740
  @staticmethod
@@ -710,19 +757,21 @@ class HttpMediaTypeWithQualityHeaderValueCollection(winrt.system.Object, winrt._
710
757
  @_property
711
758
  def size(self) -> winrt.system.UInt32: ...
712
759
 
760
+ @typing.final
713
761
  class HttpMethodHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[winrt.windows.web.http.HttpMethod]):
714
762
  def __str__(self) -> str: ...
715
763
  def __len__(self) -> int: ...
764
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[winrt.windows.web.http.HttpMethod]: ...
716
765
  @typing.overload
717
- def __getitem__(self, index: int) -> winrt.windows.web.http.HttpMethod: ...
766
+ def __getitem__(self, index: typing.SupportsIndex) -> winrt.windows.web.http.HttpMethod: ...
718
767
  @typing.overload
719
768
  def __getitem__(self, index: slice) -> winrt.system.Array[winrt.windows.web.http.HttpMethod]: ...
720
769
  @typing.overload
721
- def __delitem__(self, index: int) -> None: ...
770
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
722
771
  @typing.overload
723
772
  def __delitem__(self, index: slice) -> None: ...
724
773
  @typing.overload
725
- def __setitem__(self, index: int, value: winrt.windows.web.http.HttpMethod) -> None: ...
774
+ def __setitem__(self, index: typing.SupportsIndex, value: winrt.windows.web.http.HttpMethod) -> None: ...
726
775
  @typing.overload
727
776
  def __setitem__(self, index: slice, value: typing.Iterable[winrt.windows.web.http.HttpMethod]) -> None: ...
728
777
  @staticmethod
@@ -745,10 +794,12 @@ class HttpMethodHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableS
745
794
  @_property
746
795
  def size(self) -> winrt.system.UInt32: ...
747
796
 
797
+ @typing.final
748
798
  class HttpNameValueHeaderValue_Static(type):
749
799
  def parse(cls, input: str, /) -> typing.Optional[HttpNameValueHeaderValue]: ...
750
800
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpNameValueHeaderValue]]: ...
751
801
 
802
+ @typing.final
752
803
  class HttpNameValueHeaderValue(winrt.system.Object, metaclass=HttpNameValueHeaderValue_Static):
753
804
  def __str__(self) -> str: ...
754
805
  @staticmethod
@@ -765,10 +816,12 @@ class HttpNameValueHeaderValue(winrt.system.Object, metaclass=HttpNameValueHeade
765
816
  @_property
766
817
  def name(self) -> str: ...
767
818
 
819
+ @typing.final
768
820
  class HttpProductHeaderValue_Static(type):
769
821
  def parse(cls, input: str, /) -> typing.Optional[HttpProductHeaderValue]: ...
770
822
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpProductHeaderValue]]: ...
771
823
 
824
+ @typing.final
772
825
  class HttpProductHeaderValue(winrt.system.Object, metaclass=HttpProductHeaderValue_Static):
773
826
  def __str__(self) -> str: ...
774
827
  @staticmethod
@@ -783,10 +836,12 @@ class HttpProductHeaderValue(winrt.system.Object, metaclass=HttpProductHeaderVal
783
836
  @_property
784
837
  def version(self) -> str: ...
785
838
 
839
+ @typing.final
786
840
  class HttpProductInfoHeaderValue_Static(type):
787
841
  def parse(cls, input: str, /) -> typing.Optional[HttpProductInfoHeaderValue]: ...
788
842
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpProductInfoHeaderValue]]: ...
789
843
 
844
+ @typing.final
790
845
  class HttpProductInfoHeaderValue(winrt.system.Object, metaclass=HttpProductInfoHeaderValue_Static):
791
846
  def __str__(self) -> str: ...
792
847
  @staticmethod
@@ -801,19 +856,21 @@ class HttpProductInfoHeaderValue(winrt.system.Object, metaclass=HttpProductInfoH
801
856
  @_property
802
857
  def product(self) -> typing.Optional[HttpProductHeaderValue]: ...
803
858
 
859
+ @typing.final
804
860
  class HttpProductInfoHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpProductInfoHeaderValue]):
805
861
  def __str__(self) -> str: ...
806
862
  def __len__(self) -> int: ...
863
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpProductInfoHeaderValue]: ...
807
864
  @typing.overload
808
- def __getitem__(self, index: int) -> HttpProductInfoHeaderValue: ...
865
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpProductInfoHeaderValue: ...
809
866
  @typing.overload
810
867
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpProductInfoHeaderValue]: ...
811
868
  @typing.overload
812
- def __delitem__(self, index: int) -> None: ...
869
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
813
870
  @typing.overload
814
871
  def __delitem__(self, index: slice) -> None: ...
815
872
  @typing.overload
816
- def __setitem__(self, index: int, value: HttpProductInfoHeaderValue) -> None: ...
873
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpProductInfoHeaderValue) -> None: ...
817
874
  @typing.overload
818
875
  def __setitem__(self, index: slice, value: typing.Iterable[HttpProductInfoHeaderValue]) -> None: ...
819
876
  @staticmethod
@@ -836,6 +893,7 @@ class HttpProductInfoHeaderValueCollection(winrt.system.Object, winrt._winrt.Mut
836
893
  @_property
837
894
  def size(self) -> winrt.system.UInt32: ...
838
895
 
896
+ @typing.final
839
897
  class HttpRequestHeaderCollection(winrt.system.Object, winrt._winrt.MutableMapping[str, str]):
840
898
  def __str__(self) -> str: ...
841
899
  def __len__(self) -> int: ...
@@ -913,6 +971,7 @@ class HttpRequestHeaderCollection(winrt.system.Object, winrt._winrt.MutableMappi
913
971
  @_property
914
972
  def user_agent(self) -> typing.Optional[HttpProductInfoHeaderValueCollection]: ...
915
973
 
974
+ @typing.final
916
975
  class HttpResponseHeaderCollection(winrt.system.Object, winrt._winrt.MutableMapping[str, str]):
917
976
  def __str__(self) -> str: ...
918
977
  def __len__(self) -> int: ...
@@ -964,10 +1023,12 @@ class HttpResponseHeaderCollection(winrt.system.Object, winrt._winrt.MutableMapp
964
1023
  @_property
965
1024
  def www_authenticate(self) -> typing.Optional[HttpChallengeHeaderValueCollection]: ...
966
1025
 
1026
+ @typing.final
967
1027
  class HttpTransferCodingHeaderValue_Static(type):
968
1028
  def parse(cls, input: str, /) -> typing.Optional[HttpTransferCodingHeaderValue]: ...
969
1029
  def try_parse(cls, input: str, /) -> typing.Tuple[bool, typing.Optional[HttpTransferCodingHeaderValue]]: ...
970
1030
 
1031
+ @typing.final
971
1032
  class HttpTransferCodingHeaderValue(winrt.system.Object, metaclass=HttpTransferCodingHeaderValue_Static):
972
1033
  def __str__(self) -> str: ...
973
1034
  @staticmethod
@@ -979,19 +1040,21 @@ class HttpTransferCodingHeaderValue(winrt.system.Object, metaclass=HttpTransferC
979
1040
  @_property
980
1041
  def value(self) -> str: ...
981
1042
 
1043
+ @typing.final
982
1044
  class HttpTransferCodingHeaderValueCollection(winrt.system.Object, winrt._winrt.MutableSequence[HttpTransferCodingHeaderValue]):
983
1045
  def __str__(self) -> str: ...
984
1046
  def __len__(self) -> int: ...
1047
+ def __iter__(self) -> winrt.windows.foundation.collections.IIterator[HttpTransferCodingHeaderValue]: ...
985
1048
  @typing.overload
986
- def __getitem__(self, index: int) -> HttpTransferCodingHeaderValue: ...
1049
+ def __getitem__(self, index: typing.SupportsIndex) -> HttpTransferCodingHeaderValue: ...
987
1050
  @typing.overload
988
1051
  def __getitem__(self, index: slice) -> winrt.system.Array[HttpTransferCodingHeaderValue]: ...
989
1052
  @typing.overload
990
- def __delitem__(self, index: int) -> None: ...
1053
+ def __delitem__(self, index: typing.SupportsIndex) -> None: ...
991
1054
  @typing.overload
992
1055
  def __delitem__(self, index: slice) -> None: ...
993
1056
  @typing.overload
994
- def __setitem__(self, index: int, value: HttpTransferCodingHeaderValue) -> None: ...
1057
+ def __setitem__(self, index: typing.SupportsIndex, value: HttpTransferCodingHeaderValue) -> None: ...
995
1058
  @typing.overload
996
1059
  def __setitem__(self, index: slice, value: typing.Iterable[HttpTransferCodingHeaderValue]) -> None: ...
997
1060
  @staticmethod
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_web_http_headers
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Web.Http.Headers
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,14 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Globalization[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Networking[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Web.Http[all]==2.0.1; extra == "all"
15
23
 
16
24
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
25
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_web_http_headers.pyi
9
9
  winrt/windows/web/http/headers/__init__.py
10
+ winrt/windows/web/http/headers/py.typed
10
11
  winrt_Windows.Web.Http.Headers.egg-info/PKG-INFO
11
12
  winrt_Windows.Web.Http.Headers.egg-info/SOURCES.txt
12
13
  winrt_Windows.Web.Http.Headers.egg-info/dependency_links.txt
@@ -0,0 +1,9 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Globalization[all]==2.0.1
7
+ winrt-Windows.Networking[all]==2.0.1
8
+ winrt-Windows.Storage.Streams[all]==2.0.1
9
+ winrt-Windows.Web.Http[all]==2.0.1
@@ -1,8 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
5
- winrt-Windows.Globalization[all]==2.0.0-beta.1
6
- winrt-Windows.Networking[all]==2.0.0-beta.1
7
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
8
- winrt-Windows.Web.Http[all]==2.0.0-beta.1
@@ -1 +0,0 @@
1
- 2.0.0-beta.1
@@ -1,17 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- from setuptools import Extension, setup
4
- from winrt_sdk import get_include_dirs
5
-
6
- setup(
7
- ext_modules=[
8
- Extension(
9
- "winrt._winrt_windows_web_http_headers",
10
- sources=["py.Windows.Web.Http.Headers.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- package_data={"winrt": ["*.pyi"]},
17
- )
@@ -1,9 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Globalization[all]==2.0.0-beta.1
7
- winrt-Windows.Networking[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
9
- winrt-Windows.Web.Http[all]==2.0.0-beta.1