Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 620331442
  • Loading branch information
colaboratory-team committed Mar 29, 2024
1 parent 4a08f5b commit 7792776
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions google/colab/_import_hooks/_generativeai.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,24 @@ class _Redirector(tornado.web.RequestHandler):
async def get(self):
await self._handle_request()

async def head(self):
await self._handle_request()

async def post(self):
await self._handle_request()

async def delete(self):
await self._handle_request()

async def patch(self):
await self._handle_request()

async def put(self):
await self._handle_request()

async def options(self):
await self._handle_request()

async def _handle_request(self):
try:
result = fetch(self.request)
Expand Down

0 comments on commit 7792776

Please sign in to comment.