Skip to content

Commit

Permalink
#93 lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joegasewicz committed Mar 7, 2024
1 parent bb31109 commit 6e7f9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bobtail/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get(self, req: Request, res: Response) -> None:
if file_suffix in ("jpg", "jpeg", "png", "gif", "tiff", "svg+xml", "x-icon"):
self.set_headers({"Content-Type": f"image/{file_suffix}"})
elif file_suffix == "css":
self.set_headers({"Content-Type": f"text/css"})
self.set_headers({"Content-Type": "text/css"})
elif file_suffix in ("mpeg", "mp4", "quicktime", "webm", "x-ms-wmv", "x-msvideo", "x-flv"):
self.set_headers({"Content-Type": f"video/{file_suffix}"})
elif file_suffix in ("mpeg", "x-ms-wma", "vnd.rn-realaudio", "x-wav"):
Expand Down

0 comments on commit 6e7f9fc

Please sign in to comment.