Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
d7fe136d
Commit
d7fe136d
authored
20 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
test 177 HTTP POST with --digest that gets a 302 response
parent
cd7a0f82
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/data/Makefile.am
+1
-1
1 addition, 1 deletion
tests/data/Makefile.am
tests/data/test177
+39
-0
39 additions, 0 deletions
tests/data/test177
with
40 additions
and
1 deletion
tests/data/Makefile.am
+
1
−
1
View file @
d7fe136d
...
...
@@ -24,7 +24,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test150 test151 test152 test153 test154 test155 test156 test157
\
test158 test159 test511 test160 test161 test162 test163 test164
\
test512 test165 test166 test167 test168 test169 test170 test171
\
test172 test204 test205 test173 test174 test175 test176
test172 test204 test205 test173 test174 test175 test176
test177
# The following tests have been removed from the dist since they no longer
# work. We need to fix the test suite's FTPS server first, then bring them
...
...
This diff is collapsed.
Click to expand it.
tests/data/test177
0 → 100644
+
39
−
0
View file @
d7fe136d
# Server-side
<reply>
<data>
HTTP/1.1 302 *MOVED* swsclose swsbounce
Server: Microsoft-IIS/6.0
Location: /mooooo/177
Content-Type: text/html; charset=iso-8859-1
</data>
</reply>
# Client-side
<client>
#
<server>
http
</server>
<name>
HTTP POST --digest to server doing a 302-location response
</name>
<command>
http://%HOSTIP:%HOSTPORT/177 -u auser:apasswd --digest -d "junkelijunk"
</command>
</test>
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
HEAD /177 HTTP/1.1
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: */*
</protocol>
</verify>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment