gf/net/ghttp
chenghonour 61271e4f7b
Replace the Swagger JS CDN source from jsdelivr to unpkg.com (#1852)
replace the CDN source from jsdelivr to unpkg.com

The jsdelivr cdn certificate expired in the mainland, causing the website to hang. To fix it, the solution is to replace the CDN source to unpkg.com
2022-05-18 20:34:59 +08:00
..
internal/swaggerui change build-in swagger ui to public cdn 2022-03-23 14:48:34 +08:00
testdata fix issue #1611 2022-02-22 21:59:18 +08:00
ghttp_func.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_middleware_cors.go add middleware for CORS with default options 2022-02-22 10:51:22 +08:00
ghttp_middleware_handler_response.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_middleware_tracing.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_auth.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_middleware.go add xextensions feature for package goai 2022-03-29 20:31:00 +08:00
ghttp_request_param_ctx.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_file.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_form.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_page.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_param.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_query.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_request.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param_router.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_request_param.go improve error message for package ghttp 2022-04-12 16:15:54 +08:00
ghttp_request_view.go version 2 2021-10-11 21:41:56 +08:00
ghttp_request.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_response_cors.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_response_view.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_response_write.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_response_writer.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_response.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_admin_process.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_admin_unix.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_admin_windows.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_admin.go Improved import, by group improt. 2021-11-13 23:23:55 +08:00
ghttp_server_config_cookie.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_config_logging.go version 2 2021-10-11 21:41:56 +08:00
ghttp_server_config_mess.go add build-in swagger ui support for ghttp.Server 2021-10-03 00:22:06 +08:00
ghttp_server_config_route.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_config_session.go version 2 2021-10-11 21:41:56 +08:00
ghttp_server_config_static.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_config.go fix issue #1740 2022-04-13 20:42:39 +08:00
ghttp_server_cookie.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_domain.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_error_logger.go Improved import, by group improt. 2021-11-13 23:23:55 +08:00
ghttp_server_graceful.go Merge pull request #1683 from Macrow/master 2022-04-07 20:05:16 +08:00
ghttp_server_handler.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_log.go fix 2022-03-09 21:29:49 +08:00
ghttp_server_openapi.go remove sort feature for openapi 2022-03-24 22:08:06 +08:00
ghttp_server_plugin.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_pprof.go add error stack for internal error printing 2022-01-28 14:51:49 +08:00
ghttp_server_registry.go improve registry for package ghttp 2022-01-29 21:42:48 +08:00
ghttp_server_router_group.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_router_hook.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_router_middleware.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_router_serve.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_router.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_service_handler.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_service_object.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_server_session.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server_status.go replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
ghttp_server_swagger.go Replace the Swagger JS CDN source from jsdelivr to unpkg.com (#1852) 2022-05-18 20:34:59 +08:00
ghttp_server_util.go improve package gcfg for searching priority 2021-01-16 22:31:48 +08:00
ghttp_server_websocket.go improve comment 2022-03-19 17:58:21 +08:00
ghttp_server.go improve package ghttp 2022-05-06 20:25:21 +08:00
ghttp_z_bench_test.go copyright comment update 2021-01-17 21:46:25 +08:00
ghttp_z_example_test.go fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +08:00
ghttp_z_unit_feature_config_test.go improve error message for package ghttp 2022-04-12 16:15:54 +08:00
ghttp_z_unit_feature_context_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_cookie_test.go merge master and update unit test 2022-03-02 15:33:58 +08:00
ghttp_z_unit_feature_custom_listeners_test.go fix: SetListener test data race error 2022-03-30 14:55:03 +08:00
ghttp_z_unit_feature_error_code_test.go fix data race in UT cases for package ghttp 2022-02-22 20:49:09 +08:00
ghttp_z_unit_feature_https_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_feature_ip_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_log_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_middleware_basic_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_feature_middleware_cors_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_openapi_swagger_test.go improve handler response for ghttp.Server 2022-03-08 11:50:23 +08:00
ghttp_z_unit_feature_otel_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_pprof_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_ctx_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_file_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_feature_request_json_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_page_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_struct_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_request_xml_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_basic_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_router_domain_basic_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_router_domain_object_rest_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_router_domain_object_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_exit_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_group_group_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_group_hook_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_group_rest_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_router_group_test.go fix issue #1653 2022-03-10 09:22:50 +08:00
ghttp_z_unit_feature_router_hook_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_names_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_object_rest1_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_router_object_rest2_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_object_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_router_strict_test.go fix issue #1708 2022-04-12 12:09:09 +08:00
ghttp_z_unit_feature_server_util_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_session_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_feature_static_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_feature_status_test.go add x-url-path feature for ghttp.Server 2022-02-22 14:12:09 +08:00
ghttp_z_unit_feature_template_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_feature_websocket_test.go t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
ghttp_z_unit_issue_test.go rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
ghttp_z_unit_test.go fix issue #1653 2022-03-10 09:22:50 +08:00
ghttp.go improve package ghttp 2022-05-06 20:25:21 +08:00