2bcd7e97a6
Motivated by: https://github.com/status-im/status-desktop/pull/9084 While we don't request preview data from Tenor because the url itself will contain the GIF image, we still need to validate the url in the preview request. This is done using a HEAD request where we expect the response status code to be 200 OK. At the same time we will add the content type to the preview response. |
||
---|---|---|
.. | ||
urls.go | ||
urls_test.go | ||
utils.go |