9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [patch] rc-httpd: opt-out of of Google's FLoC Network by default
@ 2021-04-16 13:19 Julien Blanchard
  2021-04-16 15:34 ` Silas McCroskey
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Blanchard @ 2021-04-16 13:19 UTC (permalink / raw)
  To: 9front

Hello,

Since this FLoC thing from Google 
(https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea) is 
opt-out only maybe it's nice if rc-httpd does it by default.

diff -r eafb71d27315 rc/bin/rc-httpd/rc-httpd
--- a/rc/bin/rc-httpd/rc-httpd    Wed Apr 14 20:30:24 2021 -0700
+++ b/rc/bin/rc-httpd/rc-httpd    Fri Apr 16 13:13:06 2021 +0000
@@ -3,7 +3,7 @@
  path=(/bin $rc_httpd_dir/handlers)
  cgi_path=/bin
  SERVER_PORT=80 # default for CGI scripts, may be overridden by the 
Host header
-extra_headers='Server: rc-httpd'
+extra_headers=('Server: rc-httpd', 'Permissions-Policy: 
interest-cohort=()')
  cr=

  fn do_log{


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] [patch] rc-httpd: opt-out of of Google's FLoC Network by default
  2021-04-16 13:19 [9front] [patch] rc-httpd: opt-out of of Google's FLoC Network by default Julien Blanchard
@ 2021-04-16 15:34 ` Silas McCroskey
  2021-04-16 15:52   ` Silas McCroskey
  0 siblings, 1 reply; 3+ messages in thread
From: Silas McCroskey @ 2021-04-16 15:34 UTC (permalink / raw)
  To: 9front

I think even if we're iffy on pushing this directly this could at
least be added as a comment or documented somewhere obvious, as I'd
imagine most people running rc-httpd don't want to partake in google's
BS. Being even forced to acknowledge it like this is a little
frustrating.

I'm running this locally (made the same change independently) and can
confirm the header is at least sent (not sure how I'd check if it's
functioning as advertised).

- sam-d

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] [patch] rc-httpd: opt-out of of Google's FLoC Network by default
  2021-04-16 15:34 ` Silas McCroskey
@ 2021-04-16 15:52   ` Silas McCroskey
  0 siblings, 0 replies; 3+ messages in thread
From: Silas McCroskey @ 2021-04-16 15:52 UTC (permalink / raw)
  To: 9front

Although... (from the EFF link posted):

> If you are a website owner, your site will automatically be
> included in FLoC calculations if it accesses the FLoC API
> or if Chrome detects that it serves ads. You can opt out of
> this calculation by sending the following HTTP response header:

I doubt either condition applies to any rc-httpd deployments out there.

- sam-d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-16 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 13:19 [9front] [patch] rc-httpd: opt-out of of Google's FLoC Network by default Julien Blanchard
2021-04-16 15:34 ` Silas McCroskey
2021-04-16 15:52   ` Silas McCroskey

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git