File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1319
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: POP3
    5: RETR
    6: HTTP
    7: HTTP CONNECT
    8: HTTP proxy
    9: </keywords>
   10: </info>
   11: #
   12: # Server-side
   13: <reply>
   14: 
   15: <connect>
   16: HTTP/1.1 200 Mighty fine indeed
   17: pop3: sure hit me
   18: 
   19: </connect>
   20: 
   21: # When doing LIST, we get the default list output hard-coded in the test
   22: # FTP server
   23: <data>
   24: From: me@somewhere
   25: To: fake@nowhere
   26: 
   27: body
   28: 
   29: --
   30:   yours sincerely
   31: </data>
   32: 
   33: <datacheck>
   34: From: me@somewhere
   35: To: fake@nowhere
   36: 
   37: body
   38: 
   39: --
   40:   yours sincerely
   41: </datacheck>
   42: </reply>
   43: 
   44: #
   45: # Client-side
   46: <client>
   47: <server>
   48: pop3
   49: http-proxy
   50: </server>
   51: <features>
   52: http
   53: proxy
   54: </features>
   55:  <name>
   56: POP3 fetch tunneled through HTTP proxy
   57:  </name>
   58:  <command>
   59: pop3://pop.1319:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret
   60: </command>
   61: </client>
   62: 
   63: #
   64: # Verify data after the test has been "shot"
   65: <verify>
   66: <strip>
   67: ^User-Agent:
   68: </strip>
   69: <protocol>
   70: CAPA
   71: USER user
   72: PASS secret
   73: RETR 1319
   74: QUIT
   75: </protocol>
   76: <proxy>
   77: CONNECT pop.1319:%POP3PORT HTTP/1.1
   78: Host: pop.1319:%POP3PORT
   79: User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e
   80: Proxy-Connection: Keep-Alive
   81: 
   82: </proxy>
   83: </verify>
   84: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>