mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
This commit is contained in:
parent
3c173eece3
commit
27ff7115db
1 changed files with 1 additions and 8 deletions
|
|
@ -36,13 +36,6 @@
|
|||
#include <IOKit/network/IONetworkInterface.h>
|
||||
#include <IOKit/network/IOEthernetController.h>
|
||||
|
||||
#include <netdb.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
BEGIN_JUCE_NAMESPACE
|
||||
|
||||
#include "../../../src/juce_core/text/juce_String.h"
|
||||
|
|
@ -388,7 +381,7 @@ void* juce_openInternetFile (const String& url,
|
|||
{
|
||||
const String key (headerLines[i].upToFirstOccurrenceOf (T(":"), false, false).trim());
|
||||
const String value (headerLines[i].fromFirstOccurrenceOf (T(":"), false, false).trim());
|
||||
|
||||
|
||||
if (key.isNotEmpty() && value.isNotEmpty())
|
||||
[req addValue: juceStringToNS (value) forHTTPHeaderField: juceStringToNS (key)];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue