History log of /openbsd/usr.sbin/httpd/http.h (Results 1 – 17 of 17)
Revision Date Author Comments
# f4ea8fe2 24-Mar-2024 job <job@openbsd.org>

Sync with IANA Status Code Registry

From https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

OK sthen@ miod@


# 16a88448 12-Sep-2020 yasuoka <yasuoka@openbsd.org>

Use the original requested URI for REQUEST_URI.

ok millert florian


# a23b6848 08-May-2019 tb <tb@openbsd.org>

Set the REQUEST_URI CGI variable to the requested URI and query string
instead of the rewritten path and query string.

Patch from Tim Baumgard, reminded by Mischa Peters.

ok benno, reyk


# a9aa5d33 01-Aug-2016 benno <benno@openbsd.org>

sync http.h with relayd
ok reyk@


# a3e464c5 11-Jun-2015 reyk <reyk@openbsd.org>

Use "compliant" header guards by avoiding the reserved '_' namespace.

Pointed out by Markus Elfring

OK mikeb@ millert@


# c05a8c45 11-Feb-2015 florian <florian@openbsd.org>

More http status codes.
OK benno@, reyk@


# 05c2c945 13-Jan-2015 reyk <reyk@openbsd.org>

bump copyright year


# d8578b6b 07-Jan-2015 reyk <reyk@openbsd.org>

SVG is common enough to add it to the default types.


# a7b7f585 29-Sep-2014 deraadt <deraadt@openbsd.org>

whitespace spotted while studying the code


# f0c872b4 05-Sep-2014 reyk <reyk@openbsd.org>

Add various RFC-based WebDAV methods to the list of accepted HTTP methods.
This fixes (Fast)CGI-based WebDAV and CalDAV (calendar) servers with httpd.

ok benno@ stsp@


# 06ea06a1 14-Aug-2014 doug <doug@openbsd.org>

Sync with RFC 7230-7235 phrases and IANA registered status codes.

ok reyk@


# de6550b1 08-Aug-2014 reyk <reyk@openbsd.org>

When opening directories, re-match the location after the index file
has been appended. This allows to use a fastcgi target as the default
index, for example index.php.

OK florian@


# 47dc2a9d 03-Aug-2014 reyk <reyk@openbsd.org>

Allocate http_host instead of carrying a buffer in the descriptor.


# 6af43371 25-Jul-2014 reyk <reyk@openbsd.org>

It is recommended to use a URL in the Location header of 3xx
responses. To accomplish this, add some semantics to retrieve the
server host name of a connection: either IP, IP:PORT (if not 80) or
[IP

It is recommended to use a URL in the Location header of 3xx
responses. To accomplish this, add some semantics to retrieve the
server host name of a connection: either IP, IP:PORT (if not 80) or
[IP6]:PORT, or Host value (if valid).

show more ...


# fb419eef 13-Jul-2014 reyk <reyk@openbsd.org>

Sync file to be identical in relayd(8) and httpd(8).


# 9b9ff8ec 13-Jul-2014 reyk <reyk@openbsd.org>

Add support for media types (aka. MIME types): the types section is
compatible to nginx' mime.types file which can be included directly.
If not present, use a few built-in defaults for html, css, txt

Add support for media types (aka. MIME types): the types section is
compatible to nginx' mime.types file which can be included directly.
If not present, use a few built-in defaults for html, css, txt, jpeg,
gif, png, and js.

show more ...


# b7b6a941 12-Jul-2014 reyk <reyk@openbsd.org>

Add httpd(8), an attempt to turn the relayd(8) codebase into a simple
web server. It is not finished yet and I just started it today, but
the goal is to provide an HTTP server that a) provides minim

Add httpd(8), an attempt to turn the relayd(8) codebase into a simple
web server. It is not finished yet and I just started it today, but
the goal is to provide an HTTP server that a) provides minimal
features, b) serves static files, c) provides FastCGI support, and d)
follows common coding practices of OpenBSD.

It will neither support plugins, nor custom memory allocators, EBCDIC
support, PCRE or any other things that can be found elsewhere.
httpd(8) is not intended to provide a fully-featured replacement for
nginx(8) or the Apache, but it will provide enough functionality that
is needed in the OpenBSD base system.

ok deraadt@

show more ...