curl-curl/tests/data/test776
Daniel Stenberg afe9fdd1eb
tests: convert base64 data to %b64[]
To make it easier to read, understand and edit tests - and grep them.

Closes #20547
2026-02-09 08:42:49 +01:00

54 lines
968 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP NTLM auth
NTLM
flaky
</keywords>
</info>
<reply>
<data1001 crlf="headers" nocheck="yes">
HTTP/1.1 401 Authorization Required swsclose
WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAAAAAAAAAAABAIgAAQIDBAUGBwgAAAAAAAAAAP////8wAAAAAgD3/0F%repeat[21841 x BQUF]%BQUEAAAAA
Content-Length: 0
</data1001>
</reply>
# Client-side
<client>
<features>
NTLM
!SSPI
</features>
<server>
http
</server>
<name>
HTTP with NTLM with too long NTMLv2 ntresplen
</name>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u user:pass --ntlm
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Authorization: NTLM %b64[NTLMSSP%00%01%00%00%00%06%82%08%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00]b64%
User-Agent: curl/%VERSION
Accept: */*
</protocol>
<errorcode>
100
</errorcode>
</verify>
</testcase>