You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 24, 2020. It is now read-only.
Would it be possible to extend the image discovery to use HTTP headers (HTTP_X_AC_DISCOVERY?) in the case that the content-type is not text/html? Is there a way to work around this, or would a PR for this type of extension be appreciated? :)
Activity
philips commentedon Dec 5, 2014
Adding a section to the spec saying that a header might be returned too is fine with me.
Aside: the
X-prefix on HTTP headers has been deprecated: https://tools.ietf.org/html/rfc6648philips commentedon Dec 5, 2014
@bacongobbler Would you be willing to spec this out and add it to the app-container/discovery package?
bacongobbler commentedon Dec 5, 2014
certainly!
jonboulle commentedon Dec 5, 2014
@bacongobbler please make sure to discuss the precedence/behaviour when both tags and headers are available, too :-)
bacongobbler commentedon Dec 5, 2014
of course. I'll whip up a PR to propose the change to the spec, which then you guys can all criticize before I start working on a solution.
blalor commentedon Dec 5, 2014
I feel like there should be a DNS component to this, as well. Perhaps a
TXTrecord?geekgonecrazy commentedon Dec 8, 2014
I second @blalor suggestion. While a meta tag is easy enough to add. It'd be easier to use an api to change a TXT record.
[-]support more than just ac-discovery HTML meta tags[/-][+]appc: support HTTP headers for discovery[/+]philips commentedon Dec 9, 2014
This issue was moved to appc/spec#7