pcp
[Top] [All Lists]

Re: PCP web client on different domain

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: PCP web client on different domain
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Mon, 09 Jun 2014 12:41:18 -0400
Cc: aather@xxxxxxxxxxx, mspier@xxxxxxxxxxx, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1295610433.21793898.1402006255252.JavaMail.zimbra@xxxxxxxxxx> (Nathan Scott's message of "Thu, 5 Jun 2014 18:10:55 -0400 (EDT)")
References: <CAM1aq-F=7BgLJFTNSo4nmzf7Lcjv-7mLDaStfxRaZrD-7WuF8Q@xxxxxxxxxxxxxx> <1717887824.20744079.1401960303984.JavaMail.zimbra@xxxxxxxxxx> <20140605115447.GC11474@xxxxxxxxxx> <1295610433.21793898.1402006255252.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
nathans wrote:

> [...]
>> aather, mspier, et al., I'd like to hear your opinions
>
> (yes, please do chime in guys - certainly I could be convinced hard-coding
> is OK for pmwebd, I'm not tied to this approach if noone else wants it)
>
>> about whether the extra configurability is needed or helpful, or whether
>> simply hard-coding "A-C-A-O: *" is sufficient for forseeable purposes.

mspier advised on IRC that in his opinion, it was sufficient.


> Other than dealing with the potential problems (like * not being the
> only valid value for Access-Control-Allow-Origin, or people not
> wanting that header at all, or the dazzling array of other standard
> http headers folks might want to set)

That's what the forseeability question is about.  So far, the
configurability seems unnecessary.


> another potential situation where this flexibility might help would
> be the use of custom headers for a custom webapp.  Maybe identifying
> something about the machine that isn't available as a metric,
> perhaps helping locate it within a data centre - that kind of thing.

I haven't ever heard of such site data being provided as webapp ajax
response headers, or indeed webapps pulling in response headers for
such metadata.  pmwebd already has a basic file server, where fixed
information can be easily provided, with more structure and
capability.


- FChE

<Prev in Thread] Current Thread [Next in Thread>