Skip to content

Commit

Permalink
fix(robots): add missing HEAD method
Browse files Browse the repository at this point in the history
  • Loading branch information
esoadamo committed Sep 1, 2021
1 parent 308e582 commit 6ca47a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions endpoint/robots.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@


class Robots(object):
def on_head(self, req, resp):
self.on_get(req=req, resp=resp)
resp.body = ''

def on_get(self, req, resp):
resp.content_type = 'text/plain'
Expand Down

0 comments on commit 6ca47a8

Please sign in to comment.