diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-24 12:38:53 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-10-24 12:38:53 +0000 |
| commit | 305385e06f90ca3216e1aa4e43b20dd7d53c1222 (patch) | |
| tree | 899d3460b511567889d5e5d78f77931af572b5fb /src/tipideed/options.c | |
| parent | 37d2f8cb438f68eaa1da8a56ea9ce5023091f128 (diff) | |
| download | tipidee-305385e06f90ca3216e1aa4e43b20dd7d53c1222.tar.gz | |
Make the switch to custom headers
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/options.c')
| -rw-r--r-- | src/tipideed/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/options.c b/src/tipideed/options.c index a023401..ce25a81 100644 --- a/src/tipideed/options.c +++ b/src/tipideed/options.c @@ -15,7 +15,7 @@ int respond_options (tipidee_rql const *rql, uint32_t flags) { tain deadline ; tipidee_response_status(buffer_1, rql, 200, "OK") ; - tipidee_response_header_common_put_g(buffer_1, 0) ; + tipidee_response_header_writeall_g(buffer_1, g.rhdr, g.rhdrn, 0) ; buffer_putsnoflush(buffer_1, "Content-Length: 0\r\nAllow: GET, HEAD") ; if (flags & 1) buffer_putsnoflush(buffer_1, ", POST") ; buffer_putnoflush(buffer_1, "\r\n\r\n", 4) ; |
