11.1Sriastrad#! /bin/sh
21.1Sriastrad#
31.1Sriastrad#	$NetBSD: custom_headers.sh,v 1.1 2024/10/12 22:19:37 riastradh Exp $
41.1Sriastrad#
51.1Sriastrad# Copyright (c) 2024 The NetBSD Foundation, Inc.
61.1Sriastrad# All rights reserved.
71.1Sriastrad#
81.1Sriastrad# This code is derived from software contributed to The NetBSD Foundation
91.1Sriastrad# by Sunil Nimmagadda.
101.1Sriastrad#
111.1Sriastrad# Redistribution and use in source and binary forms, with or without
121.1Sriastrad# modification, are permitted provided that the following conditions
131.1Sriastrad# are met:
141.1Sriastrad# 1. Redistributions of source code must retain the above copyright
151.1Sriastrad#    notice, this list of conditions and the following disclaimer.
161.1Sriastrad# 2. Redistributions in binary form must reproduce the above copyright
171.1Sriastrad#    notice, this list of conditions and the following disclaimer in the
181.1Sriastrad#    documentation and/or other materials provided with the distribution.
191.1Sriastrad#
201.1Sriastrad# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
211.1Sriastrad# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
221.1Sriastrad# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
231.1Sriastrad# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
241.1Sriastrad# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
251.1Sriastrad# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
261.1Sriastrad# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
271.1Sriastrad# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
281.1Sriastrad# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
291.1Sriastrad# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
301.1Sriastrad# POSSIBILITY OF SUCH DAMAGE.
311.1Sriastrad#
321.1Sriastrad
331.1Sriastradecho "Content-type: text/plain; charset=utf-8"
341.1Sriastradecho ""
351.1Sriastradecho "HTTP_X_ORIGIN=$HTTP_X_ORIGIN"
361.1Sriastradecho "HTTP_X_RATE_LIMIT=$HTTP_X_RATE_LIMIT"
37