test509
来自「THIS IS HTTP CURL Example」· 代码 · 共 58 行
TXT
58 行
<testcase>## Server-side<reply><data>HTTP/1.1 200 OKDate: Thu, 09 Nov 2010 14:49:00 GMTContent-length:6Hello</data><datacheck>Hello</datacheck></reply>## Client-side<client><server>https</server><features>SSLOpenSSL</features><tool>lib509</tool> <name>simple HTTPS GET and URL redirect in certificate </name> <command>https://%HOSTIP:%HTTPSPORT/dvcs %HTTPSPORT</command></client>## Verify data after the test has been "shot"<verify><strip>^User-Agent:.*</strip><protocol>GET /509 HTTP/1.1
Host: %HOSTIP:%HTTPSPORT
Accept: */*
</protocol># valgrind detects numerous problems in OpenSSL for this test case, disable# the valgrind logfile scan<valgrind>disable</valgrind></verify></testcase>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?