mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
request a page from HTTPS but get no headers
This commit is contained in:
parent
010cde0a4a
commit
e9b7548dd6
51
tests/data/test306
Normal file
51
tests/data/test306
Normal file
@ -0,0 +1,51 @@
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
No headers at all, just data
|
||||
|
||||
Let's get
|
||||
|
||||
a little
|
||||
|
||||
so that
|
||||
|
||||
we
|
||||
|
||||
have
|
||||
|
||||
some
|
||||
|
||||
test
|
||||
|
||||
data to
|
||||
|
||||
verify
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<name>
|
||||
HTTPS GET, receive no headers only data!
|
||||
</name>
|
||||
<command>
|
||||
-k https://%HOSTIP:%HTTPSPORT/306
|
||||
</command>
|
||||
</test>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /306 HTTP/1.1
|
||||
Host: 127.0.0.1:8433
|
||||
Pragma: no-cache
|
||||
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
||||
|
||||
</protocol>
|
||||
</verify>
|
Loading…
Reference in New Issue
Block a user