2013-08-27 17:09:46 +02:00
|
|
|
/*
|
2014-03-30 12:09:21 +02:00
|
|
|
* nghttp2 - HTTP/2 C Library
|
2013-08-27 17:09:46 +02:00
|
|
|
*
|
|
|
|
* Copyright (c) 2013 Tatsuhiro Tsujikawa
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
|
|
* a copy of this software and associated documentation files (the
|
|
|
|
* "Software"), to deal in the Software without restriction, including
|
|
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|
|
|
* the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
2013-08-27 19:47:22 +02:00
|
|
|
#ifndef SHRPX_HTTP2_TEST_H
|
|
|
|
#define SHRPX_HTTP2_TEST_H
|
2013-08-27 17:09:46 +02:00
|
|
|
|
2015-05-13 15:30:35 +02:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include <config.h>
|
|
|
|
#endif // HAVE_CONFIG_H
|
|
|
|
|
2013-08-27 17:09:46 +02:00
|
|
|
namespace shrpx {
|
|
|
|
|
2014-07-12 11:55:08 +02:00
|
|
|
void test_http2_add_header(void);
|
2013-08-27 19:47:22 +02:00
|
|
|
void test_http2_get_header(void);
|
2015-01-04 15:22:39 +01:00
|
|
|
void test_http2_copy_headers_to_nva(void);
|
|
|
|
void test_http2_build_http1_headers_from_headers(void);
|
2014-01-16 18:16:53 +01:00
|
|
|
void test_http2_lws(void);
|
2013-12-21 09:49:31 +01:00
|
|
|
void test_http2_rewrite_location_uri(void);
|
2014-08-08 16:03:12 +02:00
|
|
|
void test_http2_parse_http_status_code(void);
|
2015-01-03 14:03:00 +01:00
|
|
|
void test_http2_index_header(void);
|
2015-01-04 15:22:39 +01:00
|
|
|
void test_http2_lookup_token(void);
|
2015-02-07 08:09:49 +01:00
|
|
|
void test_http2_parse_link_header(void);
|
|
|
|
void test_http2_path_join(void);
|
2015-07-09 19:52:11 +02:00
|
|
|
void test_http2_normalize_path(void);
|
2015-07-11 09:12:35 +02:00
|
|
|
void test_http2_rewrite_clean_path(void);
|
2015-09-05 15:47:07 +02:00
|
|
|
void test_http2_get_pure_path_component(void);
|
|
|
|
void test_http2_construct_push_component(void);
|
2016-11-07 14:47:48 +01:00
|
|
|
void test_http2_contains_trailers(void);
|
2013-08-27 17:09:46 +02:00
|
|
|
|
|
|
|
} // namespace shrpx
|
|
|
|
|
2013-08-27 19:47:22 +02:00
|
|
|
#endif // SHRPX_HTTP2_TEST_H
|