13-15 March 2020

City, University London

Reporting API and HTTP Structured Header

Prerequisites

Knowledge of HTTP requests and responses will be more helpful. 

Session details

The Reporting API is a mechanism for web servers to tell browsers where to send errors and other information about a browsing session.

When a web application encounters some error or potential problem it is important that the application author has some mechanism to be made aware of that error. Common errors such as unhandled JavaScript exceptions can be observed in the script. But other errors may occur when it's not possible to rely on a running script (such as a browser crash, or a Content Security Policy violation that prevents the page from being loaded). The Reporting API provides a generic mechanism for a browser to report errors back to an HTTP Server in an out-of-band fashion.

Using the Reporting API it is possible to get Drupal to record errors on your website's client-side. 
 

Key takeaways

  • An understanding about HTTP Response header
  • An understanding about how to get a report of your website's client-side errors?
  • Altering HTTP Request and Response header in Drupal.
Session Track

Sponsors

Diamond

ddev

Gold

Acquia - Experience digital freedom
Agiledrop - Trusted Drupal teammates
Droptica
Dropsolid

Weekend Keynote Speakers

Kevin Bridges

DDEV, CTO

Michel van Velde

One Shoe, CEO

Nick Veenhof

Dropsolid, CTO

CxO Keynote Speakers

Kevin Bridges

DDEV, CTO

Michel van Velde

One Shoe, CEO

Greg Harvey

Code Enigma, Director

Rachel Lawson

Drupal Association, Community Liaison

Carrie Lacina

Drupal Association, Fund Development Director

Jeffrey A. “jam” McGuire

Open Strategy Partners, Partner

Tracy Evans

Open Strategy Partners, Partner

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh