mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fixup debug logging of http requests with authentication
This commit is contained in:
parent
e835725b86
commit
abd5223579
3 changed files with 35 additions and 2 deletions
|
@ -593,6 +593,10 @@ debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
NSEndMapTableEnumeration(&enumerator);
|
||||
|
||||
[buf appendBytes: "\r\n" length: 2];
|
||||
if (masked)
|
||||
{
|
||||
[masked appendBytes: "\r\n" length: 2];
|
||||
}
|
||||
|
||||
/*
|
||||
* Append any data to be sent
|
||||
|
@ -600,6 +604,10 @@ debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
if (wData != nil)
|
||||
{
|
||||
[buf appendData: wData];
|
||||
if (masked)
|
||||
{
|
||||
[masked appendData: wData];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue