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
|
|
|
|
|
|
|
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_check_http2_headers(void);
|
|
|
|
void test_http2_get_unique_header(void);
|
|
|
|
void test_http2_get_header(void);
|
|
|
|
void test_http2_value_lws(void);
|
2013-11-28 13:36:04 +01:00
|
|
|
void test_http2_copy_norm_headers_to_nva(void);
|
2013-08-27 19:47:22 +02:00
|
|
|
void test_http2_build_http1_headers_from_norm_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);
|
2013-08-27 17:09:46 +02:00
|
|
|
|
|
|
|
} // namespace shrpx
|
|
|
|
|
2013-08-27 19:47:22 +02:00
|
|
|
#endif // SHRPX_HTTP2_TEST_H
|