Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http header #44

Open
SuperGod opened this issue Apr 12, 2016 · 0 comments
Open

http header #44

SuperGod opened this issue Apr 12, 2016 · 0 comments

Comments

@SuperGod
Copy link

"Range:bytes=0-10" argument parse error:

D:\>bat http://www.baidu.com Range:bytes=0-10
POST / HTTP/1.1
Host: www.baidu.com
Accept: application/json
Accept-Encoding: gzip, deflate
Content-Type: application/json
User-Agent: bat/0.1.0


{"Range:bytes":"0-10"}


HTTP/1.1 200 OK
Set-Cookie : BAIDUID=193BF8F2DA8E3A36695F0FB3BEB7A14A:FG=1; expires=Wed, 12-Apr-
17 05:27:39 GMT; max-age=31536000; path=/; domain=.baidu.com; version=1
P3p : CP=" OTI DSP COR IVA OUR IND COM "
Last-Modified : Mon, 29 Feb 2016 11:11:44 GMT
Connection : Keep-Alive
Content-Type : text/html
Etag : "2bd1-52ce6b6c4bc00"
Accept-Ranges : bytes
Cache-Control : max-age=86400
Vary : Accept-Encoding,User-Agent
Date : Tue, 12 Apr 2016 05:27:39 GMT
Server : Apache
Expires : Wed, 13 Apr 2016 05:27:39 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant