@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vc_init.py +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "4.7.4",
3
+ "version": "4.8.0",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
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']