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

gateway: Handle If-Modified-Since a part of fix for #848 #865

Merged
merged 2 commits into from
Oct 16, 2017

Conversation

mocchira
Copy link
Member

@mocchira mocchira commented Oct 6, 2017

leofs@cat2neat:leofs.1.3.5$ curl -v -H 'If-Modified-Since: Fri, 06 Oct 2017 07:36:53 GMT' http://localhost:8080/leofs-adm/CHANGELOG.md -o CHANGELOG.md.dl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying ::1...
* connect to ::1 port 8080 failed: Connection refused
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /leofs-adm/CHANGELOG.md HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.47.0
> Accept: */*
> If-Modified-Since: Fri, 06 Oct 2017 07:36:53 GMT
>
< HTTP/1.1 304 Not Modified
< Connection: keep-alive
< Date: Fri, 06 Oct 2017 07:52:46 GMT
< Content-Length: 0
< Server: LeoFS
<
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host localhost left intact

@yosukehara yosukehara merged commit 594b5af into leo-project:develop Oct 16, 2017
@yosukehara
Copy link
Member

@mocchira Thanks

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

Successfully merging this pull request may close these issues.

2 participants