deleted QSE_HTTPD_SERVERSTD_EXPECT100 and improved 'Expect:' handling to return '417 Expectation Failed' for unknown expecttion
This commit is contained in:
@ -98,7 +98,8 @@ struct qse_htre_t
|
||||
#define QSE_HTRE_ATTR_CHUNKED (1 << 0)
|
||||
#define QSE_HTRE_ATTR_LENGTH (1 << 1)
|
||||
#define QSE_HTRE_ATTR_KEEPALIVE (1 << 2)
|
||||
#define QSE_HTRE_ATTR_EXPECT100 (1 << 3)
|
||||
#define QSE_HTRE_ATTR_EXPECT (1 << 3)
|
||||
#define QSE_HTRE_ATTR_EXPECT100 (1 << 4)
|
||||
int flags;
|
||||
qse_size_t content_length;
|
||||
const qse_mchar_t* status; /* for cgi */
|
||||
|
@ -99,7 +99,6 @@ struct qse_httpd_serverstd_ssl_t
|
||||
enum qse_httpd_serverstd_query_code_t
|
||||
{
|
||||
QSE_HTTPD_SERVERSTD_SSL, /* qse_httpd_serverstd_ssl_t */
|
||||
QSE_HTTPD_SERVERSTD_EXPECT100, /* int (http error code) */
|
||||
|
||||
QSE_HTTPD_SERVERSTD_NAME, /* const qse_mchar_t* */
|
||||
QSE_HTTPD_SERVERSTD_ROOT, /* qse_httpd_serverstd_root_t */
|
||||
|
Reference in New Issue
Block a user