vgi-python 0.46.0__py3-none-any.whl → 0.46.1__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.
- vgi/http/demo_storage.py +2 -2
- {vgi_python-0.46.0.dist-info → vgi_python-0.46.1.dist-info}/METADATA +1 -1
- {vgi_python-0.46.0.dist-info → vgi_python-0.46.1.dist-info}/RECORD +6 -6
- {vgi_python-0.46.0.dist-info → vgi_python-0.46.1.dist-info}/WHEEL +0 -0
- {vgi_python-0.46.0.dist-info → vgi_python-0.46.1.dist-info}/entry_points.txt +0 -0
- {vgi_python-0.46.0.dist-info → vgi_python-0.46.1.dist-info}/licenses/LICENSE +0 -0
vgi/http/demo_storage.py
CHANGED
|
@@ -118,8 +118,9 @@ class BlobResource:
|
|
|
118
118
|
resp.content_type = "application/octet-stream"
|
|
119
119
|
resp.set_header("Accept-Ranges", "none")
|
|
120
120
|
if content_encoding:
|
|
121
|
+
# HTTP clients decode this standard header automatically. Sending
|
|
122
|
+
# the custom VGI header too makes clients try to decode it again.
|
|
121
123
|
resp.set_header("Content-Encoding", content_encoding)
|
|
122
|
-
resp.set_header("X-VGI-Content-Encoding", content_encoding)
|
|
123
124
|
|
|
124
125
|
def on_head(self, req: Any, resp: Any, blob_id: str) -> None: # noqa: D102
|
|
125
126
|
# Mirror on_get headers (Content-Length/-Type/-Encoding) without a body.
|
|
@@ -137,7 +138,6 @@ class BlobResource:
|
|
|
137
138
|
resp.set_header("Accept-Ranges", "none")
|
|
138
139
|
if content_encoding:
|
|
139
140
|
resp.set_header("Content-Encoding", content_encoding)
|
|
140
|
-
resp.set_header("X-VGI-Content-Encoding", content_encoding)
|
|
141
141
|
|
|
142
142
|
def on_put(self, req: Any, resp: Any, blob_id: str) -> None: # noqa: D102
|
|
143
143
|
# vgi_rpc's _CompressionMiddleware drains ``req.bounded_stream`` when
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vgi-python
|
|
3
|
-
Version: 0.46.
|
|
3
|
+
Version: 0.46.1
|
|
4
4
|
Summary: Vector Gateway Interface - Connect DuckDB to external programs via Apache Arrow
|
|
5
5
|
Project-URL: Homepage, https://query.farm
|
|
6
6
|
Project-URL: Repository, https://github.com/Query-farm/vgi-python
|
|
@@ -154,7 +154,7 @@ vgi/client/cli_view.py,sha256=0qhxoS91-zFMjq8V_Fb0PNW-YDxERu8-zPpxSFEE-G8,8490
|
|
|
154
154
|
vgi/client/client.py,sha256=oSCBbOIZYD2KuNzMqSJ_W3eyVV9D9j7hMnSqAEaSCBc,173920
|
|
155
155
|
vgi/client/errors.py,sha256=cSN65cyQMk3crwZCz1IdPErK3mtlEkTNpu-nuQUDOQE,1633
|
|
156
156
|
vgi/http/__init__.py,sha256=hlOwOVcoZqmEKVGk7ganOdr5ryRSpEhLBF9sRD7BkYc,608
|
|
157
|
-
vgi/http/demo_storage.py,sha256=
|
|
157
|
+
vgi/http/demo_storage.py,sha256=DfxnJD7BTpppbVewbJeIkvH_WU3v1xa_Qk-tuhneff8,8781
|
|
158
158
|
vgi/http/landing.html,sha256=MhS35JmkpMQlPXXtgh230ZaCZPDDG9YJWk4NSElSg9g,356583
|
|
159
159
|
vgi/http/landing_page.py,sha256=8dPnRWwao-Zn7SirkJ9KZoGVYFOj9G0kGCTEO0Yo2X4,4149
|
|
160
160
|
vgi/http/vgi-client.js,sha256=dxJEzkpFp-XOAj1_z6inAhZyt2hYsjA9dI2US7k6r8I,560268
|
|
@@ -164,8 +164,8 @@ vgi/transactor/_duckdb_compat.py,sha256=sXVZ9JLKAQyGR1BjWczSwdQEavtr-TcZPoVZZnTr
|
|
|
164
164
|
vgi/transactor/client.py,sha256=7DTeMksogsw6ANjQjGOPpKYrV76rg4_kGjktMJf54jg,4486
|
|
165
165
|
vgi/transactor/protocol.py,sha256=v59IvrKnuvwOXvn_HEcBAbCzDVcx0akgKN0R1mChXg0,5034
|
|
166
166
|
vgi/transactor/server.py,sha256=fJi72oaS8PiOI3rFW0MdetGBFEzFBkLdlDAMmbB50Uw,32663
|
|
167
|
-
vgi_python-0.46.
|
|
168
|
-
vgi_python-0.46.
|
|
169
|
-
vgi_python-0.46.
|
|
170
|
-
vgi_python-0.46.
|
|
171
|
-
vgi_python-0.46.
|
|
167
|
+
vgi_python-0.46.1.dist-info/METADATA,sha256=8rm0SdPaVqTwKde4ZMDnHVFmbY3jQZRGo0awcp_r-xs,26032
|
|
168
|
+
vgi_python-0.46.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
169
|
+
vgi_python-0.46.1.dist-info/entry_points.txt,sha256=3Kz1vgodw3pOL_xjtSyDB55-ZRy-U2X-X_Bdr582x0Q,165
|
|
170
|
+
vgi_python-0.46.1.dist-info/licenses/LICENSE,sha256=pbJb4zZasP6n5ifEV81wFu017TarjydaYVmGbHcehtY,6103
|
|
171
|
+
vgi_python-0.46.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|