Bug 248486 - ports-mgmt/distilator: Valid URL is shown to return the 405 code
Summary: ports-mgmt/distilator: Valid URL is shown to return the 405 code
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 17:13 UTC by Yuri Victorovich
Modified: 2021-01-15 08:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2020-08-05 17:13:45 UTC
> $ cd /usr/ports/devel/mutagen && (distilator | grep WWW)
> 405 [WWW]	https://mutagen.io/


However, https://mutagen.io/ is displayed fine in a browser.
Comment 1 Emanuel Haupt freebsd_committer freebsd_triage 2020-08-11 11:46:45 UTC
Confirmed. Checking with "curl -I" I get the same result:

# curl -I https://mutagen.io/
HTTP/2 405 
date: Tue, 11 Aug 2020 11:43:53 GMT
content-type: text/plain; charset=utf-8
set-cookie: __cfduid=d745648896583c99a761383e4763ca1fa1597146233; expires=Thu, 10-Sep-20 11:43:53 GMT; path=/; domain=.mutagen.io; HttpOnly; SameSite=Lax; Secure
allow: GET, OPTIONS
set-cookie: csrf=MTU5NzE0NjIzM3xJa2htVERkTmFUTTFWM0V6VmpFeVluZ3JaVEZCZERoWFlsVjZkM2xhYWpKNVUyeDBTR3A0WjJWVUwyYzlJZ289fCBpt8DxMeVMaFZ46fv00Q2qT2ZormHrPIjQScbp5EWj; Path=/; Domain=mutagen.io; HttpOnly; Secure; SameSite=Lax
vary: Accept-Encoding
vary: Cookie
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
cf-request-id: 047eee933200000f8694955200000001
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 5c11b3985ae60f86-MXP

As distilator uses HEAD requests to determine the status of an URL I am currently not sure how to fix this.