<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.31 (Ruby 3.1.2) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

<!ENTITY RFC2119 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC8174 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
<!ENTITY RFC8941 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8941.xml">
<!ENTITY RFC9110 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9110.xml">
]>


<rfc ipr="trust200902" docName="draft-besleaga-green-sustainability-header-00" category="info" submissionType="independent">
  <front>
    <title abbrev="Sustainability Header">The Sustainability HTTP Response Header Field</title>

    <author initials="A. N." surname="Besleaga" fullname="Andrei Nicolae BESLEAGA">
      <organization>Independent</organization>
      <address>
        <email>andrei.besleaga@ieee.org</email>
      </address>
    </author>

    <date year="2026" month="February" day="27"/>

    <area>Operations and Management</area>
    <workgroup>GREEN</workgroup>
    <keyword>Internet-Draft</keyword> <keyword>Sustainability</keyword> <keyword>Carbon Accounting</keyword> <keyword>Structured Fields</keyword>

    <abstract>


<?line 72?>

<t>This document defines the <spanx style="verb">Sustainability</spanx> HTTP response header field. This field provides a mechanism for servers to report the environmental impact and carbon footprint metrics associated with the processing and delivery of an HTTP request.</t>

<t>By defining this header as a Structured Field, this specification ensures high parsing reliability and compatibility with HTTP/2 and HTTP/3 header compression mechanisms, thereby mitigating the secondary environmental costs of transmitting the metadata itself.</t>



    </abstract>



  </front>

  <middle>


<?line 78?>

<section anchor="introduction"><name>Introduction</name>

<t>The digital economy consumes a significant and growing percentage of global electricity. Historically, assessing the environmental impact of digital services has relied on annualized, aggregate reporting, guided by standards such as the Greenhouse Gas Protocol <xref target="GHG-PROTOCOL"/> and ISO 14064-1 <xref target="ISO14064-1"/>. However, emerging regulatory frameworks (e.g., the EU Corporate Sustainability Reporting Directive <xref target="EU-CSRD"/> and the Ecodesign for Sustainable Products Regulation <xref target="EU-DPP"/>) and carbon-accounting standards (such as IFRS S2 <xref target="IFRS-S2"/> and the Green Software Foundation's Software Carbon Intensity specification <xref target="GSF-SCI"/>) increasingly require transactional traceability.</t>

<t>To enable real-time environmental accounting, clients and intermediaries need visibility into the carbon footprint of individual HTTP transactions. This document defines the <spanx style="verb">Sustainability</spanx> HTTP response header field <xref target="RFC9110"/> to fulfill this need. It allows servers to transmit structured environmental metadata - such as Scope 2 and Scope 3 emissions - directly in the HTTP response. This work builds upon previous efforts to expose carbon metrics in HTTP, such as the expired Carbon-Emissions-Scope-2 draft <xref target="MARTIN-DRAFT"/>, and complements other energy footprint APIs like CAMARA EFN <xref target="CAMARA-EFN"/> and node-level exporters like Kepler <xref target="KEPLER"/>.</t>

<section anchor="requirements-language"><name>Requirements Language</name>

<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>

</section>
</section>
<section anchor="the-sustainability-header-field"><name>The Sustainability Header Field</name>

<t>The <spanx style="verb">Sustainability</spanx> header field is an HTTP response header that conveys the estimated environmental impact of fulfilling the request.</t>

<t>The <spanx style="verb">Sustainability</spanx> header field is a Structured Field <xref target="RFC8941"/>. Its value MUST be a Dictionary.</t>

<figure><artwork><![CDATA[
Sustainability = sf-dictionary
]]></artwork></figure>

<t>The dictionary keys represent specific environmental metrics or dimensions, and the values represent the measurements. The following keys are defined:</t>

<t><list style="symbols">
  <t><spanx style="verb">scope-2</spanx>: An <spanx style="verb">sf-decimal</spanx> indicating the Scope 2 carbon emissions.</t>
  <t><spanx style="verb">scope-3</spanx>: An <spanx style="verb">sf-decimal</spanx> indicating the Scope 3 carbon emissions.</t>
  <t><spanx style="verb">unit</spanx>: An <spanx style="verb">sf-string</spanx> indicating the unit of measurement (e.g., "gCO2e").</t>
</list></t>

<section anchor="example-usage"><name>Example Usage</name>

<t>A server reporting 0.005 grams of CO2 equivalent for Scope 2 and 0.12 for Scope 3 would send:</t>

<figure><artwork><![CDATA[
Sustainability: scope-2=0.005, scope-3=0.12, unit="gCO2e"
]]></artwork></figure>

</section>
</section>
<section anchor="environmental-considerations-mitigating-the-rebound-effect"><name>Environmental Considerations (Mitigating the Rebound Effect)</name>

<t>Introducing new headers to the HTTP ecosystem inherently increases the bandwidth required for every transaction. If applied indiscriminately to all HTTP traffic, the energy required to transmit, process, and store this extra metadata (the "rebound effect") could exceed the environmental benefits of the transparency it provides.</t>

<t>To mitigate this, implementers MUST adhere to the following guidelines:</t>

<t><list style="numbers" type="1">
  <t><strong>Header Compression:</strong> The <spanx style="verb">Sustainability</spanx> header relies on Structured Fields <xref target="RFC8941"/>, making it highly compressible. Servers SHOULD rely on HPACK (HTTP/2) and QPACK (HTTP/3) to minimize the wire footprint of this header.</t>
  <t><strong>Opt-In Behavior:</strong> Servers SHOULD NOT include the <spanx style="verb">Sustainability</spanx> header in responses by default. Clients that wish to receive this telemetry SHOULD signal their interest using an opt-in mechanism, such as the <spanx style="verb">Prefer</spanx> header (e.g., <spanx style="verb">Prefer: return=sustainability</spanx>).</t>
  <t><strong>Proxy Aggregation:</strong> Where calculating emissions per-thread is computationally prohibitive, edge proxies or API gateways MAY inject this header based on aggregate datacenter metrics rather than forcing the backend application to calculate it dynamically.</t>
</list></t>

</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>This document requests the following registration in the "Hypertext Transfer Protocol (HTTP) Field Name Registry" maintained at https://www.iana.org/assignments/http-fields.</t>

<t><list style="symbols">
  <t>Field Name: <spanx style="verb">Sustainability</spanx></t>
  <t>Status: <spanx style="verb">provisional</spanx></t>
  <t>Structured Type: <spanx style="verb">Dictionary</spanx></t>
  <t>Specification document(s): This document</t>
  <t>Comments:</t>
</list></t>

</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>The <spanx style="verb">Sustainability</spanx> header field exposes internal operational metrics. While carbon metrics are generally not sensitive, highly granular, real-time reporting could theoretically allow an attacker to infer server load, backend architecture, or specific hardware configurations through timing and emission variations.</t>

<t>Furthermore, generating accurate per-request carbon calculations may require significant CPU cycles. If a server dynamically computes this value, an attacker could intentionally request this header at a high frequency to induce a Denial of Service (DoS) or artificially inflate the server's energy consumption. Servers SHOULD cache these calculations or use aggregate approximations to mitigate this risk.</t>

</section>


  </middle>

  <back>


<references title='References' anchor="sec-combined-references">

    <references title='Normative References' anchor="sec-normative-references">

&RFC2119;
&RFC8174;
&RFC8941;
&RFC9110;


    </references>

    <references title='Informative References' anchor="sec-informative-references">

<reference anchor="GHG-PROTOCOL" >
  <front>
    <title>The Greenhouse Gas Protocol: A Corporate Accounting and Reporting Standard</title>
    <author >
      <organization>World Resources Institute and World Business Council for Sustainable Development</organization>
    </author>
    <date year="2004"/>
  </front>
</reference>
<reference anchor="MARTIN-DRAFT" >
  <front>
    <title>HTTP Response Header Field: Carbon-Emissions-Scope-2</title>
    <author initials="B." surname="Martin">
      <organization></organization>
    </author>
    <date year="2023" month="April"/>
  </front>
  <seriesInfo name="Internet-Draft" value="draft-martin-http-carbon-emissions-scope-2-00"/>
</reference>
<reference anchor="GSF-SCI" >
  <front>
    <title>Software Carbon Intensity (SCI) Specification, v1.0</title>
    <author >
      <organization>Green Software Foundation</organization>
    </author>
    <date year="2022" month="December"/>
  </front>
</reference>
<reference anchor="EU-CSRD" >
  <front>
    <title>Directive (EU) 2022/2464 as regards corporate sustainability reporting (CSRD)</title>
    <author >
      <organization>European Parliament and Council</organization>
    </author>
    <date year="2022" month="December"/>
  </front>
</reference>
<reference anchor="EU-DPP" >
  <front>
    <title>Ecodesign for Sustainable Products Regulation (ESPR), Regulation (EU) 2024/1781</title>
    <author >
      <organization>European Parliament and Council</organization>
    </author>
    <date year="2024"/>
  </front>
</reference>
<reference anchor="IFRS-S2" >
  <front>
    <title>IFRS S2 Climate-related Disclosures</title>
    <author >
      <organization>International Sustainability Standards Board (ISSB)</organization>
    </author>
    <date year="2023" month="June"/>
  </front>
</reference>
<reference anchor="CAMARA-EFN" >
  <front>
    <title>Energy Footprint Notification API, v0.1.0</title>
    <author >
      <organization>CAMARA Project</organization>
    </author>
    <date year="2024"/>
  </front>
</reference>
<reference anchor="KEPLER" >
  <front>
    <title>Kubernetes-based Efficient Power Level Exporter (Kepler)</title>
    <author >
      <organization>Linux Foundation</organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>
<reference anchor="ISO14064-1" >
  <front>
    <title>ISO 14064-1:2018 Greenhouse gases - Part 1: Specification with guidance at the organization level for quantification and reporting of greenhouse gas emissions and removals</title>
    <author >
      <organization>International Organization for Standardization</organization>
    </author>
    <date year="2018" month="December"/>
  </front>
</reference>


    </references>

</references>



  </back>

<!-- ##markdown-source:
H4sIAAAAAAAAA61ZXXPaSBZ951d0eR7GTiFssGcmoSpVizGOXbENA05N7Zsb
qYHe6IPployZlP/7nnu7hSSIs7O1Ow8TIam778e5554rB0HQynUeq744elwp
MStsLnUq5zrW+VbcPD5OxFTZdZZaJW6UjJQR11rF0VFLzudGPWPd/hp+66gV
ZWEqE2wcGbnIg7mysZJLGSyNUmlgG4uCFS8Kzs5aoczVMjPbvtDpImvZYp5o
a3WW5tu1opuRWiv8L81bem36IjfYqXd29uGs15JGyb4Yr5WROVZYIdNI3MtU
LlVCCzaZ+bo0WbHui0/T0eih9VVtcS/qt4QIxG2aK5OqPLgig/lW0zW+NZRm
nqViEIZZkeY6XboXYUaYF0ZFLjy2JYt8lRm3s05tXww64qEjLn0YcF8IF59B
GhmlxYMOs1gqcTma3Y0Gnwb8RmaWMtV/sTt9WFg5T09VInXcJy+xQaeM8D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