Used to do this have this behavior but need to reimplement using some kind of local URL reversing?
|
# try: |
|
# response = fetch.head(url) |
|
# if response.status_code != 405: |
|
# # just skip for now if HEAD not allowed |
|
# response.raise_for_status() |
|
# except Exception as e: |
|
# issues.append( |
|
# Issue( |
|
# type="open-graph-image-broken", context={"exception": str(e)}, |
|
# ) |
|
# ) |
Used to do this have this behavior but need to reimplement using some kind of local URL reversing?
combine/combine/checks/open_graph.py
Lines 96 to 106 in 47e7c75