Bug 248486

Summary: ports-mgmt/distilator: Valid URL is shown to return the 405 code
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Emanuel Haupt <ehaupt>
Status: Closed Works As Intended    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (ehaupt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer 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 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
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.