mirror of https://github.com/adamdruppe/arsd.git
my code bad don't use it
This commit is contained in:
parent
047f937bb9
commit
7660d2429a
3
http2.d
3
http2.d
|
@ -4014,7 +4014,6 @@ private bool bicmp(in ubyte[] item, in char[] search) {
|
|||
class WebSocket {
|
||||
private Uri uri;
|
||||
private string[string] cookies;
|
||||
private string origin;
|
||||
|
||||
private string host;
|
||||
private ushort port;
|
||||
|
@ -4101,7 +4100,7 @@ class WebSocket {
|
|||
if(config.protocol.length)
|
||||
append("Sec-WebSocket-Protocol: ", config.protocol, "\r\n");
|
||||
if(config.origin.length)
|
||||
append("Origin: ", origin, "\r\n");
|
||||
append("Origin: ", config.origin, "\r\n");
|
||||
|
||||
foreach(h; config.additionalHeaders) {
|
||||
append(h);
|
||||
|
|
Loading…
Reference in New Issue