swisspol / GCDWebServer

The #1 HTTP server for iOS, macOS & tvOS (also includes web based uploader & WebDAV server)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to change the header buffer Range

ymoyao opened this issue · comments

hello,now, the header like this, how to change Range to "bytes=0-32768"?
{
Accept = "/";
"Accept-Encoding" = identity;
"Accept-Language" = "zh-cn";
Connection = "keep-alive";
Host = "x.x.x.x:xxx";
Range = "bytes=0-65535";
"User-Agent" = "xxxxx";
"X-Playback-Session-Id" = "xxxx";
}

ps: sometimes the Range is empty