Commit b672da9d authored by conrad's avatar conrad

Add "X-Accept-TimeURI: application/ogg" HTTP response header to oggz-chop CGI output.


git-svn-id: http://svn.annodex.net/liboggz/trunk@3677 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent d9a61e81
......@@ -177,6 +177,8 @@ cgi_main (OCState * state)
header_last_modified (last_time);
header_accept_timeuri_ogg ();
/*config_init (params);*/
parse_query (state, query_string);
......
......@@ -8,6 +8,7 @@
#include "httpdate.h"
#define CONTENT_TYPE_OGG "Content-Type: application/ogg\n"
#define ACCEPT_TIMEURI_OGG "X-Accept-TimeURI: application/ogg\n"
int
header_last_modified (time_t mtime)
......@@ -31,6 +32,12 @@ header_content_type_ogg (void)
return printf (CONTENT_TYPE_OGG);
}
int
header_accept_timeuri_ogg (void)
{
return printf (ACCEPT_TIMEURI_OGG);
}
int
header_content_length (off_t len)
{
......
#ifndef __HEADER_H__
#define __HEADER_H__
int header_accept_timeuri_ogg (void);
int header_content_type_ogg (void);
int header_content_length (int len);
int header_last_modified (time_t mtime);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment