@vercel/python 4.7.4 → 4.8.0
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.
- package/package.json +1 -1
- package/vc_init.py +5 -0
package/package.json
CHANGED
package/vc_init.py
CHANGED
|
@@ -171,6 +171,11 @@ if 'VERCEL_IPC_PATH' in os.environ:
|
|
|
171
171
|
if not self.parse_request():
|
|
172
172
|
return
|
|
173
173
|
|
|
174
|
+
if self.path == '/_vercel/ping':
|
|
175
|
+
self.send_response(200)
|
|
176
|
+
self.end_headers()
|
|
177
|
+
return
|
|
178
|
+
|
|
174
179
|
invocationId = self.headers.get('x-vercel-internal-invocation-id')
|
|
175
180
|
requestId = int(self.headers.get('x-vercel-internal-request-id'))
|
|
176
181
|
del self.headers['x-vercel-internal-invocation-id']
|