hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Moore (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-427) Implement a cache to perform real request only when needed
Date Tue, 13 Apr 2010 13:20:53 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856419#action_12856419

Jonathan Moore commented on HTTPCLIENT-427:

Just wanted to touch base here on progress, to keep the thread alive. We've got basic functionality
working, and are working our way through the RFC to create unit tests around all the MUST/MUST
NOT protocol requirements. In the meantime, here's a couple more behavior questions:

Options and Max-Forwards: in theory, if a proxy receives an OPTIONS request with a Max-Fowards:
0, it is not supposed to forward the request and instead should consider the OPTIONS request
to be directed to it directly. Should the CachingHttpClient consider itself a proxy in this
sense (i.e. count itself as a hop in the request/response chain)? Again, this is the "am I
just part of the client or am I a proxy" question.

Via header: probably related in spirit. Should the CachingHttpClient add Via headers as a
proxy? i.e.

Via: 1.0 localhost (CachingHttpClient/4.0.1)

> Implement a cache to perform real request only when needed
> ----------------------------------------------------------
>                 Key: HTTPCLIENT-427
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-427
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: Marc Guillemot
>            Priority: Minor
>             Fix For: Future
> Browsers may cache received content according to the values of different
> response headers. It would be great if HttpClient could do the same.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message